Decoding battery management data - back in the old school
summary
USB adapter exposes an RS‑232 stream from a Lithium8 Light pack and the code decodes per‑cell voltages, amp readings and flags (discovering a 3‑byte uptime field and a cell below 2V that needs replacement). Logs are timestamped on a Raspberry Pi, converted with small Python/Perl tools, uploaded incrementally into InfluxDB and plotted in Grafana. Real rides show ~100 A draw at 100 km/h, regenerative negative amps, and the pipeline reliably produces historic graphs and per‑cell alerts.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:21What shall we talk about?
- 13:15Write programs
- 19:09Battery management data
- 25:18Data decoding lessons
- 26:23What data do we have now
- 31:13Data into InfluxDB
- 32:00Results!
- 38:33Bonus content!
related talks
14mEnergy harvesting and batteries for Generic Node
37mBringing Open-Source to Battery Systems Development and Operations
01h 19mEnergy and Efficiency
05mReality Revolution Solution
06mBFree: Enabling Battery-free Sensor Prototyping with Python
31mMicroPython Energy Monitoring
48mRunning an Undersea, Robotic Laboratory on a Fixed Energy Budget
33mSmart and Simple Data Driven Hydroponic Sensing Applications Using Python, Flask & Raspberry Pi
