November 3, 2006

PIC Dial Speed Controller

Reconn’s World has an interesting article with sample code of a stepper motor speed controller. “While the stepper motor could be completely computer-controlled, I’d like to be able to change the speed of the motor by turning a dial. for this i’m using a linear potentiometer from radioshack (10kohm, RadioShack #271-1715.) I’ll read the voltage off of the middle pin — turning the potentiometer will cause this middle-pin voltage to