Hi, I'm trying to monitor the health of my sump pump battery. This is a backup pump system, the main pump is a 120v unit.
It's a large deep cycle 12v lead acid battery. I have a harbor freight float charger on it. I've installed the INA219 breakout board inline with the positive line from the charger to the battery. I am using a raspberry pi to read data from the INA219, with a node script using the ina219 module.
I think am I reading the charging current correctly, but my voltage readings are not right. See my chart below, I'm only reading around 1v or less when I expect to read 12-13v or so. I think this might be because the grounds of the battery charging circuit and the ground of the raspberry pi circuit are not tied together? When I put a DVM between the two grounds I read around 12v. I have a small LED voltmeter always connected to the battery and at the time it was showing 12.9, so this might be where I'm getting my approximately 1v reading from?
Is it safe to tie these grounds together? The raspberry pi is powered from a phone charger plugged into a 120v outlet.
BTW the spike in charging current (green line) towards the right side of the chart happened after I ran the pump for a moment.
It's a large deep cycle 12v lead acid battery. I have a harbor freight float charger on it. I've installed the INA219 breakout board inline with the positive line from the charger to the battery. I am using a raspberry pi to read data from the INA219, with a node script using the ina219 module.
I think am I reading the charging current correctly, but my voltage readings are not right. See my chart below, I'm only reading around 1v or less when I expect to read 12-13v or so. I think this might be because the grounds of the battery charging circuit and the ground of the raspberry pi circuit are not tied together? When I put a DVM between the two grounds I read around 12v. I have a small LED voltmeter always connected to the battery and at the time it was showing 12.9, so this might be where I'm getting my approximately 1v reading from?
Is it safe to tie these grounds together? The raspberry pi is powered from a phone charger plugged into a 120v outlet.
BTW the spike in charging current (green line) towards the right side of the chart happened after I ran the pump for a moment.
Attachments
-
123.4 KB Views: 46
-
103.2 KB Views: 50