I have come into possession of a surplus treadmill motor, including a
commercial PWM, high-current speed control board. Details of the
board can be found at
I'm looking to use a stamp (or maybe a PIC) to provide precise
control of motor RPM, using this control board. At the very end of
the PDF file linked above, it shows a suggested means of using a
microcontroller in place of a pot to provide control input to the
Here's what I'm thinking of doing:
(1) using a keypad to enter desired RPM
(2) displaying actual RPM on an LCD
(3) sensing RPM via a hall-effect sensor, or maybe an opto-
interrupter on the motor shaft
(4) using the Stamp to adjust input to the control board to maintain
the desired RPM under varying motor loads. I am still unclear as to
exactly how to accomplish this - can anyone point me to the Stamp
commands that would be most helpful here?
This is my first attempt at anything approaching process control with
the Stamp, so I'm looking for any tips, hints, sample code, critiques
of my approach, etc.
Thanks in advance for your help.