# LED Christmas Tree

15,427

41

13

## Introduction: LED Christmas Tree

A nifty little LED Christmas tree made from nothing but LEDs, resistors, and a found power supply.

## Step 1: Parts

This tree has made of 17 Red, Green and Yellow LEDs - the cheapest the electronics store had in stock. (no idea what manufacturer)
Their specs: (same for all colours)
forward voltage drop = 2.0V
max continuous current = 15mA
If you can, try to get LEDs that have the same specs - it's easier to design your tree.

The power supply used is from an old printer found out on the street - any sort of DC power supply will do, but the higher the voltage, the better. The one I am using supplies 30V, at up to 400mA. Enough power for 300 LEDs, but that's overkill. :-D

## Step 2: Design - Electrical

There are three possibilities when designing the Christmas tree circuit, depending on the number of LEDs, their forward voltage drop, and voltage of the power supply.

1. The LEDs drop LESS voltage than the power supply supplies.
(That is for example, if you have a 12V supply, and you have 5 LEDs - each with a forward voltage of 1.8V - then the LEDs drop only 9V)
If you connect the LEDs in series directly to the power supply, too much current will flow, and at least one of the LEDs will destroy itself (hopefully breaking the circuit, and protecting the rest)

You need a resistor to restrict the amount of current to a safe level. To calculate the total resistance needed:
R = (Vs - Vf*N)/Is
Vs: Supply voltage
Vf: Foward voltage drop across 1 LED.
N: Number of LEDs
Is: Safe current for a LED.

My initial design looked like schematic A: R1 and R2 are each HALF of R_total (for symmetry) because resistors in series are added to calculate the total resistance.

2. The LEDs drop exactly the same voltage that the power supply ... supplies. Great! No resistors are needed, just connect every LED up in series, and wire to the power supply terminals.
Be careful you have calculated correctly though, or a LED may fry.

3. The LEDs drop MORE voltage than the power supply can supply. Bad news - you can't connect every LED in series. You CAN however split the LEDs into parallel chains. If you look at schematic B, you can see that there are two paths from Vcc (+) to Gnd (-). The path on the left only has 2 LEDs, so it needs a resistor to keep the current at a safe level. (Scenario 1) The path on the right has 15 LEDs, which because each LED drops 2.0V, and the power supply is 30V, gives me exactly the right amount of voltage drop - no resistor needed. (Scenario 2)

Once you have your power supply and desired number of LEDs, you can see which scenario you have, and design your tree!

## Step 3: Design - Aesthetic

Artistic skills time!

When designing your tree just remember:

1. It has to be an electrical circuit (see previous step), and so try and visualise the path the electricity takes.

2. Try not to make the distance between connected LEDs any more than twice the distance of the LED's leads, or you'll need to use extra wire (complicated)

If you look at the design B, you can see that there are two paths between the two terminals. The wires on the underside of the lowest green LEDs only connect to one terminal, and bypass them on the way around the outline of the tree. The other terminals of the lowest green LEDs are connected through the resistor, making two parallel circuits.

## Step 4: The Jig Is Up!

This project does not use a circuit board, and as anyone who has tried to solder components together without one will know, it's HARD! The tree is even more difficult, as the wires and placement of components is aesthetic - you want the wires to be straight, and the tree to be symmetrical.

To overcome this, I used a jig - print out your design (or hand-draw it), and glue it to a scrap piece of wood, at least 5mm (1/4inch) thick. If you have a smooth wood like pine or MDF, you could just draw directly on it.

Find a drill bit the same size as your LEDs (3mm or 5mm, usually), and drill a shallow hole where each LED should go. Ideally each LED will fit snugly into the holes, without wiggling around.

## Step 5: Soldering the LEDs

Figure out whether your tree should have (conventional) current flowing clockwise, or anti-clockwise. This will depend on the location of your power supply contacts, and which way you want it to be oriented to have the tree face forward.
Now, reverse it, because you'll be working upside down (I missed this, so my tree has the brick facing the wrong way)

Put each LED into the jig holes, making sure that they are oriented so that the positive lead of the first LED will go to the power supply (possibly through a resistor first), and that the negative lead of each LED goes to the positive lead of the next LED.

Carefully bend the leads of adjoining LEDs toward each other, and trim any excess so that ~1cm of overlap exists. Align them closely, then solder together.

WARNING:
LEDs are temperature sensitive - get them too hot, and they will burn out.
SOLDER AS FAR AWAY FROM THE LED AS YOU CAN
Try and melt the solder and put it on the connection, rather than heating up the wires until the solder melts onto them.
If you are not successful with soldering a connection in the first ~10 seconds, wait for the LEDs to cool down before retrying. If you're soldering two long leads together, the risk is only small, but if the LEDs are very close together (like the yellow LEDs in my design) then you have to be much more careful.

