Skip to content

ianwal/batterymonitor

Folders and files

NameName
Last commit message
Last commit date
Jul 23, 2023
Feb 17, 2024
Feb 17, 2024
May 20, 2023
Jul 23, 2023
Jul 23, 2023
Jul 23, 2023
May 20, 2023
Jun 4, 2023

Repository files navigation

Wi-Fi battery monitor using a custom ESP32-C3 board


About:

I drive a Crown Victoria Police Interceptor. It is old. The only way I can tell if it has issues is through the instrument cluster.

When I don't drive for extended periods, the battery can drain to a harmful level. I needed an alert system for when the battery needs charging to avoid killing it (again, oops).

But, third-party battery monitor systems require a nearby Phone and Bluetooth. This is a problem.

Solution: Build my own!

Hardware:

Features:

The PCB was fabricated through JLCPCB

  • JLCPCB's assembly service does not have the required components in their inventory. I assembled mine myself.

Components were ordered from Mouser Electronics. You can find the complete bill of materials in the KiCad project.

Software:

Features:

  • Deep sleep to reduce power consumption

Setup:

Clone the repository and flash the microcontroller using the PlatformIO IDE Visual Studio Code extension.

Fill in your Home Assistant URL, Long Lived Access Token, Wi-Fi SSID, and Wi-Fi Password in include/secrets.h

Dependencies:

You can modify the program to use a web server other than Home Assistant easily. I use it for other IOT devices, so it was useful to incorporate into this project.

Performance:

Voltage accuracy is around ± 0.1 V

Power consumption is still being evaluated

About

ESP32-C3 based Wi-Fi car battery monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published