Pages: [1]   Go Down
Author Topic: HOW to connect servo motor to arduino with l293d  (Read 1517 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 23, 2013, 05:58:04 am by lironaharon » Logged

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3855
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)
Logged

The Elders of the Internet know who I am.....
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 23, 2013, 05:57:50 am by lironaharon » Logged

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3855
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

The Elders of the Internet know who I am.....
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

Pottstown, PA
Offline Offline
Sr. Member
****
Karma: 5
Posts: 317
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3855
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

The Elders of the Internet know who I am.....
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: