Maker Pro
Maker Pro

Two-way 12V motor control using arduino and darlington?

Empty_Atoms

Jun 20, 2017
3
Joined
Jun 20, 2017
Messages
3
Howdy,

I'm currently trying to build a door mechanism with an arduino, I have a circuit built from this article which enables me to control the current to a 12 volt motor using the arduino to open a path to ground.

My question is this, how do I get two-way control out of this circuit? I get the sense I'm missing something very simple here but if I want to use a second pin of the arduino to send the opposite current through the motor, what's the most efficient way?
 

Attachments

  • tip120-motor.png
    tip120-motor.png
    37.8 KB · Views: 250

Bluejets

Oct 5, 2014
6,927
Joined
Oct 5, 2014
Messages
6,927
Just use a H-bridge.
Designed for the job.

Example youtube video........
 
Last edited:

Empty_Atoms

Jun 20, 2017
3
Joined
Jun 20, 2017
Messages
3
Thanks a mil, great info!

I suppose the idea of buying an actual motor driver is making more sense by the minute.

Is there no way that I can open an opposite flow of current through the motor using a second signal pin and a second transistor? I've ordered a few H-bridges but it really feels like something that should be possible with what I already have.
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Well, you can make an H bridge from 4 transistors. You need 2 NPN and 2 PNP or 2 N-channel and 2 P-channel.

Bob
 

Empty_Atoms

Jun 20, 2017
3
Joined
Jun 20, 2017
Messages
3
I figured I'd need at least 1 PNP. That's a massive help bob thanks so much for your time.
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
If you do go the way of a discrete H-bridge, be aware that you will also need a level translator for each of the high-side switches (PNPs). The complete circuit will require 6 transistors.

Bob
 

Bluejets

Oct 5, 2014
6,927
Joined
Oct 5, 2014
Messages
6,927
You could also use transistors and a couple of changeover relays.
 
Top