6 years, 11 months ago.

mpu6050 test connection failed

i am using mbed LPC1768 with mpu6050 from sparkfun but it is giving me test connection failed. i have done continuity test with both and they are continuous.this is how i connected my pins; mbed mpu6050 Vout Vdd GND GND P9 SDA P10 SCL then Vdd is connected to Vio on the mpu, AD0 is permanently connected to GND. My code is working correctly. i ran a code to light the LED on mbed and it worked perfectly so i'm sure it's not mbed. can anyone suggest what could have gone wrong?

www

posted by wang yali 27 Jun 2014

2 Answers

6 years, 11 months ago.

Are you using the address correctly? It should be 0x68 when AD0 pin is low.

Accepted Answer

yes i used it correctly.

posted by Oyenike Adigun 18 Jun 2014
6 years, 11 months ago.

Do you have 2.2k - 4.7k pullup resistors to 3.3V on the SDA and SCL lines?

...kevin

Yes, i used 2.2k. though i was using 10k initially.

posted by Oyenike Adigun 18 Jun 2014