2022-08-05 12:18:05 +02:00
2022-07-26 14:46:39 +02:00
2022-08-05 12:18:05 +02:00
2022-07-27 13:34:35 +02:00

Battery management system, based on esp8266 wireless SoC

An ESP8266's input voltage is 2.8-3.6V, which makes it ideal for being powered from a single LiFePo4 cell, whoose nominal voltage is 3.2V

The second premise is that the ESP8266 has a WiFi capability on board already, this can send the voltages and / or perform more complex tasks on a floating potential and does not need additional power supply, or setpup / stepdown convertors

High level design

  • Use of ESP8266, directly connected to a single cell
  • Decision to use internal, or external ADC to measure voltage, have to test the precision for multiple, averaged measurements. Should be precise enough, if WiFi is turned off and no PWM is used

Pinout

ESP 8266 pins
1, 3V3 --> To battery +         2, RX  --> NC
3, RST --> PULL UP              4, IO0 --> PWR Dump relay start
5, EN  --> PULL UP              6, IO2 --> FREE, blink indicator?
7, TX  --> NC                   7, GND --> To Battery -

Operation

Monitoring should not really be an issue, or?

  • measurement averaged in 5 measurements,
  • measurement interval, 3s

Hardware requiered

  • ESP8266, version not dependent. v01 will be used for testing
  • 8 pins (Dupont male) exposed, only internal measurement possible
  • some cabling needed, should be simple.
  • Wifi router in range, so it can send data to somewhere
  • additional hardware required for a running database, or visualization software

Software requirements

  • micoptyhon on SoC
  • obviously a NW infrastructure, TCP / http capable
  • Linux server
  • InfluxDB ?
  • SQLite ?
  • Dockerized ?
Description
A stoopid BMS based on an esp8266
Readme 29 KiB
Languages
Markdown 100%