Go Down

Topic: HOW to connect servo motor to arduino with l293d (Read 2078 times) previous topic - next topic

Mar 23, 2013, 11:36 am Last Edit: Mar 23, 2013, 11:58 am by lironaharon Reason: 1
Hi
I'm trying to figure out how to build the electronic circuit of arduino + servo + l293d
I found an example of an electrical circuit  of a regular DC motor
If someone could give me an explanation or a link
Thanks

JimboZA

Have a look at this tutorial.

You don't need a 293... just hook the servo red and black to a power supply of suitable voltage (usually 5-6), and the yellow to the Arduino pin used in the sketch (9 as it stands), and also hook the motor black to the Arduino ground.

(Tutorial shows servo power hooked to the Arduino... that's not recommended, best to use a separate supply.)
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

#2
Mar 23, 2013, 11:54 am Last Edit: Mar 23, 2013, 11:57 am by lironaharon Reason: 1
Thank you
  I know how to make a simple connection of the servo
For my project I need to figure out how to make the connection with L293D and arduino and a separate  power supply

JimboZA

Quote
I need to figure out how to make the connection with L293D and arduino and a separate  power supply

I'm not sure if that's feasible....

The 293 does two main things:


  • It switches a dc or stepper motor's relatively high (say 12+) voltage with a logic level voltage (5)... that's unnecessary on a servo, since the high voltage goes straight into the servo in the first place and doesn't need switching


  • It provides direction to the dc or stepper motor by controlling which motor input is  + or -... that's also unnecessary on a servo, because that's basically what the pulse on the yellow line does.




If you have a look at a 293 data sheet, it makes no mention of using it to drive a servo- it mentions dc and steppers as specific purposes, though
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

scottyjr

What is the physical goal of your project? What are you attempting to do? - Scotty

JimboZA


What is the physical goal of your project? What are you attempting to do? - Scotty


Yeah, good question... perhaps the 293 / servo thing is a constraint imposed by a school / college project spec?

Or maybe the OP is confusing servos and steppers?
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

Thanks guys
I really do not need this part to operate Servo
Sorry

Go Up