2019-01-07, 12:50 PM
(2019-01-07, 12:40 AM)xfactor99 Wrote:(2018-06-08, 10:45 AM)kalle Wrote: Changing the admux register was the solution. Setting the temp. and current values to 0 avoided fault messages from not connected sensors. Up to now its working fine. Perhaps this weekend the first sea trials. I will report.
Kalle
I have the same Problem, I use a Potentiometer to give rudder Feedback. It Returns values on Pin A4
of 0-5V. So how do y handle this. I guess I have to Change the ADMUX Register, but I don´t find how to do that in the Motor.ino of the Arduino?
It is correct that the Max-Rudder and Min-Rudder stays then a 256/512 ?? Or du I have to modyfy that an more ?
Please some help.
Thank you
For now I solved it, adding an power divider to the potentiometer to reduce the 0-5V output to 0-1 V, so this is working now.
Rudder indicator is showing nicely in opencpn
Anyway it would be nice to know were in the motor.ino for the Arduino, I can change the ADMUX setting for Pin A4.
Save sailing
Andreas