Arduino EV battery monitor

I just purchased an Uno R3 and would like to know what people think of this idea. (has anyone else done it?)

An arduino is much cheaper than a Xantrex battery monitor, so I decided to see if I could make a battery monitor.

Sensing voltage should be easy and I assume I’ll need to build a prescaling circuit or a divider for the 128v sense.

sensing current might be a bit trickier ? using a 1000a shunt either 50mv or 100mv

these will fill up some of the adc inputs.

The really tricky part I assume will be an amp-hour/kwhr counter, basically calculating amps drawn(?) and an avg voltage.

For a display I have a common 16pin lcd which should be very easy to hook up according to a tutorial.

I’m new to microcontrollers and dont have much coding experience so I will probably be on here often asking about this :slight_smile:

any suggestions before I dive in?

dhymers:
The really tricky part I assume will be an amp-hour/kwhr counter, basically calculating amps drawn(?) and an avg voltage.

Not that tricky I wouldn’t think. Depending on how quickly you sample the current and voltage you should get a good idea of the amp-hrs and watt-hrs drawn/used. Whether that’s enough to yield a good range remaining estimate (which I assume is a final goal) I don’t know.