2018-09-17, 02:32 PM
(This post was last modified: 2018-09-17, 06:32 PM by nvelthuijsen.)
(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