PIC
About the article

Sound-to-light PLUS

Microprocessor-driven lights effects

Sound-to-light PLUS
The use of lights effects units in conjunction with music is presently very popular. Of course we don’t want to stay behind at Elektor. This design uses a PIC16F84 and has sound-to-light, running lights modes and ‘beat detection’.Most people will remember the running light units which typically used a 4017, a digital decade counter whose outputs go high in turn when a clock signal is applied. And what about the classic sound-to-light unit: three lights, each flashing according to the sounds in different bands of the audio spectrum. Those were sound-to-light units in their most elementary form. But in the age of the microprocessor it all has to be faster, better and offer more functionality. And that is exactly what this circuit does.This circuit certainly offers a lot of functionality, since it combines the running lights and sound-to-light modes. The running lights do more than just go forwards and backwards, there is also a choice of several pre-programmed patterns. The unit also has a beat-detection circuit.
Downloading of this magazine article is reserved for Elektor Members only.
Already a member? click here to log in.
Products
Gerber file

CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor 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 its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.

Control Board
Resistors:
R1,R5,R11,R16,R20,R24,R26,R27 = 100k?
R2 = 22k?
R3,R7,R10,R22 = 10k?
R4 = 330k?
R6,R12 = 1M?
R8,R15,R19,R23,R25 = 47k?
R9,R14,R21,R34 = 1k?
R13 = 220k?
R17 = 470?
R18 = 1k?5
R28 = 10?
R29-R33 = 680?
P1 = 47k? linear potentiometer, mono
P2 = 22k? linear potentiometer, mono
Capacitors:
C1 = 1µF 63V radial
C2,C3,C7,C13,C14,C15 = 1µF MKT, lead pitch 5 or 7.5 mm
C4 = 68nF
C5 = 1µF5 MKT, lead pitch 5 or 7.5 mm
C6,C8,C18-C21,C23,C24,C27,C28 = 100nF
C9,C10 = 2µF2 MKT, lead pitch 5 or 7.5 mm
C11 = 470nF
C12 = 47nF
C16,C17 = 47pF
C22,C25,C26 = 4µF7 63V radial
C29,C30 = 1000µF 25V radial
Semiconductors:
D1-D4 = 1N4148
D5-D9 = red LED
D10 = high-efficiency LED, green
B1 = B80C1500 in rectangular case (80V piv, 1.5A peak)
T1-T4 = BC547B
T5 = BF256C
IC1 = LM324
IC2 = programmed PIC16F84-10/P (order code 000107-41)
IC3 = 7805
IC4 = 7812
IC5 = 7908
Miscellaneous:
K1 = PCB mount cinch socket (e.g., Monacor/Monarch type T-709G)
K2 = 14-way boxheader
K3 = 2-way PCB terminal block, lead pitch 7.5 mm
S1 = on/off switch, 1 contact
X1 = 4.096MHz quartz crystal
Tr1 = mains transformer 2x15V/8VA (e.g., Monacor/Monarch type VTR8215)
F1 = fuse, 100mA, time lag (T) with PCB mount holder
Lamp Driver Board
Resistors:
R1-R5 = 10k?
R6-R10 = 1k?
Capacitors:
C1,C3 = 100nF
C2 = 4µF7 63V radial
C4 = 1000µF 25V radial
Semiconductors:
D1-D20 = 1N5408
B1 = B80C1500 in rectangular case (80V piv, 1.5A peak)
IC1-IC5 = CNY65
IC6 = 7812
Miscellaneous:
K1-K6 = 2-way PCB terminal block, lead pitch 7.5 mm
K7 = 14-way boxheader
La1-La5 = 240-V light bulb with socket
Thr1-Thr5 = TIC106M
Tr1 = mains transformer 15V/4VA
(e.g., Monacor/Monarch VTR4115)
F1-F5 = fuse 1A, time lag (T) with PCB mount holder
F6 = fuse 100mA, time lag (T) with PCB mount holder
PCB, order code 000117-1
Disk
Loading comments...