Example project · Sensors
ESP32-S31 MPU-6050 identity
The stock I2C program powers an MPU-6050 from 3V3 and reads its identity at 0x68 on GPIO4 SCL/GPIO5 SDA using internal pull-ups. Serial prints WHO_AM_I = 68, then resets the sensor and returns. Enable verbose in Serial to see the stock INFO lines. Unmodified pinned ESP-IDF development source on the bounded S31 simulator profile; no physical flashing.

What's on the bench
- Battery
- ESP32-S31 (development source)
- MPU-6050
How it's wired
- Battery · pos→ESP32-S31 (development source) · vin
- Battery · neg→ESP32-S31 (development source) · gnd
- ESP32-S31 (development source) · 3v3→MPU-6050 · vcc
- ESP32-S31 (development source) · gnd→MPU-6050 · gnd
- ESP32-S31 (development source) · g4→MPU-6050 · scl
- ESP32-S31 (development source) · g5→MPU-6050 · sda
This project runs prebuilt firmware on the emulated board; open it in the simulator to watch it work and inspect every part live.



