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 402 subscribers
  • Views 7429 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:
  • wallarug
    0 wallarug over 11 years ago in reply to Robert Peter Oakes

    Thanks Peter.

    Good suggestion.  It also keeps the cost down a little bit. The only thing I worry about is its form factor.


    I was planning on soldering everything onto a PCB Breadboard to build the circuit quicker.  I am not sure if I would be able to use that part on a breadboard like PCB.  I might head up to Jaycar later this afternoon and see what all these parts look like.

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

    4)  Sounds good! image

     

     

    New Question:

    5)  What if I want to PWM the FETs ?  for some cool fade effects? - Is that possible to do safely?

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

    Nice part  Peter good low resistance for a logic input voltage which is the main point $4.30 is a bit steep though are Jaycar known for that in Australia, the only thing I really know about them is that Dave Jones mentions them!!

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

    5) Switch away, the LEDs are not overly complicated loads in that respect and they don't care about been switched off and on you could do it 1000's of times a second if you fancied. I think the maximum rate a Joe average LED can be switched is of the order of 10MHZ no doubt these big LEDs will be less but that's not a problem.

    • 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 was more worried about the FETs to be honest.

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

    If this was a massively inductive or capacitive load this might of been an issue but in this case you are good to operate that PWM at any reasonable frequency you can achieve with the Arduino

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

    Sweet.  Thanks for all the help.

     

    I think this is what I am going to go with:

    Arduino (5V) to 2N7000 (driving 12V) to IRF540N which will switch the LEDs on.

     

    I will get back to you if I need any further help.

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

    any way no real need for a resistor

    IMO you should add a resistor and a diode up to the 5v, at the Arduino end.

    I've seen fets destroyed and its often the Drain to Gate that goes, dumping the load voltage (12v in this case) up the gate.

     

    However since this is a short use device the risk is minimal.

     

    mark

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

    1. The FET suggested by Peter (or the one I suggested) should not get hot or damage anything during low frequency operations. (the solution suggested by John can work as well, but this explanation doesn't cover that solution or associated risks)

    2. A resistor on the gate protects the arduino, but can cause the FET to get hot during high frequency operations (like PWM) so best design depends on how often the FET will get switched. Either resistor in or out should be safe for this application - a low value resistor like 470 ohms is a reasonably even compromise slightly favouring the more expensive arduino component.

    3. These FETs only require about 100 nanoamps to the gate in static states, even with a 2 Amp load. During switching the gate capacitance must be charged and discharged causing transient currents to flow. Atmel seems to use average current to define danger levels (calculated by Voltage x Gate Capacitance x Frequency) Where frequency here would be PWM frequency. This should be under 1 mA for these FETs in this application - well within the arduino output limit.

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

    Nice explanation Doug, I quite agree and I just checked my kitchen dimmer which is basically the same circuit and it is using a 1K resistor, I guess it was laying around in my junk box when I needed one, either way it only needs to be enough to limit the current a bit but still way below the limits of the Arduino pins

    • 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