Post Top Ad

Friday, June 21, 2024

Different types of led lights/ how to make led lights at home/ how to put on led lights.


 Different types of led lights/ how to make led lights at home/ how to put on led lights.

This instructable shows how to wire up one or more LEDs in a basic and clear way. Never done any work before with LEDs and don't know how to use them? Its ok, neither have I.


So I wasn't completely honest - I have used LEDs once or twice before for simple applications, but I never really knew what I was doing, and since so many projects on instructables use LEDs, I thought I might as well teach myself and post about it too.


I know that there are many projects already posted that contain information about how to wire LEDs for simple projects - LED Throwies, LED Beginner Project: Part 2 and 9v LED flashlight - teh best evarrr!, but I think that there could still be some use for a detailed step by step explanation about the basics of LEDs for anyone who could use it.


The first step was to buy some supplies and figure out what I would need to experiment with. For this project I ended up going to Radioshack because its close and a lot of people have access to it - but be warned their prices are really high for this kind of stuff and there are all kinds of low cost places to buy LEDs online.

To light up an LED you need at the very minimum the LED itself and a power supply. From what I have read from other LED instructables wiring in a resistor is almost always a good idea.


If you want to learn about what these materials are check out these wikipedia entries:

LEDs

Power supply

Resistors



LEDs - I basically just reached into the drawer at Radioshack and pulled out anything that wasn't more than $1 or $2 per LED. I got:

2760307 5mm Red LED 1.7V

2760351 5MM Yellow LED 2.1V

2760036 Flasher Red LED 5V

2760041 2 Pack Red LED 2.6V

2760086 Jumbo Red LED 2.4V


Power Supply - I really didn't know what I would need to power them so I bought some 9V batteries and some 1.5V AA's. I figured that would allow me to mix and match and make enough different voltage combinations to make something light up - or at least burn those little suckers out in a puff of smelly plastic smoke.


Resistors - Again, I wasn't too sure what I would need in terms of resistors here either. Since I got a whole bunch of different LEDs with various voltages I knew that I would need a couple different types of resistors, so I just bought a variety pack of 1/2 Watt Carbon Film Resistors (2710306).

I gathered up a soldering gun, solder, needle nose pliers, electrical pliers, some primary wire and electrical tape too since I thought they might be useful.

LEDs come in different sizes, brightnesses, voltages, colors and beam patterns, but the selection at Radioshack is pretty small and so I just picked up a couple different LEDs from what they had in a few different brightnesses and voltages. I kept close track of what LED was what voltage because I didn't want to accidentally send too much current through one of the low voltage LEDs.


The first thing I did with the LEDs was figure out which wire (its called an electrode) was positive and which was negative. Generally the longer speaking wire is the positive electrode and the shorter wire is the negative electrode.


You can also take a look inside the LED itself and see whats going on. The smaller of the metal pieces inside the LED connects to the positive electrode and the bigger one is the negative electrode (see picture below). But be warned - in the LEDs I picked up I didn't always find this to be true and some of the LEDs had the longer electrode on the negative when it should be on the positive. Go figure - its OK though, if it didn't light up I just flipped it around.

Once I knew what was positive and what was negative I just had to remember what the voltage of each LED was.


All my LEDs recommended 20mA of current. 20mA is standard for most LEDs.

To make the power supplies I just soldered some wire onto the ends of the batteries I had bought so that I could easily attach the LEDs to them. The 9V battery served as my 9V power supply, one AA battery made a 1.5V power supply and three AA batteries bundled together made a 4.5V (1.5V + 1.5V + 1.5V = 4.5V) power supply. I didn't use alligator clips on the ends of the wire, but they would have been helpful here.

I opened up the assortment pack to find that resistors aren't labeled with what value they are. The pack said it contained a whole bunch of different resistors from 100 ohms to 1 Mega ohm so I set out to see what was what. When I poked around online I found that all resistors have a coding system on them that tells you what value they are.


Here are two pages which explain in depth about how to calculate resistor values.


Do it yourself

or

Have it done for you


I'll go through the examples of how I calculated the values ​​myself in the next few steps when I start wiring up my LEDs.

For the time being I just admired their little colored stripes and moved on to try to get just one LED to light up.

I thought that I would start as simply as IPossibly could - just one LED with no resistor. First I had to decide what power source to use and which LED to light up. This may seem obvious, but this was my first time through so I might as well be as clear as possible...


LEDs require sufficient voltage to light them. Sometimes if you give them too little voltage they won't light at all, other times they will just shine dimly with low voltage. Too much voltage is bad and can burn out the LED instantly.


So ideally you would like the voltage of the LED to match the voltage of your power supply, or even be slightly less. To do this you can do a couple of things: change your power supply voltage, change the LED your using, or you can use a resistor that allows you to use a higher voltage power supply with a lower voltage LED.


For now I just wanted to get one lit up so I chose my power supply that had the lowest voltage - the single AA battery which outputs 1.5V.


I chose to light the red 1.7V LED since the battery outputs 1.5V and I knew I wouldn't kill the LED with too much power.

