A deterministic real-time sensing-to-actuation loop on STM32F4, driven entirely by timers and interrupts.
A real-time embedded control loop on the STM32F4 Discovery board designed around one hard requirement: deterministic response across the sensor's and actuator's full operating range, achieved through interrupt-driven event handling rather than polling loops.
Peripheral drivers (GPIO/ADC/UART/I2C as required) feed a timer-scheduled, interrupt-driven control loop that continuously monitors sensor state and adjusts actuator output.
Polling-based sensor checks would have introduced unacceptable response latency for real-time control.
Moved to an interrupt-driven architecture with timer scheduling, keeping response deterministic regardless of main-loop workload.
The system delivered consistent, deterministic real-time sensor-to-actuator response validated through direct hardware testing across the full operating range.