element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Another question on parts...
  • 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
  • Replies 6 replies
  • Subscribers 402 subscribers
  • Views 523 views
  • Users 0 members are here
Related

Another question on parts...

Former Member
Former Member over 14 years ago

I have just ordered an LED strip which runs off 12v and this will be the first time I will be running loads over thw 5v max of the Arduino.

 

I have 3 questions which I an sure are simple enough for someone who isnt just starting (as I am). :-)

 

Question 1

 

I have found this blog post...

 

http://genericnerd.blogspot.com/2009/05/arduino-mood-light-controller.html

 

and this thread...

 

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1236091181

 

which both talk about a ULN2003.

 

However if I do a serch on the store for a ULN2003 I get a lot of different results and I am not sure which one to get.  (See the link below...)

 

http://uk.farnell.com/jsp/search/browse.jsp?N=0+5116518&Ntk=gensearch_001&Ntt=ULN2003&Ntx=mode+matchallpartial&suggestions=false&ref=globalsearch&_requestid=52633&No=0&getResults=true&appliedparametrics=true&locale=en_UK&catalogId=&prevNValues=0+5116518+5677403&filtersHidden=false&appliedHidden=false&originalQueryURL=%2Fjsp%2Fsearch%2Fbrowse.jsp%3FN%3D0%26Ntk%3Dgensearch_001%26Ntt%3DULN2003%26Ntx%3Dmode%2Bmatchallpartial%26suggestions%3Dfalse%26ref%3Dglobalsearch%26_requestid%3D52633%26No%3D0%26getResults%3Dtrue%26appliedparametrics%3Dtrue%26locale%3Den_UK%26catalogId%3D%26prevNValues%3D0

 

Question 2

 

Do the letters at the end of the chip name mean anything inperticular?  (eg ULN2003A or ULN2003ADE4)

 

Question 3

 

Whats the best way to get a 12v source from the mains power supply?

 

Somthing like this?

 

http://www.amazon.co.uk/Universal-MAINS-POWER-ADAPTOR-300MA/dp/B003BEZ7HI/ref=sr_1_1?ie=UTF8&qid=1303026736&sr=8-1

 

Thanks everyone...

  • Sign in to reply
  • Cancel
  • terryking
    terryking over 14 years ago

    Hello,

     

    There are low-cost 12V "wall warts" available in many places. Example: http://arduino-direct.com/sunshop/index.php?l=product_detail&p=124

     

    How much current does your LED strip take?? Does it have multiple sections or colors you want to control individually?

     

    One solution to controlling higher-power DC devices like yours is to use Power FETs (Field Effect Transistors) . There are pre-packaged units like this (This one has 4 separate circuits, and is optically isolated from Arduino and could be located some distance away, near your lights and power supply): http://arduino-direct.com/sunshop/index.php?l=product_detail&p=60    (Look through the photo section and you will see LED strips being controlled)..

     

    DISCLAIMER: I mentioned stuff from my own Shop...!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi,

     

    The ULN2003 and its later derivatives, can be examined/downloaded here for example:- (but there are many places to find similar info’s)

     

    http://www.datasheetcatalog.org/datasheets/1150/489336_DS.pdf

     

    They are most useful in driving smaller loads. Do remember that on some versions, although you have theoretically 7 x 0.5 amps (3.5 amps total), you must actually use far less as the total heat dissipation does not allow 3.5 amps, often only 2 amps…….this catches a lot of people out. Do heat-sink the chip or use a tiny fan to cool it (or both!!) if you are running near its thermal limit. Different versions can supply more current, so shop around.

    It’s probably best to have a 12 volt supply and use a separate regulator to make from this 12 volts  supply, the 5 volts for the Arduino.

     

    Depending upon the total amounts of current required, sometimes even a “Wall-Wart” like the one you mentioned will supply may be strong enough!!! Though I do recommend a quality one using a switched mode as they are exacter and run cooler…..they are also more energy efficient, which can become quite important if this will run 24 x 7 for example. I never use anything else….

     

    The one you depicted does not appear to be switched mode and may run hot and be far less efficient. Also some of these supplies are of very poor quality and supply voltages far, far away from the marking, usually very high especially when lightly loaded…..do always check the unloaded voltages with a good meter, you may be in for a shock. Some SMPSs need a slight load to run correctly voltage wise too……

     

    Do get one with switched mode…..they generally last longer too!!

     

    I buy Laptop power supplies from ebay, sometimes for only €1 (Plus €4,50 postage!), which are always switched mode, small, very energy efficient and can supply between 4 and 5 amps generally.

     

    Here is one delivering 12 volts at 3 amps for very little money!!:-

     

    http://cgi.ebay.co.uk/12V-ASUS-EEE-LAPTOP-AC-ADAPTER-POWER-SUPPLY-CHARGER-/270698521966?pt=UK_Computing_LaptopAccessories_PowerSupplies <http://cgi.ebay.co.uk/12V-ASUS-EEE-LAPTOP-AC-ADAPTER-POWER-SUPPLY-CHARGER-/270698521966?pt=UK_Computing_LaptopAccessories_PowerSupplies&hash=item3f06e3a56e> &hash=item3f06e3a56e

     

    Best wishes

     

    Andy M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to terryking

    The strip is this one...

     

    http://www.dealextreme.com/p/rgb-multicolored-1-meter-30-led-6w-light-strip-dc-12v-14965

     

    Your solution looks good but I was hoping to learn as I set it up but I will keep it in mind, thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    They are most useful in driving smaller loads. Do remember that on some versions, although you have theoretically 7 x 0.5 amps (3.5 amps total), you must actually use far less as the total heat dissipation does not allow 3.5 amps, often only 2 amps…….this catches a lot of people out. Do heat-sink the chip or use a tiny fan to cool it (or both!!) if you are running near its thermal limit. Different versions can supply more current, so shop around.

    It’s probably best to have a 12 volt supply and use a separate regulator to make from this 12 volts  supply, the 5 volts for the Arduino.

     

    OK, im very confused now :-)

     

    In the above linked blog posts ect, they are using ULN2003, are you saying that if I do use one, I need to cool it?

     

    And its probably just me being thick, but I am still no clearer on which model I should use and what the differences are, I read the PDF but if I am honest, am still no clearer.

     

    A link to the correct one would be great (and explanation why would also be helpful.)

     

    PS, thanks for the advice on the power source.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    All your questions are answered in the data sheet that I posted the link of in my previous post, you just need to spend some time looking through it.

    The sheet covers many devices that are similar as well as the device you asked about, some with higher currents and some lower, these are also detailed in the data sheet.

    Practicing reading data sheets is part of our hobby and very necessary.

    Best wishes.

    Andy M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • terryking
    terryking over 14 years ago in reply to Former Member

    Hi, A low-cost ULN2003 Breakout board ($2) is here: http://arduino-direct.com/sunshop/index.php?l=product_detail&p=172

     

    Disclaimer: From my own shop....

     

    Regards, Terry King

    ...In The Woods In Vermont

    terry@yourduino.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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