<< return to Pixycam.com

DC Gear Motor PID Controller

I am just wondering how can i control my DC gear motor by using PID controller with PIXY.
As i got some information from this forum, Pixy cant control DC gear motor, does it mean, i cant control my DC gear motor with PIXY?
if so then how can i modified Pixy servo motor port to work for DC gear motor for the PID controller?
And also i would like to ask about the PWM0 and PWM1 pinout in the SERVO PORT. what is its role and to control SERVO. plsease explain me function of each SERVO PORT PINOUT in detail.

Regards,

Biswas

Hello Biswas,
Here are the pinouts:

http://cmucam.org/projects/cmucam5/wiki/Port_Pinouts

Unfortunately, the servo port is meant for RC-servos. They can’t control DC motors directly. You might consider using an Arduino shield that supports motor control, and hook Pixy to the Arduino.

Edward