Jump to content
I2Cdevlib Forums

Mpu6050 Arduino DUE connection problems


Recommended Posts

Hi guys,

I come here, to ask you all nice people one tricky question.But for the beginning  I will describe you my project which I am working on.

My project is quadcopter, but not normal one, on board should be raspberry pi and arduino due with mpu6050. Basically everything works very well but not always. Here comes the problem. Sometimes Arduino DUE cant connect to mpu6050 over I2C. Sometimes it can and after restart of arduino DUE it again cant connect. Afterwards I have to power off arduino DUE and than power it again on. Than it works. So it looks to me some problem with registers or probably as I read, it can be with pull-ups on I2C. I was trying to repair it for a month but I could not, after lot of time I am trying to contact some person or group of people who could help me. I would be happy for all kinds of help. 

Here  I am posting also my code on github and some pics of quadcopter.
https://github.com/JurajKabzan/Quadcopter

Little description of my project. On pc runs ground control written in C# which generates control strings and than sends them over network connection through sockets to raspberry pi, it executes them and then when necessary sends directly over serial to arduino DUE.
Arduino DUE takes care for PIDs and sensors staff. 

 

When I use example dmp from i2cdevlib it happens the same.One I can next time I can not connect. 

Please I will be happy for all kind of help!

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...