Pid controller project in matlab. I used Arduino as PID controller to balance a small ball.