Skip to content

ba58smith/battery-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battery-monitor (lora-receiver with a 128x128 OLED screen)

Based on Jim Booth's Boat Monitor hardware and software. Thanks, Jim!

This software runs the "base station" of Jim's transmitter / receiver setup, where each thing that's being monitored (a boat, a truck, a swimming pool) has a transmitter that gathers the data and sends it out into the ether (that's how LoRa works), and a receiver that's always waiting for data from transmitters. Initially, each transmitter was fairly customized for what it was monitoring, and the receiver was VERY customized for what it was hoping to receive. I completely rewrote the code to be very generic - it doesn't know nor care what data is coming to it.

It receives the data and adds it to a std::list that the display cycles through perpetually. If any data is "out of range", an alarm sounds and and email (which is translated into a text message) is sent. All data is also sent to an InfluxDB database (thanks @JohnnySeven!) and displayed on a Grafana Dashboard.

In October and November 2022, I finally got a 3D printer and started playing with it, and my first project is to add a larger OLED display to this project. It will involve a lot of coding changes, so I've mirrored the "lora-receiver" repository to this new repository, and this is where I'll do all of the work to utilize the new, bigger (128x128 vs. 128x64) display.

In February 2023, I automated my wife's Tower Garden, and started monitoring its water level, pH, and battery voltage, and reporting whenever an automatic refill of the tub occurs (because nutrients need to be added whenever water is added).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published