Motor with weight, PID and camera

Main idea of this project was to test PID regulator on something physical. I decided to use motor with weight on one leveler. For feedback was used webcam with Emgu (OpenCV) image recognition. PC application is processing image and sending command to PicAxe over RS232. Picaxe is generating PWM to the motor. Motor is not directly controlled by PicAxe, but it is using BD139 transistor. PicAxe and motor are running on 5V.


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/motor-with-weight-pid-and-camera