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
#19
(2018-09-16, 10:36 PM)seandepagnier Wrote: what do you mean current is fixed?  voltage is fixed?   How are they fixed?

If over current is detected, it allows twice the max current in the other direction to correct it.  This is because many tiller pilots get stuck at the end and otherwise would trigger a current fault to move back again.

If you see FWD_FAULT, it means that overcurrent was detected moving forward.   What is servo.max_current set to?

For testing purposes i created a voltage-measurement on ADC pin 0 and current-measurement on ADC pin 1. That gives the readings as mentioned and works fine. servo.max_current is set to 20.

The Arduino UNO lacks ADC pin 6.... (so no rudder sense, might be the problem).... i ordered a couple of nano's instead. I wil post the results.

I included some pictures of the setup.

https://drive.google.com/drive/folders/1...sp=sharing
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 nvelthuijsen - 2018-09-17, 02:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)