element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Powering external devices with Arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 10 replies
  • Answers 2 answers
  • Subscribers 392 subscribers
  • Views 1292 views
  • Users 0 members are here
  • releis
  • control
  • servo
  • shield
  • arduino
  • powering
Related

Powering external devices with Arduino

balearicdynamics
balearicdynamics over 10 years ago

Hi to all,

 

I'd like to discuss a question. I am working on the design of an Arduino shield that should manage a separate power to drive a couple of servos and another device driver by 3.3VCC from the Arduino board. What is your opinion about the better solution:

  1. Use a relais driven by an Arduino pin through a transistor, powered by the Arduino 5VCC to manage the two servo power, and power the 3.3 device with the same relais (has independent ports controlled simultaneously
  2. Use a four digital switches NTE4066BT (two pins only) while the other two are already used by the circuit
  3. Some better idea ?

My vision is that with a single relais (so using a single digital pin on Arduino) I can control the powering of the external components - that are controlled by the shield - These need to be powered together anyway when the program is started.

 

What do you think about ? Thanks in advance.

 

Enrico

  • Sign in to reply
  • Cancel

Top Replies

  • clem57
    clem57 over 10 years ago +2 suggested
    The relays are an old and tried solution. There are many of those already. The second option, I am not familiar with. Is this the specs? The NTE4066B (14−Lead DIP) and NTE4066BT (SOIC−14) are integrated…
  • johnbeetem
    johnbeetem over 10 years ago in reply to balearicdynamics +2 verified
    I wasn't suggesting both SSR and ULN2003 -- either use one or the other, depending on what you're doing. My understanding is that your ultimate goal is to turn motors on and off, in which case the ULN2003…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to johnbeetem +2
    Hey John, thank you for your clarification. In fact I thought you want to use both What you write is correct, I have already used ULN2003 to drive motors and as they have a limitation of about 1A, when…
Parents
  • johnbeetem
    0 johnbeetem over 10 years ago

    For the proposed application, it sounds like it's fairly low voltage and can get by using a common ground.  In this case, I'd just use NPN transistors controlled by the Arduino.  If you need more current, use Darlington pairs, e.g., something like a Texas Instruments ULN2003LV.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • johnbeetem
    0 johnbeetem over 10 years ago

    For the proposed application, it sounds like it's fairly low voltage and can get by using a common ground.  In this case, I'd just use NPN transistors controlled by the Arduino.  If you need more current, use Darlington pairs, e.g., something like a Texas Instruments ULN2003LV.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to johnbeetem

    None at all. Exclude the transistor.

     

    First because the servos drain almost considerable current, second because I have already experienced the transistors and they are not reliable.

     

    But what I ask is: why I should complicate the things - that are something like replacing a power switch with a relais - with a SSR + USN2003 ??? For about 3$ there are nice sub-micro relais that drive up to 2A from 5 up to 12 VCC... With one single component.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 10 years ago in reply to balearicdynamics

    I wasn't suggesting both SSR and ULN2003 -- either use one or the other, depending on what you're doing.  My understanding is that your ultimate goal is to turn motors on and off, in which case the ULN2003 is a nice, cheap way to do it if you can use a common ground.  If you're just turning a separate board's power on or off, an SSR is nice.  If it's a lot of current, a mechanical switch normally has lower resistance but don't exceed the contact rating.

     

    Transistors are usually reliable.  However, you do have to make sure you don't exceed their voltage or current limits.  For example, if you're driving an inductive load like a motor, relay, or speaker coil you must use a flyback diode: http://en.wikipedia.org/wiki/Flyback_diode

    Otherwise when you switch the current off, the inductor will generate a high voltage spike that kills your transistor.  The ULN2003 has built-in flyback diodes.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to johnbeetem

    Hey John,

     

    thank you for your clarification. In fact I thought you want to use both image

     

    What you write is correct, I have already used ULN2003 to drive motors and as they have a limitation of about 1A, when I needed more power I have used ULN2004. In this case I have to manage with a separate power line low consuming devices (a micro camera consuming 180 mA) that need a separate power line for question of stability and a couple of micro servos. This is the reason that - in the need to automate all the manual commands (power, setting etc.) I though to use a micro-relay powering this part using the same 9Vcc battery-group (or wall-mount power) used to power Arduino but with a separate 5Vcc regulator. To drive the micro relais instead, I am using a N2222 NPN transistor. Maybe redundant or not, but there is the correct protection and no overheating in any place.

    I have tried before making the circuit and the things seems working, leaving some hours under test. A protection diode (4001) has been put anyway between the power connectors of the microswitch.

     

    Best, Enrico.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube