quinta-feira, 15 de janeiro de 2009

Dancing lights

IntroDancing lights

In response to music. Use a LED light removed from a pen, lighter or similiar device and a few other components to build it. No soldering involved. This is a simplified version of the blinking LEDs instructable posted here earlier. I shall try to elaborately describe each step so that a person with little experience can successfully build one.

The emphasis shall be on the methods of wiring and testing a simple circuit. The product of this instructable is not the blinking light you build - it is the knowledge that you gain as you build this extremely simple circuit, with materials that are commonly available, with simple tools and very little specialised skills.
C:upldpen00.jpg
loading...
560x420 : FWYC0SUF2JKMWSK (1)
i

step 1Take the lamp apart

Parts: Now that many gadgets come with an LED torch (flashlight) built in, it's easy to just buy one and take apart for the batteries and LED. You have to liberate the torch part from the pen, cigarette lighter or keychain or whatever. You should get three button cells, one LED and some sort of switch for completing the circuit.

The picture shows a pen with built in LED flashlight.
C:upldpen01.jpg
loading...
560x119 : FLYPEU5F23Z375O (0)
i

step 2Three button cells

The LED torch (flashlight) consists of three button cells and an LED.

The three button cells are visible in this picture.
C:upldpen02.jpg
loading...
560x212 : FHHFEDOF23Z375L (1)
i

step 3And an LED

The LED is inside the white plastic sleeve in this picture.
C:upldpen03.jpg
loading...
560x238 : FMT7YCTF23Z375P (1)
i

step 4Battery holder, LED and switch

These three components form a module. The switch is a springy piece of metal which makes contact with one leg of the LED when the button is pressed.
C:upldpen03.jpg
loading...
560x238 : FMT7YCTF23Z375P (1)
i

step 5The switch

Here is a closeup shot of that switch.

The second picture is that of a similiar module removed from an empty cigarette lighter tossed in my path by an unknown benevolent wellwisher. Many thanks to that magnanimous person.
C:upldpen06.jpg
loading...
560x229 : FYVYON8F23Z375I (1)
i
C:\upld\bpen06.jpgC:\upld\bpen11.jpg

step 6Connect wires

Connect two wires across that switch. The movie shows how you can test it.

The idea is that you connect an electronic switch to these wires and connect the music to it so that it closes in time with the beat of the music.

Then you will have a white lamp which flashes in time to music.
C:upldpen07.jpg
loading...
560x359 : FLWWTXNF23Z375M (0)
i

step 7Making connections: strip

You have to know how you can reliably connect components together using wire. This is an essential skill you need to acquire.

First, strip the insulation off the end of the wire. Cut the covering without nicking the wires inside. This takes some practice, and the best method I have found useful is to scribe a line around the insulation with a very sharp blade. The end can then be pulled off.

Trying to cut entirely through the insulation usually scratches the wires inside as well, leaving them fragile. Subsequent operations will cause the wires to break at this point, and you will have to do the stripping again. Leave plenty of slack in the wires in your early projects in order to allow for this sort of thing.
H:upldpen08.jpg
loading...
560x223 : F2SLMRKF2FRV8RR (0)
i

step 8Making connections: Twist

If you are using stranded wire, ie, wire that consists of a number of small wires bunched together inside a plastic covering, the previous operation will have you looking at something that looks like the business end of a witch's broom about to take off into the blue yonder.

So twist them. Hold the frayed end between thumb and forefinger of one hand, and rotate the (larger) part of the wire with the other hand, and the strands will wrap themselves around themselves and present a very nice and respectable appearance, as in the picture.
H:upldpen09.jpg
loading...
560x153 : FKQFZR3F2FRV8RQ (0)
i

step 9Making connections: join

Wrap the wire around the lead of the LED to make a neat joint. If you look at that picture again, one wire has been wrapped around the free lead of the LED, and the other wire has been jammed into the battery holder against the piece of metal serving as one pole of the switch.

I did that by pulling that metal piece out, and reinserting it with the wire wrapped around it.

Now when you touch the free ends of those wires together, the LED should light.

Next, we shall command a demon to sit there and touch the wires together in time to music.

Off we go, to get such a demon.
H:upldpen10.jpg
loading...
560x191 : F4OJJCAF2FRV8RS (0)
i
H:\upld\bpen10.jpgC:\upld\bpen07.jpg

step 10Transistors

Here be Demons. A whole bunch of them.

This is a selection from my collection of transistors. Some of them might even be undamaged and work as new.

We shall use a transistor to switch on the LED according to the music. You can find transistors inside virtually every electronic gadget. Try to scrounge some really old gadgets because the transistors inside modern ones are likely to be too small to be seen without a microscope.

