-
-
Save alva-seal/b5c3a225d6b7b79d7d609a31bc45ce17 to your computer and use it in GitHub Desktop.
esphome_mpu_6050.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: mpu6050 | |
| platform: ESP32 | |
| board: nodemcu-32s | |
| debug: | |
| # Enable logging | |
| logger: | |
| level: VERY_VERBOSE | |
| # Enable Home Assistant API | |
| i2c: | |
| sda: 21 | |
| scl: 22 | |
| frequency: 100kHz | |
| scan: False | |
| sensor: | |
| - platform: mpu6050 | |
| address: 0x68 | |
| accel_x: | |
| name: 'MPU6050 Accel X' | |
| accel_y: | |
| name: 'MPU6050 Accel Y' | |
| accel_z: | |
| name: 'MPU6050 Accel z' | |
| gyro_x: | |
| name: 'MPU6050 Gyro X' | |
| gyro_y: | |
| name: 'MPU6050 Gyro Y' | |
| gyro_z: | |
| name: 'MPU6050 Gyro z' | |
| temperature: | |
| name: 'MPU6050 Temperature' | |
| update_interval: 2s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment