jaruj9 Posted October 11, 2014 Report Share Posted October 11, 2014 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/J...bzan/QuadcopterLittle 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! Quote Link to comment Share on other sites More sharing options...
inaki_22 Posted April 19, 2016 Report Share Posted April 19, 2016 I have same exacly same problem. For the first time the arduino due connects sucesfully but when I restart it, it doesn't work so I have to powered off and on. Any solution? Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.