A BlinkLED is a LED that has its own PIC microcontroller. Blink patterns and blink rates are programmable and BlinkLEDs can be used individually (for LED Throwies) or in strings for holiday or special lighting.

I made these because I wanted to trim my Christmas tree with individual blinking lights. With the BlinkLED, I can do that easily and safely. The BlinkLED daisy chains with 2 thin nearly invisible wires (#30 AWG wire wrap wire) and runs from a  3 - 5 volt dc power supply or battery so no high voltage (120 vac) wiring is required. The video shows BlinkLEDs that blink and change color alternating between red and green. The time each BlinkLED remains in one color is randomly determined.

So that there are no surprises later, you will have to have electronic assembly skills and equipment to program PIC microcontrollers.

Step 1: Choose the Components

For each BlinkLED, you will need the following:

1 ea Microchip 12F509 PIC Microcontroller (Mouser PN 579-PIC12F509-I/P)

1 ea 22 ohm, 1/4 watt resistor (Mouser PN 291-22-RC). I used a 22 ohm resistor in my prototype but any value between 22 and 220 ohms will work. It depends on the supply voltage you will be using, the voltage drop across the LED, and the forward voltage of the LED. You want to choose a value that will result in a current of 10 to 20 milliamps through the LED. As a rule of thumb, resistor value in ohms equals the supply voltage minus .5 volts minus the voltage drop of the LED divided by the LED current in amperes (1 milliampere = .001 ampere). For example, for a green LED which typically has a 2.2 voltage drop with a 3.2 volt power supply: R = (3.2 volts -.5 volts -2.2 volts) / .020 amps = 25 ohms.

Keep in mind that different colored LED have different voltage drops across them when lite. Typical values are: Green 2.2 volts, Yellow 2.1 volts, Red 2.0 volts, Blue 3.8 volts, and White 3.2 volts. You will have to increase the supply voltage when using Blue and/or White LEDs in order to drive them to full brightness.

1 ea LED. Just about any LED will work. For my prototype, I chose a green LED removed from a Christmas light string. These have a wide viewing angle because of the flat concave top.

I found many things about LED lighting on these sites, change in my home many lights are LED lights future, their ecomomia and other benefits they bring. <br> <br><a href="http://www.luces-led.net" rel="nofollow">Luces Led</a>
Can you post the .hex file please? i cannot get it to compile using pIc basic with mplab.&gt;.??<br><br>thank you!<br>have a great night! :)<br>marC:)
That's a really nice compact and efficient looking piece of work. how does one get the little PCB thingys?
Thanks. PCBs are $1.20 for a set of 5 boards stuck together plus postage. If you want some, let me know how many and your zipcode. These can be sent by First Class USPS.
Although simple, this is nice!!! I love circuits that don't waste wire, hookups etc. etc. This gets the job done.....I will building this VERY SOON!

About This Instructable




More by chipmonger:Arduino Audio Triggered Power Switch BlinkLED 
Add instructable to: