Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic battery monitoring ideas.
I need some assistance.

Now that I have my influxdb and grafana all set up I would like to have a device send my battery voltage to the influxdb via wifi.
I have a 48V nominal Pb battery bank that I would like to monitor.
I have looked, obviously not everywhere, but I can't seem to find a simple solution for this.
If anyone has a solution to monitor my battery bank with something like (RPi, arduino, or some other way) as to send this data to my influx db that would be highly appreciated. Once I get my powerwall set up with a BMS probably Batrium I won't need that anymore but in the meantime what to do? 
Additional sensors could include temp, humidity barometric pressure. Those I seem to be able to find but the Voltage one seems to elude me.
Any ideas?

Thanks in advance.
If 18 X 650 = 2200+mAh then we have power! 
May all your Cells have an IR of 75mΩ or less Smile
Last count as of 6/10/2019
Total Number of Cells                          5940
Cells  >80% of Capacity                      4334
Cells <80% of Capacity                       1605
Cells ≥2200mAh & ≥ 80% & ≤75mΩ    2800 +236
For Info Google Drive
Not your average Wolf       

This isn't off the shelf, but its not hard to use one of the wifi controller chips, aka ESP8266 chips to do this for you with a minimal number of external parts. A couple of the models have an analog pin for which you could use to monitor voltage via a simple resistor divider. Check out this:

Then it would be a matter of writing the code to read the value and send it upstream via wifi in some kind of timed loop I'd imagine.

FYI: Keep in mind these ESP8266 boards work at 3.3v and not the usual 5v arduino
I don't think there is an easy answer. 

Your best bet is going to be either an arduino with an esp8266 to send data over WIFI or an ESP32 that has enough analog inputs for you to be able to use them. No matter what, you'll need to develop the hardware yourself from scratch and write all the code from scratch.
Well, you've got the majority of work left.

I've got my system up and running now - and trust me, you did the easiest part. Getting data into influxdb is the hard part. Good luck man. Check youtube there are a bunch of tutorials , all of which skip over some very important steps.
I'm working on some code at the moment. When I finish it, I'll have code for an esp8266, and an image of a pi to allow for all of this monitoring.

The issue with influxdb and grafana is that they aren't good for streaming data - as in, they are great to show data taken every couple minutes - but I want to know my voltage and temperature instantly. So I use MQTT for everything - but I have important information live streamed and displayed in Node-Red, and then once every five minutes it sends an AVG value via MQTT to Node-Red which then pushes it to InfluxDB and Grafana picks it up from there. You don't want to live-stream data to influxDB because then you'll just have way too much data in there - and if you use a PI, you'll destroy your storage medium fast.
The BMS described in

seem to have a serial output which they use to connect to PC and App, and as far as i have understood they have published the protocol in a terrible excel sheet.
Since you can see all cell voltages , and much more, that should be a possible basic unit for you.

a 13 S and 14 s system is available, but you have to order them as matching, they are not universal. 30 bucks.
1 kWp in Test
4 kWh battery target - plus Mobile Home battery
Ultra low cost
Electronics ? No clue. Am machinery engineer.

Who read this thread?
49 User(s) read this thread:
AZ_Tekkie, daromer, Sean, Majorphill, PAF, jdeadman, watts-on, Hanssing, tamkov, Geek, Oz18650, Nikhil Mahajan, Ste Collister, drchips, kanchana, Crimp Daddy, jonyjoe505, SilverNodashi, whisperbot, Cherry67, w0067814, Mikethezipper, chuckp, emuland-metroman, Beholder, sl1me, Wolf, camthecam, Generic, nuckles, Solardad, stevelectric, Lordsangreal, wind0r, kevinjaye, bertvaneyken, ma3006he, fleming, BarryG, wreckless, juanjo57, bairleafarm, Scott_C, ben teker, BitcoinBandit, A713083, MrRoyal007, Karesi, Luis

Forum Jump:

Users browsing this thread: 1 Guest(s)