Article
Add a Sparkle
This circuit was developed to provide novel coloured lighting effects for a crystal glass figurine.The circuit shown in Figure 1 consists of an 8-pin (SMD package) PIC microcontroller together with two blue, one red and one green LED. By using two blue LEDs and different valued series resistors it is possible to produce all the basic colours of equal brightness. The microprocessor slowly dims each LED individually in a pseudo-random pattern to produce interesting lighting effects.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
(SMD size 1206)
R1,R2,R3 = 100?
R4 = 180?
Capacitors:
C1,C2 = 100nF (SMD size 1206)
Semiconductors:
D1 = 1N4001
D2 = LED, red, (Sharp GL-5HD23)
D3,D5 = LED, blue (Kingbright L53BC)
D4 = LED, green (Sharp GL-5EG23) (all LEDs superbright, in colourless transparent enclosure)
IC1 = 7805
IC1 = PIC12C509A-04/SM, programmed, order code 020293-41
Disk, PIC software, order code 020293-11 or Free Download
(SMD size 1206)
R1,R2,R3 = 100?
R4 = 180?
Capacitors:
C1,C2 = 100nF (SMD size 1206)
Semiconductors:
D1 = 1N4001
D2 = LED, red, (Sharp GL-5HD23)
D3,D5 = LED, blue (Kingbright L53BC)
D4 = LED, green (Sharp GL-5EG23) (all LEDs superbright, in colourless transparent enclosure)
IC1 = 7805
IC1 = PIC12C509A-04/SM, programmed, order code 020293-41
Disk, PIC software, order code 020293-11 or Free Download
Discussion (0 comments)