This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2c and Imu stopped working.
#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.
Reply


Messages In This Thread
I2c and Imu stopped working. - by Ranur - 2020-06-24, 10:48 AM
RE: I2c and Imu stopped working. - by Ranur - 2020-06-25, 07:04 AM
RE: I2c and Imu stopped working. - by Ranur - 2020-06-26, 12:35 PM
RE: I2c and Imu stopped working. - by Ranur - 2020-06-29, 09:35 AM
RE: I2c and Imu stopped working. - by AlanH - 2020-07-03, 09:25 PM
RE: I2c and Imu stopped working. - by AlanH - 2020-07-04, 04:04 PM
RE: I2c and Imu stopped working. - by Ranur - 2020-07-06, 10:00 AM
RE: I2c and Imu stopped working. - by AlanH - 2020-07-08, 05:22 PM
RE: I2c and Imu stopped working. - by It Paradyske - 2020-07-14, 08:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)