P.03
Embedded System
2024
MECHATRONICS
ESP32 Thermal & Motor Control
01 / Brief
EMBEDDED · PID
The project that feeds my mechatronics side: an ESP32-based thermal management and BLDC motor control system. I designed and programmed an embedded system that regulates fan and motor speed with PID loops from temperature sensor data, publishing telemetry over MQTT.
The control loop runs at 1 kHz, with a PWM driver stage, hall-sensor feedback and over-temperature protection. The goal wasn't a product — it was to feel control theory on real hardware.
02 / Highlights
03
- 1 kHz PID loop — seamless transition between temperature and speed targets.
- Hall-feedback BLDC commutation with soft-start ramp.
- MQTT telemetry — live temperature, RPM and duty cycle monitoring.