2018-09-16, 09:43 PM
(2018-09-15, 02:26 PM)seandepagnier Wrote:(2018-09-14, 04:46 PM)nvelthuijsen Wrote: I'm still left with a smal problem: reverse works, fwd not. If i pull the compass to the right it goes in reverse and gives the right signalling etc. If idle and/or pulled left it says FWD_FAULT. (So that's not caused by the ruddersense)
Any idea? (or is this because i don't have a compass installed yet -> is there a way to trick this?)
FWD_FAULT, REV_FAULT - means overcurrent is exceeded Check max current
FWD_FAULTPIN, REV_FAULTPIN - end of travel switch prevents travel in that direction
MIN_RUDDER, MAX_RUDDER - rudder feedback prevents travel
It looks like you are hitting overcurrent. What is the max_current set to? You might set the max_slew_speed to a low value (10 or less) to prevent current spikes at startup. Try plotting the servo.current using the scope. It will react to max_current faster than it can plot it though.
I made a test setup on a breadboard. Current is fixed 4.33A, Voltage fixed 10V.
Reverse works ok, no warnings. In idle and when trying forward servo.flag says sync fwd_fault. Fwd does not work..... I feel I am nearly there..... ideas?