ESP32 Auto-Start Generator Controller System
Upgrade Your Power Generator with Industrial-Grade IoT Automation!
Are you tired of manually starting your generator during power outages? This project provides a complete, rock-solid C++ source code and wiring manual to build your own Smart ESP32 Generator Controller.
Designed specifically to survive the harsh, high-noise environments of combustion engines, this system offers features usually found only in expensive commercial AMF (Automatic Mains Failure) panels.
Key Features:
- Automatic Grid Sensing (AMF): Automatically starts the generator when AC mains fail and stops it when grid power returns.
- Advanced I2C Noise Recovery: Generators create severe EMI noise that crashes most Arduino/ESP boards. This code includes a robust, self-healing I2C software reset protocol to keep sensors (RTC & INA219) running flawlessly 24/7.
- Smart Battery Charger: Monitors DC voltage and current via INA219. Automatically turns the battery charger on/off to prevent overcharging, extending your starter battery's lifespan.
- Remote Telnet Dashboard: Monitor live voltage, current, engine status, and system logs over WiFi.
- Safety First: Includes manual override limits, cold-start choke control (Servo), starter-motor voltage stabilization delay, and sudden-stall detection.
- Timer & Auto Modes: Schedule the generator to run only during specific hours.
What You Will Get (Digital Download):
- Fully Commented C++ Source Code (.ino): Clean, optimized, and ready to flash via Arduino IDE. All comments and variables are in English.
- Comprehensive PDF Wiring Manual: A step-by-step guide explaining exactly which pins to use, how to wire the relays securely, and best practices for hardware protection (flyback diodes, capacitors).
Hardware Required (Not Included):
- ESP32 Board
- Relay Modules (12V & 5V)
- Solenoid/Valve for Fuel (Driven by MOSFET)
- Servo Motor (for Choke)
- DS3231 RTC & INA219 Sensors
License:
This purchase grants you a personal license. You may use this code to build controllers for your own home, off-grid cabin, or workshop. Reselling the raw code is strictly prohibited.
Tags: #ESP32 #Arduino #AMFController #GeneratorAutoStart #SmartGenerator #OffGrid #IoTHomeAutomation #INA219 #DS3231 #CppSourceCode