Battery voltage monitor. Topic is solved

Everything about esp8266 and more.

Moderator: leecollings

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

Battery voltage monitor.

Post by MartHale »

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: 972
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Battery voltage monitor.

Post by heggink »

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).
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Battery voltage monitor.

Post by alexsh1 »

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: 21
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale »

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: 21
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale »

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 / ODroid
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by dgraham »

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: 21
Joined: Monday 22 May 2017 15:50
Target OS: Windows
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by MartHale »

Thanks guys I have got my first blocky program to partly work with the ESP. Moving on to other sensors.
bjornsundberg
Posts: 13
Joined: Wednesday 11 December 2019 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by bjornsundberg »

Hi,

Did anyone get this to work and want to share instructions?
misterleffe
Posts: 8
Joined: Thursday 22 November 2018 12:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Battery voltage monitor.

Post by misterleffe »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest