(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.