|
Re: Motor that acts like a servo
Plug a Motor into a PWM Port.
Connect a Potentiometer between 10-100k to a Analog Input.
Wiring doesn't matter as long as the wiper goes to the White Wire (signal)
and you connect power and ground to the other remaining pins.
Then you have to link them mechanically and write in easyC a P.I.D. loop to control the whole deal. Check the White papers in CD Media under P.I.D. .
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
|