jrowberg / i2cdevlib

I2C device library collection for AVR/Arduino or other C++-based MCUs
http://www.i2cdevlib.com
3.94k stars 7.51k forks source link

MPU6050_DMP Connecting Failed #478

Open JoshGreene1 opened 5 years ago

JoshGreene1 commented 5 years ago

Hi there, I am relatively new to Arduino and etc I have currently set up my Arduino Uno and MPU 6050 Accelerometer & Gyroscope. I am attempting to run the MPU6050_DMP Program so I can run the processing Teapot simulation as I plan to use this for further projects. I have run two other codes that have given me Accelerometer data & Gyroscope data in all 3 of their Axis. Also the temperature. I went to the Serial Monitor after uploading the program and it gave me this

*Initializing I2C devices... Testing device connections... MPU6050 connection failed

Send any character to begin DMP programming and demo:

I have tried resoldering the SDA and SCL ports on the chip. Also, looked around for any possible solution but have found none to my avail. Issue attached. Also when I have verified the file it has given me lines of orange text and I have attached another image for that although I think it is unrelated.

Any help will be grateful thanks

Issue

verify issue

jc508 commented 5 years ago

looks like 'Connection Failed' simply queries the device_id (from the WHO AM I Register 0x75. My chip answers with 0x72 not the expected 0x34. Just ignore the 'issue' (or comment it out) and it should work

Pradhansuman3112 commented 3 years ago

i don't understand please clarify briefly