Michael Ibitoye
Back to projects

Embedded × IoT

IoT-Based Generator Monitoring & Control System

A physical ESP32-based generator controller combining sensors, relays, remote scheduling, live fuel monitoring, a safety shutdown mechanism and a web application.

ESP32C++Node.jsMongoDBSensorsRelays
IoT-Based Generator Monitoring & Control System

3.0 kVA

Test generator

15 L

Tank

50 °C

Safety cutoff

1.31 s

Mean command response

System

An ESP32S NodeMCU interfaces with an ultrasonic fuel-level sensor, DHT11 temperature sensor, a four-channel relay board and a linear actuator for choke control.

Remote control

The web application provides generator ON/OFF control, timed operation, real-time fuel indication and historical fuel-use visualization. A Node.js/Express backend handles requests and MongoDB stores operational data.

Safety

Generator-room temperature is monitored continuously. When the temperature reaches the configured 50 °C safety threshold, the controller can shut the generator down to reduce fire and equipment-damage risk.

Validation

The complete prototype was mounted on a 3.0 kVA generator and tested repeatedly. Remote control commands produced a mean physical response time of 1.31 seconds.

Evidence

System & results