ESPHome  2024.10.2
Data Structures | Variables
esphome::mpu6886 Namespace Reference

Data Structures

class  MPU6886Component
 

Variables

const uint8_t MPU6886_REGISTER_WHO_AM_I = 0x75
 
const uint8_t MPU6886_REGISTER_POWER_MANAGEMENT_1 = 0x6B
 
const uint8_t MPU6886_REGISTER_GYRO_CONFIG = 0x1B
 
const uint8_t MPU6886_REGISTER_ACCEL_CONFIG = 0x1C
 
const uint8_t MPU6886_REGISTER_ACCEL_XOUT_H = 0x3B
 
const uint8_t MPU6886_CLOCK_SOURCE_X_GYRO = 0b001
 
const uint8_t MPU6886_SCALE_2000_DPS = 0b11
 
const uint8_t MPU6886_WHO_AM_I_IDENTIFIER = 0x19
 
const float MPU6886_SCALE_DPS_PER_DIGIT_2000 = 0.060975f
 
const uint8_t MPU6886_RANGE_2G = 0b00
 
const float MPU6886_RANGE_PER_DIGIT_2G = 0.000061f
 
const uint8_t MPU6886_BIT_SLEEP_ENABLED = 6
 
const uint8_t MPU6886_BIT_TEMPERATURE_DISABLED = 3
 
const float GRAVITY_EARTH = 9.80665f
 
const float TEMPERATURE_SENSITIVITY = 326.8
 
const float TEMPERATURE_OFFSET = 25.0
 

Variable Documentation

◆ GRAVITY_EARTH

const float esphome::mpu6886::GRAVITY_EARTH = 9.80665f

Definition at line 22 of file mpu6886.cpp.

◆ MPU6886_BIT_SLEEP_ENABLED

const uint8_t esphome::mpu6886::MPU6886_BIT_SLEEP_ENABLED = 6

Definition at line 20 of file mpu6886.cpp.

◆ MPU6886_BIT_TEMPERATURE_DISABLED

const uint8_t esphome::mpu6886::MPU6886_BIT_TEMPERATURE_DISABLED = 3

Definition at line 21 of file mpu6886.cpp.

◆ MPU6886_CLOCK_SOURCE_X_GYRO

const uint8_t esphome::mpu6886::MPU6886_CLOCK_SOURCE_X_GYRO = 0b001

Definition at line 14 of file mpu6886.cpp.

◆ MPU6886_RANGE_2G

const uint8_t esphome::mpu6886::MPU6886_RANGE_2G = 0b00

Definition at line 18 of file mpu6886.cpp.

◆ MPU6886_RANGE_PER_DIGIT_2G

const float esphome::mpu6886::MPU6886_RANGE_PER_DIGIT_2G = 0.000061f

Definition at line 19 of file mpu6886.cpp.

◆ MPU6886_REGISTER_ACCEL_CONFIG

const uint8_t esphome::mpu6886::MPU6886_REGISTER_ACCEL_CONFIG = 0x1C

Definition at line 12 of file mpu6886.cpp.

◆ MPU6886_REGISTER_ACCEL_XOUT_H

const uint8_t esphome::mpu6886::MPU6886_REGISTER_ACCEL_XOUT_H = 0x3B

Definition at line 13 of file mpu6886.cpp.

◆ MPU6886_REGISTER_GYRO_CONFIG

const uint8_t esphome::mpu6886::MPU6886_REGISTER_GYRO_CONFIG = 0x1B

Definition at line 11 of file mpu6886.cpp.

◆ MPU6886_REGISTER_POWER_MANAGEMENT_1

const uint8_t esphome::mpu6886::MPU6886_REGISTER_POWER_MANAGEMENT_1 = 0x6B

Definition at line 10 of file mpu6886.cpp.

◆ MPU6886_REGISTER_WHO_AM_I

const uint8_t esphome::mpu6886::MPU6886_REGISTER_WHO_AM_I = 0x75

Definition at line 9 of file mpu6886.cpp.

◆ MPU6886_SCALE_2000_DPS

const uint8_t esphome::mpu6886::MPU6886_SCALE_2000_DPS = 0b11

Definition at line 15 of file mpu6886.cpp.

◆ MPU6886_SCALE_DPS_PER_DIGIT_2000

const float esphome::mpu6886::MPU6886_SCALE_DPS_PER_DIGIT_2000 = 0.060975f

Definition at line 17 of file mpu6886.cpp.

◆ MPU6886_WHO_AM_I_IDENTIFIER

const uint8_t esphome::mpu6886::MPU6886_WHO_AM_I_IDENTIFIER = 0x19

Definition at line 16 of file mpu6886.cpp.

◆ TEMPERATURE_OFFSET

const float esphome::mpu6886::TEMPERATURE_OFFSET = 25.0

Definition at line 26 of file mpu6886.cpp.

◆ TEMPERATURE_SENSITIVITY

const float esphome::mpu6886::TEMPERATURE_SENSITIVITY = 326.8

Definition at line 25 of file mpu6886.cpp.