OpenMarine
Current sense readout - 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: Current sense readout (/showthread.php?tid=4786)



Current sense readout - oilybilge - 2023-07-20

Hi all. I'm running tinypilot on a pi zero, with a motor controller based on Sean's plans. I don't have an LCD display, I'm just accessing it through my iPad.

Is there any way to find out how much current the motor controller believes is flowing at any one time? I can find a display for amp hours and one for voltage, but nothing for current. 

My feeling is it's reading rather higher than the real current. If that's the case, the next question is how would I calibrate it? Cheers!


RE: Current sense readout - ironman - 2023-07-21

Use a pypilot client; there is one available in the pypilot plugin; it's the value for servo.current. You can also type pypilot_client -c servo.current at the prompt for a continuous readout. You can also venture into using pypilot_scope.


RE: Current sense readout - seandepagnier - 2023-07-21

changing the current and offset factor you could calibrate it. It is not really important to have high accuracy for this to steer a course.


RE: Current sense readout - oilybilge - 2023-08-02

Many thanks, Ironman and Sean. I'll try all that. Apologies as ever for the late reply.