Battery voltage monitor. Topic is solved

Everything about esp8266 and more.
Post Reply
MartHale
Posts: 22
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Battery voltage monitor.

Post by MartHale » Saturday 05 May 2018 1:15

I am looking to monitor my 24 V battery pack 5 KWH.

I wish to use Domoticz to check if the battery pack is full via solar if so, I will then have it control other switches dependant on battery voltage.


Is there a device that is commercially made that does this already on the cheap?

I found this, but not sure if Domoticz could interface with it...

https://www.aliexpress.com/item/VAC-103 ... autifyAB=0


If there is a tutorial of someone who has done this with ESP8266 with domoticz I would appreciate you giving me the link. Thanks!

User avatar
heggink
Posts: 581
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: NL
Contact:

Re: Battery voltage monitor.

Post by heggink » Saturday 05 May 2018 9:12

how about an esp8266 with an INA21X voltage/current monitor? http://www.ti.com/lit/ds/symlink/ina213.pdf
Cost absolutely nothing on aliexpress. Have a few lying around but never got to trying them. Measures voltage and current. The ESP can update domoticz very easily with software like espeasy (many articles on this in the forum).
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

alexsh1
Posts: 275
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Battery voltage monitor.

Post by alexsh1 » Saturday 05 May 2018 10:30

MartHale wrote:
Saturday 05 May 2018 1:15


Is there a device that is commercially made that does this already on the cheap?

Yes, this is one of them:

http://pimodules.com/

You have to order Advanced version I think. External Power Input (7V-28VDC) so the whole RPi will be backup by your battery as well as monitor voltage. Earlier version was intergated in Domoticz. This one may require a little bit adjustment.

MartHale
Posts: 22
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale » Saturday 12 May 2018 23:05

Thanks for the suggestions.

I being familiar with the ESP8266 I think this is the route I want to go.


After looking at the max voltage of INA219 at 26 volts I think I want to go with another breakout instead.


The
INA169 breakout board goes up to 60 V, so I think this is what I want, but I don't know how to hook it up
to the ESP8266.

https://www.aliexpress.com/item/GY-169- ... 262.3U9hL6


So I am not sure which ESP8266 to get to hook up to this.... Any suggestions?

Thanks for your help!

MartHale
Posts: 22
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale » Saturday 12 May 2018 23:11

I am wondering if this ESP board would work for this ->
https://www.aliexpress.com/item/ESP32-D ... autifyAB=0

dgraham
Posts: 1
Joined: Saturday 12 May 2018 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by dgraham » Sunday 13 May 2018 0:00

I'm using these Mini D1s they are small low power "cheap" and work. They only have 1 analog in and it MUST be connected to the voltage source it's measuring through a voltage divider to drop the voltage to the max that the chip can handle. They will connect your wifi network and send data to Domoticz in one of many protocols. Also you must learn how to program this in the Arduino IDE environment. But it gives me a 5v reading with 2 digit accuracy beind the decimal point even though it has max 1024 count.

https://www.aliexpress.com/item/1PCS-D1 ... 97134.html

MartHale
Posts: 22
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale » Monday 28 May 2018 17:12

Thanks guys I have got my first blocky program to partly work with the ESP. Moving on to other sensors.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest