PID based motor position control

Designed an experimental setup for DC motor control with optical encoder. Controlled the motor using PID algorithm