8 years, 9 months ago.

How to make mpu6050 working?

I just got a nucleo board, and stuck at the beginning. I connected the accelerometer to SDA, SCL pins on the board (PB_9,PB_8), and changed these in the mbed codes, but didn't work any of them. Changed the address too, to 0x68x2. The sensor works, that's sure.

Tried these: https://developer.mbed.org/users/onehorse/code/MPU6050IMU/ https://developer.mbed.org/users/garfieldsg/code/mpu6050_test/

but it didn't even pass the connection test. I don't have pull up resistors, I heard, that it should work without them. What can be the problem?

Be the first to answer this question.