I wrapped my positive wire from the battery to the positive electrode of the LED and wrapped the negative wire from the battery to my negative electrode and presto - let there be LED light!


This first experiment was pretty easy to do - just some wire twisting and enough knowledge to know that the 1.5V power supply would light the 1.7V LED without needing a resistor.


It was just a coincidence that I bought an LED that was 1.7V and that it ended up working being able to be powered by my 1.5V power supply without the use of a resistor. For this second setup I decided to use the same LED, but up my power supply to the three AA batteries wired together which output 4.5V - enough power to burn out my 1.7V LED, so I would have to use a resistor.


To figure out which resistor to use I used the formula:

R = (V1 - V2) / I


where:

V1 = power supply voltage

V2 = LED voltage

I = LED current (usually 20mA which is .02A)


Now there are lots of calculators online that will do this for you - and many other instructables reference this as a good one, however, the math really isn't too hard and so I wanted to go through the calculation myself and understand whats going on .

Again, my LED is 1.7V, it takes 20mA (which is .02 A) of current and my supply is 4.5V. So the math is...


R = (4.5V - 1.7V) / .02 A

R = 140 ohms


Once I knew that I needed a resistor of 140 ohms to get the correct amount of voltage to the LED I looked into my assortment package of resistors to see if I could find the right one.


Knowing the value of a resistor requires reading the code from the color bands on the resistor itself. The package didn't come with a 140 ohm resistor but it did come with a 150 ohm one. Its always better to use the next closest value resistor greater than what you calculated. Using a lower value could burn out your LED.


To figure out the color code you basically break down the first two digits of the resistor value, use the third digit to multiply the first two by and then assign the fourth digit as an indicator of tolerance. That sounds a lot more difficult than it really is.

Using the color to number secret decoder website found here, a 150ohm resistor should have the following color code...


Brown because the first digit in the resistor value I needed is 1

Green because the fifth digit is 5

Brown because in order to get to 150 you have to add one 0 to 15 to get to 150.

Gold - the resistors I got all have 5% tolerance and 5% is represented by gold


Check out the decoder page link above if this isn't making sense.


I looked through all the resistors, found the one that was brown, green, brown, gold, and wired it in line on the positive electrode of the LED. (Whenever using a resistor on an LED it should get placed before the LED on the positive electrode).

Low and behold, the LED lit up once again. The 150 ohm resistor stopped enough of the 4.5V power supply from reaching the 1.7V LED that it lit up safely and kept it from burning out.


This is just the process that I went through to figure out what resistor to use with my particular LED with my particular power supply. You can easily use the formula above to figure out what value resistor to use with whatever LED and power source you happen to be using.


 Different types of led lights/ how to make led lights at home/ how to put on led lights.

This instructable shows how to wire up one or more LEDs in a basic and clear way. Never done any work before with LEDs and don't know how to use them? Its ok, neither have I.


So I wasn't completely honest - I have used LEDs once or twice before for simple applications, but I never really knew what I was doing, and since so many projects on instructables use LEDs, I thought I might as well teach myself and post about it too.


I know that there are many projects already posted that contain information about how to wire LEDs for simple projects - LED Throwies, LED Beginner Project: Part 2 and 9v LED flashlight - teh best evarrr!, but I think that there could still be some use for a detailed step by step explanation about the basics of LEDs for anyone who could use it.


The first step was to buy some supplies and figure out what I would need to experiment with. For this project I ended up going to Radioshack because its close and a lot of people have access to it - but be warned their prices are really high for this kind of stuff and there are all kinds of low cost places to buy LEDs online.

To light up an LED you need at the very minimum the LED itself and a power supply. From what I have read from other LED instructables wiring in a resistor is almost always a good idea.


If you want to learn about what these materials are check out these wikipedia entries:

LEDs

Power supply

Resistors



LEDs - I basically just reached into the drawer at Radioshack and pulled out anything that wasn't more than $1 or $2 per LED. I got:

2760307 5mm Red LED 1.7V

2760351 5MM Yellow LED 2.1V

2760036 Flasher Red LED 5V

2760041 2 Pack Red LED 2.6V

2760086 Jumbo Red LED 2.4V


Power Supply - I really didn't know what I would need to power them so I bought some 9V batteries and some 1.5V AA's. I figured that would allow me to mix and match and make enough different voltage combinations to make something light up - or at least burn those little suckers out in a puff of smelly plastic smoke.


Resistors - Again, I wasn't too sure what I would need in terms of resistors here either. Since I got a whole bunch of different LEDs with various voltages I knew that I would need a couple different types of resistors, so I just bought a variety pack of 1/2 Watt Carbon Film Resistors (2710306).

I gathered up a soldering gun, solder, needle nose pliers, electrical pliers, some primary wire and electrical tape too since I thought they might be useful.

LEDs come in different sizes, brightnesses, voltages, colors and beam patterns, but the selection at Radioshack is pretty small and so I just picked up a couple different LEDs from what they had in a few different brightnesses and voltages. I kept close track of what LED was what voltage because I didn't want to accidentally send too much current through one of the low voltage LEDs.


