I show how to program a PID controller to be used to stabilize the speed of a motor.
To show the effects of the different factors on the result I test it in reality with the fan of my wind tunnel.
The PID principle can be used for many other applications where unstable systems have to be stabilized.