2020-08-22, 12:11 PM
(This post was last modified: 2020-08-22, 12:34 PM by jamos.tan@gmail.com.)
Nice, so these pins determine regular mode and hydraulic mode? So, it is even possible to hookup a switch or something to select the modes?
Also looking at motor.ino:
Ratiometric Mode:
for D4=0 and D5=0, the adc operates over the 0-5 volt range
making it ratiometric (linearly accurate) for rudder feedback
and reduces impedance in the rudder measurement
the temperature resistors are changed to 10k and 10k ntc
voltage measurement accuracy is reduced, and the resistors used are
15k and 100k for a range of 38 volts. Pin 12 is not used in this mode.
digital pins 4 and 5 determine the current sense as folows:
pin 4 determines range
pin 5 determines high/low current (20A or 60A max)
D4 D5
1 1 .05 ohm, (or .001 ohm x 50 gain)
0 1 .01 ohm
1 0 .0005 ohm x 50 gain
0 0 .0005 ohm x 200 gain *ratiometric mode
I'm trying to understand as what the relation is between this and grounding or not connecting D4, D5 and D6.
Also I couldn't find D6 in motor.ino
Also looking at motor.ino:
Ratiometric Mode:
for D4=0 and D5=0, the adc operates over the 0-5 volt range
making it ratiometric (linearly accurate) for rudder feedback
and reduces impedance in the rudder measurement
the temperature resistors are changed to 10k and 10k ntc
voltage measurement accuracy is reduced, and the resistors used are
15k and 100k for a range of 38 volts. Pin 12 is not used in this mode.
digital pins 4 and 5 determine the current sense as folows:
pin 4 determines range
pin 5 determines high/low current (20A or 60A max)
D4 D5
1 1 .05 ohm, (or .001 ohm x 50 gain)
0 1 .01 ohm
1 0 .0005 ohm x 50 gain
0 0 .0005 ohm x 200 gain *ratiometric mode
I'm trying to understand as what the relation is between this and grounding or not connecting D4, D5 and D6.
Also I couldn't find D6 in motor.ino