The first thing I did with the LEDs was figure out which wire (its called an electrode) was positive and which was negative. Generally the longer speaking wire is the positive electrode and the shorter wire is the negative electrode.


You can also take a look inside the LED itself and see whats going on. The smaller of the metal pieces inside the LED connects to the positive electrode and the bigger one is the negative electrode (see picture below). But be warned - in the LEDs I picked up I didn't always find this to be true and some of the LEDs had the longer electrode on the negative when it should be on the positive. Go figure - its OK though, if it didn't light up I just flipped it around.

Once I knew what was positive and what was negative I just had to remember what the voltage of each LED was.


All my LEDs recommended 20mA of current. 20mA is standard for most LEDs.

To make the power supplies I just soldered some wire onto the ends of the batteries I had bought so that I could easily attach the LEDs to them. The 9V battery served as my 9V power supply, one AA battery made a 1.5V power supply and three AA batteries bundled together made a 4.5V (1.5V + 1.5V + 1.5V = 4.5V) power supply. I didn't use alligator clips on the ends of the wire, but they would have been helpful here.

I opened up the assortment pack to find that resistors aren't labeled with what value they are. The pack said it contained a whole bunch of different resistors from 100 ohms to 1 Mega ohm so I set out to see what was what. When I poked around online I found that all resistors have a coding system on them that tells you what value they are.


Here are two pages which explain in depth about how to calculate resistor values.


Do it yourself

or

Have it done for you


I'll go through the examples of how I calculated the values ​​myself in the next few steps when I start wiring up my LEDs.

For the time being I just admired their little colored stripes and moved on to try to get just one LED to light up.

I thought that I would start as simply as IPossibly could - just one LED with no resistor. First I had to decide what power source to use and which LED to light up. This may seem obvious, but this was my first time through so I might as well be as clear as possible...


LEDs require sufficient voltage to light them. Sometimes if you give them too little voltage they won't light at all, other times they will just shine dimly with low voltage. Too much voltage is bad and can burn out the LED instantly.


So ideally you would like the voltage of the LED to match the voltage of your power supply, or even be slightly less. To do this you can do a couple of things: change your power supply voltage, change the LED your using, or you can use a resistor that allows you to use a higher voltage power supply with a lower voltage LED.


For now I just wanted to get one lit up so I chose my power supply that had the lowest voltage - the single AA battery which outputs 1.5V.


I chose to light the red 1.7V LED since the battery outputs 1.5V and I knew I wouldn't kill the LED with too much power.

I wrapped my positive wire from the battery to the positive electrode of the LED and wrapped the negative wire from the battery to my negative electrode and presto - let there be LED light!


This first experiment was pretty easy to do - just some wire twisting and enough knowledge to know that the 1.5V power supply would light the 1.7V LED without needing a resistor.


It was just a coincidence that I bought an LED that was 1.7V and that it ended up working being able to be powered by my 1.5V power supply without the use of a resistor. For this second setup I decided to use the same LED, but up my power supply to the three AA batteries wired together which output 4.5V - enough power to burn out my 1.7V LED, so I would have to use a resistor.


To figure out which resistor to use I used the formula:

R = (V1 - V2) / I


where:

V1 = power supply voltage

V2 = LED voltage

I = LED current (usually 20mA which is .02A)


Now there are lots of calculators online that will do this for you - and many other instructables reference this as a good one, however, the math really isn't too hard and so I wanted to go through the calculation myself and understand whats going on .

Again, my LED is 1.7V, it takes 20mA (which is .02 A) of current and my supply is 4.5V. So the math is...


R = (4.5V - 1.7V) / .02 A

R = 140 ohms


Once I knew that I needed a resistor of 140 ohms to get the correct amount of voltage to the LED I looked into my assortment package of resistors to see if I could find the right one.


Knowing the value of a resistor requires reading the code from the color bands on the resistor itself. The package didn't come with a 140 ohm resistor but it did come with a 150 ohm one. Its always better to use the next closest value resistor greater than what you calculated. Using a lower value could burn out your LED.


To figure out the color code you basically break down the first two digits of the resistor value, use the third digit to multiply the first two by and then assign the fourth digit as an indicator of tolerance. That sounds a lot more difficult than it really is.

Using the color to number secret decoder website found here, a 150ohm resistor should have the following color code...


Brown because the first digit in the resistor value I needed is 1

Green because the fifth digit is 5

Brown because in order to get to 150 you have to add one 0 to 15 to get to 150.

Gold - the resistors I got all have 5% tolerance and 5% is represented by gold


Check out the decoder page link above if this isn't making sense.


I looked through all the resistors, found the one that was brown, green, brown, gold, and wired it in line on the positive electrode of the LED. (Whenever using a resistor on an LED it should get placed before the LED on the positive electrode).

Low and behold, the LED lit up once again. The 150 ohm resistor stopped enough of the 4.5V power supply from reaching the 1.7V LED that it lit up safely and kept it from burning out.


This is just the process that I went through to figure out what resistor to use with my particular LED with my particular power supply. You can easily use the formula above to figure out what value resistor to use with whatever LED and power source you happen to be using.

No comments:

Post a Comment

Post Top Ad

Pages