Hi Dan I am tring to make a PID motor controller for my robot. Same as you i am using PWM to control the motor.What kind of driver are you using? regards ----- Original Message ----- From: Dan Creagan To: Sent: Saturday, January 29, 2000 12:25 AM Subject: Re: PID control using PIC > I use the 16F876 (and 16F873 and 16C73A) on robot drive motors. The PWM > outputs are useful for controlling the motors. What kind of PID control > are you wanting to do? > > There is a simple hookup of a single channel (one motor) at > http://204.233.101.40/robots/mogotut/simplemotor.htm that might help. There > are some links on there that describe how to make a more complete PID, and > there is software for a simple (proportional gain only) feedback for the > motor experiment. The code is in Pic Basic Pro - but could be converted to > about any language fairly easily (which is why I chose PBP). > > Dan > > > Hello Everyone > > > > I am wondering whether it is possible to have PID control using 16F84 or > > 16F876. And where can I find the source code , Thanks