Discrete control experiment developed for the control lab at Tel Aviv University The setup uses an Arduino Uno micro controller, micro dc gear motor with magnetic encoder and SparkFun Ardumoto shield.
The experiment has two parts, Simulation in simulink matlab and a hardware setup with arduino.
Simulation response:
Arduino response: