Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
Don't Work
Use the 'LPC1768' boards and gy-521(mpu-6050). Set up Using the GY-521 breakout board, I set ADO to 0 by grounding through a 4k7 resistor
and
Change
/* For LPC1768 board */ I2C i2c(p9,p10); setup i2c (SDA,SCL)
/* For NUCLEO-F411RE board */ static I2C i2c(D14,D15); setup i2c (SDA,SCL)
But don't work. (I AM 0x54 Could not connect to MPU6050 Check the connections... Calibration is completed. MPU6050 is initialized for operation..
_____________
Accelerometer(g) | ax=0.000 | ay=0.000 | az=0.000 |
Gyroscope(deg/s) | gx=0.000 | gy=0.000 | gz=0.000 |
_____________ |
)
Why take the 0x54 "WHOAMI" function? and why is the value of Acceleromater and Gyroscope zero?