LED diagram is from wikipedia

## Step 6: Almost There...

(If you rush the extraction, you'll warp your tree)
With a pair of pliers, go around the jig carefully teasing out the LEDs. The more care used here, the less your tree will be bent. For example, pull each LED out a fraction, then move to the next one, then come back and pull each out a little further, until the tree is free.

Once removed, the tree needs to be connected to the power supply. If you have a nice compact brick like mine, then you can use it as a solid base as well... otherwise you may need a small wooden block.

(If the terminals have any gaps around them, this is much easier)
Insert the tree legs into the gaps, or bend the legs at 90 degrees, and solder to the terminals - CHECK you have the polarity correct... :-D

Now that the tree is firmly anchored, you can correct any warping that has occurred by gently bending the tree. Make sure that no wires are shorted together before you plug it in.

This instructable has not shown the checking at each stage of construction that was done to ensure that each LED is around the right way, that the electrical design will work, that the power supply actually supplies the amount of voltage that it says it does, that the LED's forward voltage drop is what the spec sheet says it is, and that no LEDs have overheated during construction.
Exercise due care, (equivalent to 'measure twice, cut once') and you won't have things go wrong. ;-)

## Step 7: Done!

Hooray! A new Christmas tree that doesn't take up heaps of space when not in use.

If you want to make it more durable, you could look at:
- Making the Jig out of clear Perspex, and leaving the LEDs embedded in it.
- Casting the entire thing in Lucite! Muahahahaa....

The only bad thing about my tree is the lack of present space. Oh well! I guess I'm buying everyone MicroSD cards!

27 3.1K
74 8.0K
51 6.6K
24 5.7K

## 13 Discussions

Nice instructable.

i am very new to Instructables and my electronics knowledge is very basic.  I need to make a circuit of 150 LEDS.  But the distance between each LED will vary with the smallest distance being around 5cm and the greatest distance being about one metre.  When you say:

Try not to make the distance between connected LEDs any more than twice the distance of the LED's leads, or you'll need to use extra wire (complicated)

Is there somewhere you can point me online where I can see what you mean?  How complicated is it and will it make it extremely difficult if the distances between the LEDS varies?

I want to use a 12v power supply, not a batteries.  Maybe LEDS are not the way to go with this project?

Thank you!

With a 12V power supply you can run as many LEDs as you want, but not necessarily all in series. The way to do it is to experiment with your LEDs and a resistor to see how many LEDs can be run in series, like:
12V ------[LED]--[LED]-......--[LED]----[resistor]------0V
And then build as many parallel chains of this configuration as you need for the project.

The size of the resistor will affect how bright the LEDs are.
The brightness of the LEDs will affect how much current each chain will use. (If very bright, up to 20mA)
The limit on how many LEDs you can drive will be the current rating of the power supply. If it's rated at 500mA and your chains each use 20mA, you can have up to 25 chains.

Hope that helps.  :-)

OK, so I can have a single 12V power supply with multiple chains in parallel circuits running from it.  I just need to do the math or...

I will use http://ledcalculator.net/ to design the circuit and ensure that I have the specs of the LEDs correct to limit problems with blowing the LEDs or them getting too hot etc.

My question is whether or not there is any loss in power if I am wiring the LEDS one metre apart?  Will I have to take into account current (?) loss over the length of the wires? Or is the loss minimal?

As I am trying to wire a lot of these things over a 5 x 5m wall at varying distances I am assuming that the length of the wires will come into play when doing the math for the circuit(s) design.  But maybe I am wrong?

Sorry for my ignorance and thanks for your help.

There is no problem having longer wires. The only reason I stipulated putting the LEDs close together for this instructable was that they're soldered directly from one to the next. If they were further apart you have more joints to solder.

So for the maths, don't worry about the wire length.

Good luck with your project! :-)

Hey, that is a great tool! For those who aren't confident with electronics, at any rate.

Yours is wired in parallel, no? Any problems with slightly different voltage drops among different LEDs? (cause you don't have a resistor for every LED) I like the 3d-ness of it... perhaps next year I'll take the power supply off this and build a bigger one, with lots of 2D 'slices' that make a nice big tree. 30V/200mA should get me a lot of serial/parallel chains.

Yep, mine's all in parallel. I actually do have a resistor for ever LED; they're in parallel, and I have 3 strings of LEDs, so there's 3 resistors (which are all made up of two resistors each). I take care of the slightly different voltage drops w/ different resistor values, and each string is only for one color (green & blue values are so close I counted them as one). Definitely make a 3-D version! it's awesome!

i had been thinking about making something like this for a while. Nice instructable!!

Very nice, and versatile, too - it could be re-shaped to match almost any festival for any religion that celebrates light (Diwali, Hanukkah, etc)

## +

another instructabler posted something like this, but his was WAY too hard! great instructable! (favorited)