- the hard way: control a relay from an Arduino output - the easy way: power the Arduino from one motor battery, as suggested. A depleted battery will still have enough juice for the micro controllerIn both ways, a failed connection will still lead to unpredicable results EDIT: Also seems there is a Failsafe feature within the Sabertooth deviceNo!! please do the math, a (rather) easy taskHint: the +-100A sensor sensitivity is 20mV/amp
Yes, let me have a proposal for the resistors values and the checkBat() formula
kas , if my source is 24 v could I use a 39k and 10k resister to get my voltage around 4.89v?
How sensitive is the UNO board to voltage? a full 12v battery might see 12.6 to 12.8volts , should I step it down or roll with it?
With this setup, a fresh battery (12.8V) will generate 5.22V, and will probably fry the Analog InputTry again
What about a 40k and 6.8 k ?
OK!what about the math ??
I'm using a fan for a demo but the motors will be hooked in line with the relay .https://youtu.be/EvAueKsMQos
@ Kas does this look right?