i2cdevlib icon indicating copy to clipboard operation
i2cdevlib copied to clipboard

MPU6050_DMP Connecting Failed

Open JoshGreene1 opened this issue 6 years ago • 2 comments

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

JoshGreene1 avatar Oct 08 '19 12:10 JoshGreene1

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

jc508 avatar Oct 19 '19 07:10 jc508

i don't understand please clarify briefly

Pradhansuman3112 avatar Nov 25 '20 11:11 Pradhansuman3112