2018-08-31, 12:58 PM
This was a bit of a surprise! Fitted an INA219 current sensor just across the battery monitor shunt not expecting too much, but turns out it's really quite accurate. No calibration tweaks, just multiplied the mV across the shunt by 10,000 to get to amps and it tracks very well against the battery monitor and a DC clamp meter so maybe accurate down to +/- 100mA or so. Sends the reading as signalk to Openplotter where it gets logged in InfluxDB and viewed on Chronograf. I'll stick it up on github at some point & post a link.
Been watching this more than youtube
current = shuntvoltage * -10000;
![[Image: mCP65hw.png]](https://i.imgur.com/mCP65hw.png)
Been watching this more than youtube


current = shuntvoltage * -10000;
![[Image: mCP65hw.png]](https://i.imgur.com/mCP65hw.png)
![[Image: Ij9RANx.png]](https://i.imgur.com/Ij9RANx.png)