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 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
      •  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 Arduino and Transistors Question - RE: School Musical Production
  • 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 126 replies
  • Answers 2 answers
  • Subscribers 403 subscribers
  • Views 7428 views
  • Users 0 members are here
  • raspberry
  • transistor
  • pi
  • arduino
Related

Arduino and Transistors Question - RE: School Musical Production

wallarug
wallarug over 11 years ago

One of the directors has asked me to create a special backdrop for our college musical. This particular backdrop has a particular design (see below) that includes LED strip lighting to give the feel of a 1920s casino sign – similar to what is seen today in Las Vegas.

I  have done up a detailed design for this sign, based off the rough sketch given to me by the director and the dimensions of the backdrop.  On this diagram, the arrangement of the LED strip lighting can be seen.

image

          

The LED Strip lighting that will be bought for this project will be sourced from Jaycar – “Low Cost 5m Flexible Adhesive LED Strip Light – Warm White” (ZD0577).  According to the specifications off Jaycar’s website, these LED lights need 1.1 Amps per metre @ 12 volts.  This means that the longest segments of lights need 1.1 * 1.5 = 1.65 Amps of power (rounded up by 20% for safety: 2.0 Amps @ 12 volts).

 

This would not be an issue if I was just turning these LED Strips on and off with mains power BUT I want to control these LEDs via an Arduino, so that they can do fancy things like flash and chase.  That means that I would need a circuit to control these lights with an Arduino so that everything remains safe and does not blow up.

I have come up with this circuit (below) using a couple of NPN transistors and two power supplies.  In the diagram below, I am aware that the transistor pinouts are EBC.  The ones I am going to buy have a pinout of BCE.

 

image

 

The only problem with this is that I have very little understanding of transistor circuits.  What this circuit has to be able to do is:

  • Using the smallest amount of current from the Arduino (at 5 volts) or a Raspberry Pi (3v3 volts), turn on the circuit to allow the 12 volts that powers the LED strip lighting to flow.

 

I was thinking of using either TIP41C NPN Transistors (in a darlington Array) or TIP122 NPN transistors.

 

This circuit will be replicated 8 times over to accommodate for the number of LEDs I am controlling.

 

 

Can anyone help me:

  1. Design a circuit that will work 100% and will be safe (ie: low heat)
    1. This includes base resistance
  1. Confirm which transistors I should be using for this project.

 

Any help will be much appreciated.

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago +1
    Sorry the one I suggested wont work, but this one should http://www.jaycar.com.au/productView.asp?ID=ZK8821 10+ current rating and at 0.016ohms it should be good for your needs pdf here http://www.vishay…
  • mcb1
    mcb1 over 11 years ago in reply to jw0752 +1
    John If you are referring to this It means that at a gate voltage of 1.6 typ, a current of 250uA will be flowing in the Drain. If you look here, you can see that from 3 to 3.3v will give you enough to…
  • D_Hersey
    D_Hersey over 11 years ago +1
    Solenoid Whapper:
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    If you want to drive the strips easily then using a logic level FET will work the easiest for you

     

    something like this, a few K gate resistor would be all thats needed between the Arduino and the FET

    http://canada.newark.com/fairchild-semiconductor/fdp7030bl/n-channel-mosfet-30v-60a-to-220/dp/38C7149

     

    and with your loads they will not require heat sinks as the on resistance is only 0.009ohms so even at 60Amps thats only 0.6W so at 2 Amps its only 0.02W.

     

    now you mention running and other patterns, if your using all one color strips running on 12 V then the whole strip will be on or off, or using PWM any brightness in between

     

    if you use strips that have LEDs like WS2812B then you dont need drivers, they will work on 5V and you can make any LED be any color and intensity you like (Yes, every individual LED)

     

    AdaFruit sell them under the brand of NEOPixel https://learn.adafruit.com/adafruit-neopixel-uberguide

     

    you can also get LED strips that are RGB so you can change the strip color but all the strip will be the same

     

    either way, with the exception of the strips with the WS2811/12 LEDs, the FET I linked in will work easily for you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 11 years ago

    You can avoid using resistors if you use a logic level FET instead of bipolar transistors.

    The NTD4906N-35G is a low cost power FET that will not get hot at this current.

    This transistor will generate less than .025 watts of heat when driving 2 Amps:

    If you want to limit the transient current to the transistor gate you could insert a resistor between the arduino and the transistor - anywhere from 1K to 10K ohms should be fine.

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago

    A really quick reply....apologies.

    Your transistor solution doesn't have enough gain to drive them properly.

    I posted somewhere else here ... can't find it immediately

     

    Fets are a good idea. so follow Doug  and John

     

     

    Rather than pay an exorbitant price for leds, send an email to Doug

    http://www.dougswordclocks.com/

    He has them for his clocks at a much better price ... tell him I sent you (Mark Beckett from NZ)

     

    Cheers

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to mcb1

    I have tubes of logic level FETs they are so useful to increase the operating range of your microcontroller's switching function. Simple plug and go as per Doug's circuit and often good for 10A depending on the model for a few cents!

     

    I would imaging if you are driving a Metre or two of lights you will probably need a bit of Aluminum strip as a heatsink or if you are doing a PB some copper fill for the same purpose.

     

     

    I think for simplicity the stick on strips are a good idea, although I think they may be very bright in this application.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • wallarug
    0 wallarug over 11 years ago

    Thank you everyone for your feedback.

     

    It seems that the best option for this project is FETs (from the above feedback).  Douglas' schematic seems like the way to go except with only one LED strip in the circuit.

     

    1.  Can anyone suggest a suitable FET from Jaycar as this is where I will be sourcing all my materials?

     

    Just to clarify:

    i.  The circuit will power only ONE LED strip.  I will be having 7 of the same circuit on a PCB to accommodate 7 LED strips.

    ii.  Logic voltage will be 5 volts (from arduino)

    iii. Circuit voltage will be 12 volts from an external power source.

     

    Thanks again guys for all the help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to wallarug

    Looks like the  choice isnt that great at least at the UK Jaycar you may consider going for the low power 2n7000 FET on the output of the Logic then have it switch the Gate of the bigger FETS they have using the available 12V supply.

     

    The few IRF transistors are more suited to 5V minimum........

    Doh .....Saw Arduino...

    IRF540 should be OK in that case

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to Problemchild

    I'd try and get the part specified by Douglas if you could BTW as this looks like an Excellent part.

    Otherwise the '540 again if you are stuck with Jaycar only

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • wallarug
    0 wallarug over 11 years ago in reply to Problemchild

    I think the 2N7000 is ruled out.  --> maximum current of 2 Amps drain.

     

    The IRF540N (which Jaycar AU supply) seems like a contender with maximum drain current of 33 Amps.

     

    All I really want to know is:

    1. Will I be able to use  xxxxxx part without damaging the lights or Controller (Arduino) and with low heat?

    2. How to use the FET in a circuit correctly --> which has partly been answered by Douglas.  From my own research I think I might need a resistor from the Arduino to the Gate of the FET.

    3.  How much current will come out of the Arduino due to the FET controlling the 2 Amp load ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    Sorry the one I suggested wont work, but this one should http://www.jaycar.com.au/productView.asp?ID=ZK8821 10+ current rating and at 0.016ohms it should be good for your needs

     

    pdf here http://www.vishay.com/docs/72512/72512.pdf

     

    oh and you get 2 in one package

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 11 years ago in reply to wallarug

    The 2n7000 was merely a throw away to drive the gate of a bigger FET not for driving the LOAD directly

    1) Most probably use a bit of aluminum strip as a heat sink  for each of the FETs if you want to be safe

    2) Yep, Douglas is right ...this stuff is that easy!! The Gate of the FET is high impedance any way no real need for a resistor

    3)Bugger all image !! The FET is doing all the heavy lifting and all you need to do is keep the Gate On

     

    4) Consider the 2n7000 to drive the IRF540 then you can operate the gateof the '540 from say 12V and really turn the gate hard on, lowering the Rds(on) as much as possible decreasing the dissipation.

    • Cancel
    • Vote Up 0 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