Simple Bi-Color LED Control

by tridecagon in Circuits > LEDs

11524 Views, 2 Favorites, 0 Comments

Simple Bi-Color LED Control

2 color led.bmp
I remember one or two years ago, I bought a two color LED from Radial (Radio) Shack. I used my PC's parallel port to turn it on and off/flash it. I added a diode and some capacitors and the LED would fade on and fade off. It reminded me of a radio tower. If I wanted to use the other color, I just had to reconnect it in reverse. A bi-color LED is just two LEDs connected in reverse-parallel.
Not too long ago (months), I figured out how to use a PICAXE to do the color changing for me. I overcomplicated it and ended up using 4 diodes.
Not too long ago (minutes), I found a way to do the color changing using only analogue parts. I'm going to share it with you.

Parts Needed

led s1.jpg
1. A Bi-Color LED
2. a 9V battery
3. a pack of battery clips
4. two resistors, each one appropriate for the two colors of your LED
5. 4 diodes
6.  a DPDT switch
7. a pack of alligator clips
8. time
9. sweat rag (optional)
10. SPST switch

Connections to the Battery

led s2.jpg
The DPDT switch has 2 common connections, both should be in the middle of the switch, we directly connect the battery clips ground to one of these. Then connect the battery clips positive supply to the SPST switch, then the other terminal of the SPST switch to the other common on the DPDT switch.

Shorting Terminals

led s3.jpg
Looking at the DPDT switch from the bottom, all terminals going up, use something conductive, preferably wire/alligator clips, to make the following connections:
top-left terminal to bottom-right
top-right to bottom-left

Adding Diodes and Resistors

led s4.jpg
Grab 2 diodes and connect them in series. Do this with the other two diodes, but keep the setups separate. Taking one setup, treating it as one diode, connect one of your resistors in parallel, connect both ends. Do this with the other setup.

Finishing Up

led s5.jpg
Remember treating two diodes as one? Now it's time to treat them as 2 again. Where the two diodes meet on one setup, connect those terminals to A3/B1 on the DPDT switch. On the other two diodes, connect the point where they meet to A1/B3 on the DPDT switch.

This is very important.
You have to connect the LED between the resistor and D2 (shown in the picture). And if you did what I did in the picture (use two different resistor values), you have to connect the LED the correct way round.