SPARKFUN MPU6050 AND ARDUINO UNO - zeros!!!!
hi! I connect my arduino to the mpu 6050 in this way: VDD and VIO of MPU6050 to 3.3V from the Arduino board. SDA ( Serial Data ) pin from MPU6050 board to Analog pin 4. SCL ( Serial Clock ) to Analog pin 5. Ground - ground . i try to use this libarary: https://github.com/jrowberg/i2cdevlib and i get zeros!!! what's wrong!?!?!? thank you, reut.
Hello,
You need to connect the interrupt pin (INT) on MPU6050 to Arduino's pin #2 as well. But I imagine that it should not have shown zeros without INT; should've said "Waiting for first interrupt...".
- Aditya
On Mon, Feb 24, 2014 at 5:14 AM, reut10 [email protected] wrote:
hi! I connect my arduino to the mpu 6050 in this way: VDD and VIO of MPU6050 to 3.3V from the Arduino board. SDA ( Serial Data ) pin from MPU6050 board to Analog pin 4. SCL ( Serial Clock ) to Analog pin 5. Ground - ground . i try to use this libarary: https://github.com/jrowberg/i2cdevlib and i get zeros!!! what's wrong!?!?!? thank you, reut.
Reply to this email directly or view it on GitHubhttps://github.com/jrowberg/i2cdevlib/issues/61 .
I use the example of mpu6050 raw, I still need to use int? thank you again!!!
I'm not sure if this will help you but I had a similar problem and setting the PWR_MGMT registers to 0 solved mine ;) I'm going to dig a bit more and tell you if I find a clean way to do it...
@reut10 If ever you haven't solved your problem, try adding a delay just before starting initializing the IMU (to find the right time, dichotomy is your friend). I hope you didn't get a Heisenbug... May the force be with you!
Hi, check this example maybe this will help you. https://www.youtube.com/watch?v=D5HY_tjW1lc