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
using pi gpio outputs / pins arduino
#16
(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.
Reply


Messages In This Thread
RE: using gpio outputs - by affinite - 2018-09-08, 04:46 PM
RE: using gpio outputs - by seandepagnier - 2018-09-08, 06:01 PM
RE: using gpio outputs - by nvelthuijsen - 2018-09-09, 09:58 AM
RE: using gpio outputs - by affinite - 2018-09-08, 09:14 PM
RE: using gpio outputs - by seandepagnier - 2018-09-10, 06:50 PM
RE: using gpio outputs - by nvelthuijsen - 2018-09-11, 12:24 PM
RE: using gpio outputs - by jim321 - 2018-09-11, 02:08 PM
RE: using gpio outputs - by nvelthuijsen - 2018-09-11, 02:23 PM
RE: using gpio outputs - by nvelthuijsen - 2018-09-11, 05:45 PM
RE: using pi gpio outputs / pins arduino - by seandepagnier - 2018-09-15, 02:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)