Go Down

Topic: hobby motor: only + and - [SOLVED] (Read 549 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy