Pages: [1]   Go Down
Author Topic: DC Motor + Transistors BOTH DIRECTIONS  (Read 783 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,
im trying to drive a little car using an Arduino.
There will be a 12V DC motor. So far i hooked it up with one transistor to let i turn one way.
Next step will be to switch the polarity in order to let it turn the other way around.

I was thinking i may use 4 Transistors, 2 for each direction. Id be happy if someone would confirm that my Idea works smiley

Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27144
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't see your picture right now, but basically yes - you need an H-bridge, either made with transistors, or made with relays (more or less limiting you to full on or full off tho).
There are several  H-bridge controllers available, such as L293 or L298, do a litle searching for their equivalent if you need mroe current control (you need to take the stall current of the motors into account whens selecting your parts).
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 627
Posts: 34246
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For a more detailed look at reversing a motor see:-
http://www.thebox.myzen.co.uk/Workshop/Motors_2.html
Logged

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

Thanks guys, yeah looks like i tried to re-inivent the H-Bridge (sorry i didn't to a deep research before posting) but nice to know i was right smiley-grin

Problem solved, thanks again
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5581
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't see your picture right now, but basically yes - you need an H-bridge, either made with transistors, or made with relays (more or less limiting you to full on or full off tho).
There are several  H-bridge controllers available, such as L293 or L298, do a litle searching for their equivalent if you need mroe current control (you need to take the stall current of the motors into account whens selecting your parts).

Not necessarily - if you stuck an NPN or n-channel mosfet between the ground rail and the "low side" relays (with an appropriate current rating - and a snubber diode), you could use PWM that way; of course, going this route, you might as well make the entire thing from transistors/fets to share the load (and for really large motors, using a single device for the PWM control would probably be almost impossible anyway).
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

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

However im only going to use small motor (<1A), at first only with full speed/one speed, lateron maybe some PWM experiments
Logged

Pages: [1]   Go Up
Jump to: