安信可 mpu6050示例


Ai-WB2 Series SoC Module Reads MPU6050 Sensor via I²C Bus Example

Hardware Setup and Wiring

Ai-WB2 Series SoC Module Pinout

MPU6050 Pinout

IO4

SCL

IO5

SDA

3V3

VCC

GND

GND

Build and Flash

make -j

make flash

Run

../../../../_images/demo3.jpg

Logic Analyzer Output

../../../../_images/logic_analyzer3.jpg

Troubleshooting

For any technical queries, please open an [issue](https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2/issues) on GitHub. We will get back to you soon.