Rainbow LED indicates voltage with color


Posted on Sep 5, 2012

The circuit in Figure 1 comprises IC1, a Microchip PIC12F675 microcontroller driving IC2, a Kingbright AAF5060PBESEEVG `rainbow` indicator that contains three ultrabright LED chips (red, green, and blue) within one package. Modulating each LED`s duty cycle produces all of the perceivable colors of the visible spectrum, including white light. Listing 1 contains a PIC program for the PicBasic Pro compiler, which is available from MicroEngineering Labs Inc (www.melabs.com). This program converts a 0 to 5V input applied to Pin 3 of IC1 to an 8-bit digital value that corresponds to a perceived color containing certain amounts of red, blue, and green.






Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Frequency-detecting-comparator
Fast-overvoltage-protector
1 Second Time Base From Crystal Oscillator
Electronic Siren with Multitone
transformer Low voltage oscillator for joule thief
USB Powered Mobile Phone Battery Charger
Current-tampering circuit



Top