I shall use the BD135 from the collection in the picture. It is said to be a medium power silicon NPN transistor.

If you have to buy one, get the BD135 or an equivalent. Or try any transistor you pull off some electronic gadget. It has to be NPN, otherwise the type, make, size etc does not matter much.
C:upldpen12.jpg
loading...
560x457 : FY8R4QSF2JKMWT1 (0)
i

step 11LED to Collector

Transistors have three terminals called the collector, emitter and base. These names originated long ago from the age when transistors were two sharp points pressed into a block of germanium.

For the BD135, the center lead is the collector. The other two are the base and collector, obviously. But I get confused, and have to refer to the datasheet to get the correct info.

If you are using the BD135 the pins are labelled in the picture. If you are using some other device try searching for the data on the web (use google).

The wire from the LED has to connect to the collector of the transistor, and is here shown stripped in readiness for connecting.
C:upldpen13.jpg
loading...
560x446 : F4N0UQFF2JKMWT5 (0)
i

step 12Battery negative to emitter

The small exposed face of the button cell is its negative terminal. It has to be connected to the emitter terminal of the transistor. That wire has been shown stripped prior to connecting it.
C:upldpen14.jpg
loading...
560x407 : FPG20PFF2JKMWTA (0)
i

step 13The wet finger test

When the collector and emitter of the transistor are connected in place of the switch, it can control the lighting of the LED. A small current into the base (the free terminal of the transistor in the picture) will cause a much larger current to flow through its collector, both currents sharing the emitter lead.

When the transistor has been connected up as in the picture, the LED must remain off. At least it should, if the transistor is not faulty and it has been connected the right way around.

Now bridging the collector and base leads of the transistor will cause the LED to light. This is the classic Wet Finger Test.

Watch the video. I am holding the battery positive (one lead of the LED) in one hand, and touching the base of the transistor with the other. When the base lead hits the wet part of my finger, the LED lights up.
C:upldpen15.jpg
loading...
560x335 : F62YYH5F2JKMWTE (0)
i

step 14Connect to emitter and base

If you have successfully applied the wet finger test, the next step would be the conncections to apply the music signal.

The transistor will conduct, causing the LED to light, whenever the voltage on its base is more than about half a volt (500 millivolts) with respect to its emitter. We apply the music signal between the base and emitter of this transistor, so that the LED will light in sympathy with the music.

The picture shows two wires connected to the base and emitter of the transistor.

When you have finished this step, the base and collector will have one wire each wrapped around them. In complete contrast, the emitter lead will have two wires wrapped around it.
C:upldpen16.jpg
loading...
560x399 : FMJEXUMF2JKMWTN (0)
i

step 15Connect a resistor

Next, we need a resistor. Anything between 47 ohms and 1,000 ohms will do, it is not that critical. A 470 ohm resistor was what I used, as shown in the picture.

If you open up an old portable radio most likely you will get a collection of them. Try a few, any one of them might work.

Depending upon the source of your audio (music) signal, this resistor might not even be required.
C:upldpen17.jpg
loading...
414x500 : FARIGR9F2JKMWTS (0)
i

step 16Earphone jack

Next, we need to have something that plugs into a music signal source. The plug end of a pair of stereo headphones will do. Get the plug off a pair of broken old headphones or earphones if you cannot find the plug by itself.
C:upldpen18.jpg
loading...
560x447 : FHIEFEWF2JKMWTW (0)
i

step 17Cut ends and strip

You need to get the signal off the plug. Cut the wires somewhere and strip them. This earphone lead from a pair of really cheap earphones had bare copper braid and an enamelled wire inside the plastic insulation.

If you get such a lead, scrape off the enamel with a sharp blade - use gentle pressure to avoid nicking the wire.
C:upldpen19.jpg
loading...
560x425 : FKQX9BXF2JKMWU2 (0)
i

step 18The project is complete.

Connect it up, and the project is complete. Here in the picture, I have used a length of wire between the circuit and the earphone lead, but that was just for convenience.

Insert the plug into your tape player, MP3 player or computer sound card and try playing some music. The LED will light up in time to music.

But then there is a problem - you can see the LED light, but you cannot hear the music play. Some powered speakers have a socket for the other speaker, and you might try plugging this into that.

The video shows my test of my prototype.
C:upldpen20.jpg
loading...
560x446 : FVFM0BJF2JKMWU8 (0)
i

Electrónica

Donde Vem

Downloads

Murros no Estômago

Tecnologia IG Brasil

Baixaki - Downloads

Technow