I am in the midst of planning a sculpture. The sculpture will require 7 IL151 5mm LEDs with a forward voltage of 3-3.5v . I have NO experience in electronics and I've been looking around and people have stated that a series circuit would be best for most LED projects. Now since the type of circuit I'm using would require a voltage equal to the voltage of all the LEDs, I would need a power supply of 21-24.5v (if I'm correct). Now how exactly should/could I power these? I don't think I can exactly power these would an obscene amount of batteries. I was wondering if I could use a DC power supply but how could I do it if it were possible. I would really appreciate any help I can get.
How to power 7 IL151 5mm Clear White LED leds for a sculpture in a series circuit
batteriespowerpower supplyseries
Related Solutions
You have asked a bunch of questions there which all have straightforward answers, but it's a bit much to try to cover them all in detail this space, but let me give some suggestions.
LED light for plant?
First, before proceeding, are you sure that LED light, which usually has a very narrow spectrum (or a few narrow lines), will be suited to plant light? I don't know about this, but it would be worth verifying before going to effort.
How to power and control LEDs
Next, you need a few clues about how to power and control LEDs.
You don't mention what the role of the Arduino will be -- will it be to turn the LEDs on and off, or do you want it to produce gradations of light intensity?
a) If on/off, you'll want an arduino shield that provides a relay or power-transistor which can switch an appropriate amount of current, which I'll get to below.
b) If gradations, you'll need a shield that can control the current in increments. Or, a popular alternative is an output controller that pulses the light very rapidly, controlling the overall light by the ratio of on to off time. This is referred to as "Pulse Width Modulation" or PWM. Again the PWM output switch element (transistor) needs to be rated for at least the amount of current you supply to your LEDs.
Edit: Arduinos usually have some outputs that are referred to as "analog outputs" but are actually PWM, so this capability is built in to the Arduino -- though you would still need to provide an external transistor to handle the current of the LEDs -- see examples online.
Supplying electricity to LEDs.
This is the mildly tricky part. LEDs are specified with a typical voltage and current number. For Cree ML-E: 3.2V at 150mA. So you might think "I'll hook eight of those up to 24 volts, and that'll be about right". Unfortunately, it's not so simple. LEDs have a characteristic whereby if you supply a little less than the nominal voltage, and they pass very little current and produce little light. A little more than the nominal voltage and they pass a great deal of current, and probably burn out.
So you don't want to supply a fixed voltage direct to an LED. Instead, you provide a supply which regulates the current. You'll notice that the LED supply you linked to is described as a constant current source. But you don't need to be that fancy. Instead, you can use a supply with a voltage higher than that needed by the LEDs, and put a resistor in series. Example:
Supply: 5V LED: requires 3.2V, 0.15A Voltage difference: 1.8V Resistor: I = V/R So R = V/I, = 1.8/0.15 = 12 ohms. (And FWIW, P = I * V = 0.15 * 1.8 = 0.27 W, so choose a half watt or better physical size of resistor.)
Yes, you can put a bunch of LEDs in series, so for your example 6 x 3.2 or 7 x 3.2 would be possibilities, and still have some voltage drop left between the LED requirements and the 24 V supply. (You will need to factor in that whatever is switching the LEDs, such as a transistor, will also add some voltage drop to the chain.)
Generally, it is a bad idea to attach LEDs (or chains of LEDs) directly in parallel, because the actual voltage for the nominal current may vary from one LED to another, and from one chain to another. So multiple LED chains should each have their own series resistor.
Power for Arduino
Transforming 24V for use with Arduino: The easy answer here is a 7805 voltage regulator which is super easy to use. There are zillions of references for this on the web, so I'll not elaborate. Couple of things to attend to:
a) 24V -> 5V is a relatively large drop for the 7805, so you will need to attach it to a heat sink.
b) The switching of the LEDs will cause sharp changes in the demands on the supply, so err on the side of using relatively large capacitors with the 7805, and parallel them with smaller caps to help with the high-frequency aspect of the sharp switching. This thread is representative. Capacitor Sizes for 7805 Regulator.
[Edit] I'd neglected to note that the original question asked about Arduino with 7-12V power input, which is because Arduino Uno has a voltage regulator that handles the power from the Power In jack. The Uno can run on 5V from USB (when no power is supplied at the Power In jack), but if you are supplying power to the jack, then as the questioner mentioned, that will need to be 7V or higher. So a reasonable solution would be a 7808 or 7809 to obtain 8 or 9V from 24V.
Hmm, let's start w/ power first: 3072 * 20mA * 2.1 = 130 W!
Your power supply can only give you about 5W. You're very much short there.
If you can, greatly reduce the size of your matrix.
One solution would be to use a desktop ATX power supply. Those have 5V lines through their hard drive connector and can give you lots of power. If you take the 5V you'll either need to design an LED drivers or you'll be burning (5V - 2.1V) * 20mA * 3072 = 180W. That's 180 watts of heat son! That's not gonna be good, or comfortable or usable. So you really need to design an efficient LED driver.
The main issue with driving LEDs is that their voltage drop is not consistent for the same current between different batches, meaning one LED will drop 2.0 and another 2.1. If you just line them up an give them 5V you'll get noticeable variations.
You can buy efficient LED drivers and google is your friend but not your best friend. Because it will find you drivers to drive a string of LEDs, not a single one. You want the LEDs to be individually controllable so you'll need to put a regulator on every single one of these -- that's 3072 individual copies of the same circuit -- and then enable/disable those. That is a lot of work.
Yes you can use shift registers to control each regulator. How you wire up the shift registers very much depends on the 'frame rate' that you want to get out of controlling these LEDs. I'm not gonna go there right now because as you can see the power/design to drive each individual LED is quite high and complex.
Related Topic
- Driving High Power LEDs with this circuit
- How to choose what a power supply to drive 2 x 10watt RGB LEDS
- Electronic – use a double insulated power supply with a metal framed sculpture with LEDs
- Electrical – Resistor for 20 LEDs in series
- Electronic – LED Strip setup on stairs. Unsure which power supply will work for 1200 LEDs
- Electronic – Finding current through LEDs in series-parallel circuit
Best Answer
simulate this circuit – Schematic created using CircuitLab
One thing that can be tried is 3 strips in parallel. First and second strip will have 2 LEDs and series resistors. Third strip can have three LEDs and series resistor. Then a 12 V supply would be sufficient. Sizing of resistors to be made accordingly.