abersailbot / dewi-hardware

Hardware designs and issue tracking for Dewi.
GNU General Public License v3.0
2 stars 1 forks source link

Power monitoring #16

Open colinsauze opened 9 years ago

colinsauze commented 9 years ago

Monitor battery voltage and currents on various devices.

colinsauze commented 7 years ago

We are currently looking at using the INA219 at work. Its an I2C current/voltage monitor able to monitor up to 3.2A and 26V. See https://www.adafruit.com/product/904

naturesyouth commented 7 years ago

that looks pretty cool, definitely worth looking into.

naturesyouth commented 7 years ago

could this be spun into a pcb in the battery box? that way we can monitor both sides of the power system?

Danyc0 commented 7 years ago

IIRC, based on the measurements I took last year, with both wifi dongles running, especially if there's now a Pi3 (plz no), and we're doing a lot of CV we will overrun that 3.2A limit

naturesyouth commented 7 years ago

I would think we would have one chip per channel / battery rather then one for everything. and was that including servos? because the power supply for the logic isn't rated for anything more then an amp and a half.

Danyc0 commented 7 years ago

Now I come to think of it, I'm not sure :P Please disregard that comment :L

colinsauze commented 7 years ago

It is possible (but hard, needs surface mount soldering) to change the shunt resistor and adjust its measurement range. But 3.2A max for the whole boat sounds about right to me. If there are multiple sensors then you shouldn't saturate them.

TomGC96 commented 7 years ago

Yeah you do not remember correctly, the measurements for current I took for the Pi, Arduino and Captain Morgan hardly reached 0.5A.