OpenMarine
I2c and Imu stopped working. - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: I2c and Imu stopped working. (/showthread.php?tid=2682)

Pages: 1 2


RE: I2c and Imu stopped working. - Ranur - 2020-07-06

(2020-07-04, 04:04 PM)AlanH Wrote:
(2020-07-04, 01:57 PM)seandepagnier Wrote: It would be best to try a new pi and a new imu to see where the problem is.   How long did it work before stopping?  What does it do now?

Can you take the pypilot board off and spray it with something to improve the contact to see if it's a contact problem?
I tried pulling it off and reseating, no difference. Unfortunately we're in the middle of a trip so I have limited ability to start pulling things apart. I will say the problem starts right away, even running with the case open. Not heat related any more - something is fried. I'll order a new pi when I get home.

Any chance of an exchange on the imu I bought from you? I don't look forward to desoldering it from the daughter board.

In my case it was the Pi and the I2C. All I"C devices failed. Then I exchanged the PI and the new one lasted for a week. Troubleshooting heat issues right now.


RE: I2c and Imu stopped working. - seandepagnier - 2020-07-08

(2020-07-04, 04:04 PM)AlanH Wrote:
(2020-07-04, 01:57 PM)seandepagnier Wrote: It would be best to try a new pi and a new imu to see where the problem is.   How long did it work before stopping?  What does it do now?

Can you take the pypilot board off and spray it with something to improve the contact to see if it's a contact problem?
I tried pulling it off and reseating, no difference. Unfortunately we're in the middle of a trip so I have limited ability to start pulling things apart. I will say the problem starts right away, even running with the case open. Not heat related any more - something is fried. I'll order a new pi when I get home.

Any chance of an exchange on the imu I bought from you? I don't look forward to desoldering it from the daughter board.

It's no problem to exchange, just contact me by email.

I would like to know the cause of the actual problem, and if the gyros actually failed, the i2c failed, or just a poor contact?


RE: I2c and Imu stopped working. - AlanH - 2020-07-08

I'll try a new Pi first and let you know what happens.


RE: I2c and Imu stopped working. - It Paradyske - 2020-07-14

(2020-07-08, 05:22 PM)AlanH Wrote: I'll try a new Pi first and let you know what happens.

I had this problem over and over again, tried different IMU's some worked some not, sometimes it worked at home, it &^&*(%^%^&*%, yes was very annoying.
Suddenly, it all worked perfect at home! Kept running for days!
Back to the boat:
^(&*^^)($%#$^$#%^#
Sometimes it was detected, more often not, i2c scan sometimes saw it, more often not.

Then I realised that I had a 12V/12V DC  converter (for a previous boardcomputer) still in the power supply on the boat, so I removed that one and suddenly it works like it should!!!!

Finally last sunday I was able to make my first test sail with the pypilot!
OK, it did steered completely the wrong direction, but after reversing the polarity of the actuator: like a charm!!!

!!!!!!!!!!!!!!!!!!!!HURRAY I FINALLY GOT IT WORKING!!!!!!!!!!!!!

(2020-07-14, 08:23 AM)It Paradyske Wrote:
(2020-07-08, 05:22 PM)AlanH Wrote: I'll try a new Pi first and let you know what happens.

I had this problem over and over again, tried different IMU's some worked some not, sometimes it worked at home, it &^&*(%^%^&*%, yes was very annoying.
Suddenly, it all worked perfect at home! Kept running for days!
Back to the boat:
^(&*^^)($%#$^$#%^#
Sometimes it was detected, more often not, i2c scan sometimes saw it, more often not.

Then I realised that I had a 12V/12V DC  converter (for a previous boardcomputer) still in the power supply on the boat, so I removed that one and suddenly it works like it should!!!!

Finally last sunday I was able to make my first test sail with the pypilot!
OK, it did steered completely the wrong direction, but after reversing the polarity of the actuator: like a charm!!!

!!!!!!!!!!!!!!!!!!!!HURRAY I FINALLY GOT IT WORKING!!!!!!!!!!!!!

So a short analysis:

My battery supply, 13.3V goes to a 12V/12V DC/DC converter,
than to a 5V step down converter,
and than on the RPI to 3.3V, and that goes to the IMU.
I still can't believe that any noise get's through to the IMU, but apparently it does.

So please check your power supply in case of problems, try an other one.


RE: I2c and Imu stopped working. - seandepagnier - 2020-07-15

The noise must be bad if it is actually interfering with digital signals. Not sure what to recommend other than a different power supply, or adding a filter after your supply.