ESPHome  1.15.2
Data Structures | Variables
esphome::mpu6050 Namespace Reference

Data Structures

class  MPU6050Component
 

Variables

const uint8_t MPU6050_REGISTER_WHO_AM_I = 0x75
 
const uint8_t MPU6050_REGISTER_POWER_MANAGEMENT_1 = 0x6B
 
const uint8_t MPU6050_REGISTER_GYRO_CONFIG = 0x1B
 
const uint8_t MPU6050_REGISTER_ACCEL_CONFIG = 0x1C
 
const uint8_t MPU6050_REGISTER_ACCEL_XOUT_H = 0x3B
 
const uint8_t MPU6050_CLOCK_SOURCE_X_GYRO = 0b001
 
const uint8_t MPU6050_SCALE_2000_DPS = 0b11
 
const float MPU6050_SCALE_DPS_PER_DIGIT_2000 = 0.060975f
 
const uint8_t MPU6050_RANGE_2G = 0b00
 
const float MPU6050_RANGE_PER_DIGIT_2G = 0.000061f
 
const uint8_t MPU6050_BIT_SLEEP_ENABLED = 6
 
const uint8_t MPU6050_BIT_TEMPERATURE_DISABLED = 3
 
const float GRAVITY_EARTH = 9.80665f
 

Variable Documentation

◆ GRAVITY_EARTH

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

Definition at line 21 of file mpu6050.cpp.

◆ MPU6050_BIT_SLEEP_ENABLED

const uint8_t esphome::mpu6050::MPU6050_BIT_SLEEP_ENABLED = 6

Definition at line 19 of file mpu6050.cpp.

◆ MPU6050_BIT_TEMPERATURE_DISABLED

const uint8_t esphome::mpu6050::MPU6050_BIT_TEMPERATURE_DISABLED = 3

Definition at line 20 of file mpu6050.cpp.

◆ MPU6050_CLOCK_SOURCE_X_GYRO

const uint8_t esphome::mpu6050::MPU6050_CLOCK_SOURCE_X_GYRO = 0b001

Definition at line 14 of file mpu6050.cpp.

◆ MPU6050_RANGE_2G

const uint8_t esphome::mpu6050::MPU6050_RANGE_2G = 0b00

Definition at line 17 of file mpu6050.cpp.

◆ MPU6050_RANGE_PER_DIGIT_2G

const float esphome::mpu6050::MPU6050_RANGE_PER_DIGIT_2G = 0.000061f

Definition at line 18 of file mpu6050.cpp.

◆ MPU6050_REGISTER_ACCEL_CONFIG

const uint8_t esphome::mpu6050::MPU6050_REGISTER_ACCEL_CONFIG = 0x1C

Definition at line 12 of file mpu6050.cpp.

◆ MPU6050_REGISTER_ACCEL_XOUT_H

const uint8_t esphome::mpu6050::MPU6050_REGISTER_ACCEL_XOUT_H = 0x3B

Definition at line 13 of file mpu6050.cpp.

◆ MPU6050_REGISTER_GYRO_CONFIG

const uint8_t esphome::mpu6050::MPU6050_REGISTER_GYRO_CONFIG = 0x1B

Definition at line 11 of file mpu6050.cpp.

◆ MPU6050_REGISTER_POWER_MANAGEMENT_1

const uint8_t esphome::mpu6050::MPU6050_REGISTER_POWER_MANAGEMENT_1 = 0x6B

Definition at line 10 of file mpu6050.cpp.

◆ MPU6050_REGISTER_WHO_AM_I

const uint8_t esphome::mpu6050::MPU6050_REGISTER_WHO_AM_I = 0x75

Definition at line 9 of file mpu6050.cpp.

◆ MPU6050_SCALE_2000_DPS

const uint8_t esphome::mpu6050::MPU6050_SCALE_2000_DPS = 0b11

Definition at line 15 of file mpu6050.cpp.

◆ MPU6050_SCALE_DPS_PER_DIGIT_2000

const float esphome::mpu6050::MPU6050_SCALE_DPS_PER_DIGIT_2000 = 0.060975f

Definition at line 16 of file mpu6050.cpp.