Electronic – LED Circuit (like a LED strip)

batteriesled

I'm want to build a lighting circuit just like a LED strip with 42(or 24) LEDS but I want to make it myself.
My questions are:
Would a AA battery be enough for all these LEDS?
Is this circuit correct?

enter image description here

Thank you

Best Answer

No, a 1.5 V battery is not going to light a string of LEDs. It can barely light some kinds of single visible LEDs. Also, you have the LEDs hooked up backwards in your diagram, so what you propose definitely won't work for several reasons.

Look in the datasheet for whatever LEDs you have, and find what forward voltage they will typically have when run at near full current. The voltage you will need will be about that times the number of LEDs you have in series. For example, let's say these are common green LEDs and drop 2.1 V each. 24 of them in series will require over 50 V, and 42 of them around 88 V.

However, you don't want to drive LEDs by controlling their voltage. You want to control the current instead, making sure that the system can supply a little more than the expected forward voltage. This is because LEDs inherently work on current, and because the current can change a lot with small changes in the voltage.

One way to achieve what you want is to use a boost converter to drive the string of LEDs. Instead of regulating the output voltage of the boost converter, you instead configure it to regulate its output current. A small sense resistor between the LED string and ground will give you a voltage signal proportional to the current thru the LED string. This becomes the feedback signal into the boost converter, which it then tries to regulate to a fixed value.

Take a look at the schematic of my KnurdLight where I did exactly that. In this case the circuit is lighting a string of 4 white LEDs, connected between P1 and P2 in the schematic. R6 is the current sense resistor. The voltage generated accross R6 is compared to a internal 600 mV reference built into IC1. 600 mV / 30 Ω = 20 mA, which is what these LEDs are rated for.

L1 is the boost converter inductor, and Q2 is the switch, which is driven by the microcontroller IC1. The extra parts R1, R2, Q1, R3, and R4 are there to prevent the boost converter from creating too high a voltage in case of the LED string getting disconnected or the wire broken. In that case, the current would be 0 and the feedback would make the boost converter keep increasing its output voltage until something would get damaged.