See how to control a DC BRUSHED motor with PID and move a CNC axis with Arduino and an optic encoder in quadrature. Move the motor with H-bridge circuit. See more...