Article
Remote Light Control with Dimmer
Responds to RC5 infrared commands
The microcontroller-driven switch described in this article allows one lamp to switched on and off as well as dimmed, all using an RC5-compatible infrared remote control.There is a great deal of lavishness in being able to switch a lamp on and off without getting out of your chair, and even more in brightness control from the same comfortable position! A small microcontroller circuit makes it all possible. As a bonus, the circuit provides a soft start / soft turn off function, which means that the lamp is switched on and off gradually rather than abruptly.
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:
R1,R2 = 47kOhm
R3 = 1kOhm
R4 = 150Ohm
R5 = 8kOhm2
R6 = 10kOhm
Capacitors:
C1 = 220µF 25V radial
C2,C5 = 10µF 16V radial
C3,C4 = 100nF
C6,C7 = 33pF
Semiconductors:
B1 = B80C1500 (round case, 80V piv, 1.5A)
D1 = 1N4148
D2 = LED, low current
IC1 = 78L05
IC2 = AT89C2051-12 (order code 020337-41)
IC3 = CNY65
IC4 = S202S211
Miscellaneous:
K1 = 3-way PCB terminal block, lead pitch 7.5mm
K2 = SFH110-36, TSOP1836 (see text)
S1 = pushbutton, 1 make contact
Tr1 = mains transformer, 6V 0.35VA (e.g., Hahn BV2010106)
X1 = 12MHz quartz crystal
F1 = fuse, 2AT (time lag), with PCB mount holder and cap
Disk, HEX and source code files, order code 020337-11 or Free Download.
R1,R2 = 47kOhm
R3 = 1kOhm
R4 = 150Ohm
R5 = 8kOhm2
R6 = 10kOhm
Capacitors:
C1 = 220µF 25V radial
C2,C5 = 10µF 16V radial
C3,C4 = 100nF
C6,C7 = 33pF
Semiconductors:
B1 = B80C1500 (round case, 80V piv, 1.5A)
D1 = 1N4148
D2 = LED, low current
IC1 = 78L05
IC2 = AT89C2051-12 (order code 020337-41)
IC3 = CNY65
IC4 = S202S211
Miscellaneous:
K1 = 3-way PCB terminal block, lead pitch 7.5mm
K2 = SFH110-36, TSOP1836 (see text)
S1 = pushbutton, 1 make contact
Tr1 = mains transformer, 6V 0.35VA (e.g., Hahn BV2010106)
X1 = 12MHz quartz crystal
F1 = fuse, 2AT (time lag), with PCB mount holder and cap
Disk, HEX and source code files, order code 020337-11 or Free Download.
Discussion (0 comments)