lordpan46
Posts: 1
Joined: Thu Jan 21, 2016 11:44 am

Raspberry pi and Image Processing

Thu Jan 21, 2016 11:48 am

I have been working on a project which can process frames from the picamera and finds the circle object and tracking it. Everything works fine except the mg90 mini servo. It shakes like a girl. I think the amper is not enough. Can you suggest me a way that works fine ???

User avatar
Etienne
Posts: 203
Joined: Wed Jul 24, 2013 6:23 am

Re: Raspberry pi and Image Processing

Thu Jan 21, 2016 12:18 pm

I have also some unstability issues when driving servo from Pi PWM output using RPIO python lib (from RPIO import PWM) , my undesrtanding is that it may be related to linux not being a realtime OS (anyway I do not think it is related to electrical current limitation). I suppose that the proper way should be to use a real PMW circuit (such as PCA9685 16 channels PWM I²C controller). May be it should be also possible to use the only one PWM capable pin on the GPIO header (valid if you need only one servo).
I am also very interested if someone has alternate ideas to solve this issue.

Goraxium
Posts: 122
Joined: Tue Jan 26, 2016 1:42 pm

Re: Raspberry pi and Image Processing

Tue Jan 26, 2016 2:34 pm

Have you considered using stepper motors instead of servos? They will stay wherever you leave them. The downside is that you'll need more outputs, but there are ways around that, as seen here: http://www.raspberrypi-spy.co.uk/2013/0 ... pi-part-1/.

Return to “Advanced users”