← Index EREN ARAL — P.03 / 03
P.03 Embedded System 2024 MECHATRONICS

ESP32 Thermal & Motor Control

Role Hardware · Firmware · Control
Tools ESP32 · C++ · PID · MQTT
Scope BLDC Drive + Thermal Mgmt
Status Completed · 2024
FIG. 01 — CONTROL TOPOLOGY PID @ 1 kHz
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.

ESP32C++BLDCPIDMQTTPWM
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.
NEXT PROJECT
Parallel Mechanism Design & FEA →