PIDNonBlocking

Non-blocking PID controller that runs on its own sample period from the main loop.

Author
George Arun
Website
https://github.com/GEORGE-MULTITECH-SYSTEMS/PID-Non-Blocking-
Category
Signal Input/Output
License
MIT
Library Type
Contributed
Architectures
Any

Plain C core: derivative on measurement, low-pass filtered derivative, trapezoidal integral, anti-windup. PIDController_Run() never waits: it computes only when the sample period has elapsed on millis(), passes the true elapsed time as dt, stays phase-locked to the sample grid and holds its output in between. Sample periods from 1 ms to minutes.

Downloads

Filename Release Date File Size
PIDNonBlocking-0.1.0.zip 2026-10-10 12.43 KiB