Connect with us

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

Discussion in 'Sensors and Actuators' started by Empty_Atoms, Jun 20, 2017.

Scroll to continue with content
  1. Empty_Atoms

    Empty_Atoms

    3
    0
    Jun 20, 2017
    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?
     

    Attached Files:

  2. Bluejets

    Bluejets

    3,995
    826
    Oct 5, 2014
    Just use a H-bridge.
    Designed for the job.

    Example youtube video........
     
    Last edited: Jun 20, 2017
    Empty_Atoms likes this.
  3. Empty_Atoms

    Empty_Atoms

    3
    0
    Jun 20, 2017
    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.
     
  4. BobK

    BobK

    7,680
    1,685
    Jan 5, 2010
    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 likes this.
  5. Empty_Atoms

    Empty_Atoms

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

    BobK

    7,680
    1,685
    Jan 5, 2010
    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
     
    Empty_Atoms likes this.
  7. Bluejets

    Bluejets

    3,995
    826
    Oct 5, 2014
    You could also use transistors and a couple of changeover relays.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-