Go Down

Topic: hobby motor: only + and - [SOLVED] (Read 658 times) previous topic - next topic

mrtunes

Apr 16, 2013, 05:46 pm Last Edit: Apr 16, 2013, 07:47 pm by mrtunes Reason: 1
in the arduino cookbook and fritzing, the basic example of a servo motor seems to have a third cable which receives the PWM signal from arduino. the motor that i have only has positive and minus leads. i was able to get power to it and make it spin, but not sure how to control it?

it looks like this but it's plastic:


the yellow cable?

JimboZA

That's not a servo, it's just a "motor".... to control the direction you need to use an h-bridge and for speed, pwm. Have a look here.
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0


Go Up