Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic battery monitoring ideas.
#1
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.
Wolf
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 4/22/2019
Total Number of Cells                         4465
Cells  >80% of Capacity                      3077
Cells <80% of Capacity                       1372
Cells ≥2200mAh & ≥ 80% & ≤75mΩ    2129
Google Drive for info https://drive.google.com/drive/folders/1...sp=sharing
Not your average Wolf       
            Cool



Reply
#2
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: https://randomnerdtutorials.com/esp8266-...h-nodemcu/

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
Reply
#3
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.
Reply
#4
The BMS described in
https://secondlifestorage.com/t-Good-Chinese-BMS-review

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.
0,8kWp in Test
4 kWh battery target
Ultra low cost
Reply


Who read this thread?
39 User(s) read this thread:
AZ_Tekkie, daromer, Sean, Majorphill, PAF, jdeadman, watts-on, Hanssing, tamkov, Geek, Oz18650, Nikhil Mahajan, drchips, Crimp Daddy, jonyjoe505, SilverNodashi, Cherry67, w0067814, Mikethezipper, emuland-metroman, Beholder, sl1me, Wolf, camthecam, Dallski, nuckles, Solardad, stevelectric, wind0r, kevinjaye, bertvaneyken, ma3006he, fleming, BarryG, wreckless, juanjo57, bairleafarm, Scott_C, ben teker

Forum Jump:


Users browsing this thread: 1 Guest(s)