74-75_DIY_230V-AC-Bulb-Holder_EFY_Dec-20

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Do-It-Yourself

EF Y
vedi
Dwi
S.C.

Smart 230V AC T.K. Hareendran


Bulb Holder

T
he smart 230V AC bulb holder
introduced here is an ultra-
simple device with an automatic
electric bulb controller switch and a
standard electric bulb holder realised
with the help of a few inexpensive and
easily available components.
The electric bulb plugged into the
integrated bulb holder of this fit-and-
forget device wakes up at nightfall and
ticks over just after the first light of
day. The device can be used to drive
an ordinary incandescent bulb, a light
ballast (for fluorescent and discharge
lamps), or a solid-state lighting fixture
(CFL and LED bulbs) operating on
a current less than or equal to 5A at
230V, 50Hz. The author’s prototype is
shown in Fig. 1.
Fig. 1: Author’s prototype
Circuit and working
The circuit diagram of the smart bulb
holder is shown in Fig. 2. It is built
around a bridge rectifier (BR1), timer R1
C1 D1
NE555 (IC2), optocoupler PC817(1), CON1 330n 100E
4 8 1N4007 NO
12V Zener diode (ZD1), rectifier diode FOR 400V BR1 1W RESET Vcc
230V AC 1A
1N4007(D1), 12V single-changeover R2 7
DIS NC
100K
relay (RL1), and a few other compo- 6
TH
IC2 O/P 3 RL1
nents. 12V,1CO
As you can see in the schematic 2
NE555
1 4
R3 TRI RELAY
diagram, the day/night sensor is IC1 C2 100K
2
a GL5528 light-dependent resistor PC817 3 220u C3
GND
CON2
25V 22u,25V CV
(LDR), which forms a simple potential 5 1
FOR BH
ZD1 LDR1
divider with an ordinary 100-kilo-ohm CON3 12V GL5528 C4
resistor (R2). The variable output volt- FOR 1−W 10n
age from this potential divider is used EXT. IN BH = BULB HOLDER
( FOR 230V AC )
to control one G5L series (12V/400Ω)
electromagnetic relay (RL1) through
an NE555 timer (IC2). Note that when Fig. 2: Circuit diagram of the smart 230V AC bulb holder
the input (pins 2 and 6) of IC2 is above
8V, the output (pin 3) goes low, and through IC1 when ambient light is current of 24mA. IC2 runs on about
when the input is below 4V, the output less than ten lux. When light is greater 12V DC supply available across the
goes high. than forty lux, it will de-energise the 220µF buffer capacitor (C2), while
For controlling the bulb, common relay. You can alter the threshold level RL1 will get a DC supply of around
pole (P) and normally-open (NO) con- of LDR1 by changing the value of the 14.4V. This ‘elevated’ 14.4V ensures
tacts of RL1 are used as a single-pole resistor (R2). that RL1 will work smoothly even at
on/off switch to route AC input supply The capacitive power supply is the current level that is comparatively
to the integrated bulb holder. Under used here as the power source. It is much lower than what is actually
normal conditions, RL1 is energised configured to cater to a typical output called for.

74 december 2020 • electronics For You www.EFYMag.com


Do-It-Yourself

Fig. 3: Actual-size PCB layout for the smart bulb holder Fig. 4: Components layout of the PCB

Parts List
Semiconductors:
IC1 - PC817 opto-coupler
IC2 - NE555 timer
BR1 - 1A bridge rectifier
D1 - 1N4007 rectifier diode
ZD1 - 12V, 1-watt Zener diode
Resistors (all 1/4-watt, ±5% carbon), unless stated
otherwise:
R1 - 100-ohm, 1-watt
R2, R3 - 100-kilo-ohm
Capacitors:
C1 - 330nF, 400V ceramic disk
C2 - 220µF, 25V electrolytic
C3 - 22µF, 25V electrolytic
C4 - 10nF ceramic disk
Miscellaneous:
CON1, CON2 - 2-pin terminal connector
CON3 - 2-pin connector
LDR1 - GL5528 LDR
RL1 - 12V, single changeover relay
- Bulb holder

As you might notice in the dia-


gram, there’s also a galvanically- Fig. 5: A sample enclosure layout
isolated switch/sensor input in the
device built around a common pho- for the smart bulb holder is, however, This smart bulb holder not only works
tocoupler PC817 (IC1). The option shown in Fig. 3 and its components as an energy-saving outdoor light
allows you to remove LDR1 and layout in Fig. 4. After assembling the bulb but also serves as a security light
control the smart bulb holder from circuit on the PCB, connect the 230V bulb or home occupancy indicator to
an external IoT (or similar) gadget AC mains across CON1. deter prowlers even when you’re on
if you desire to have a simple home A small (waterproof) translucent a vacation.
automation project. It is to be noted enclosure is a must for this project. Caution. This circuit involves the
here that if the photocoupler is in Prototype enclosures come in many direct use of 230V AC mains voltage,
active state, the bulb will switch off. shapes and sizes. It would be better which is dangerous, and the chances
Needless to say, the photocoupler to make your own enclosure if you’ve of getting an electric shock are high
requires a current-limiter resistor at access to a 3D printer as it’ll give if not handled properly. If you are
its input to set the typical forward your model a polished look. A sample not used to handling such voltages,
current close to 20mA at 1.2V typical enclosure layout is also depicted here please get the help of a qualified
forward voltage. in Fig. 5 for your quick reference. person.
Author’s note. At first, the dim-
Construction and testing mable daylight LED bulb enclosed
The entire circuit can be assembled prototype was used for performance T.K. Hareendran is an electronics
designer, hardware beta tester,
on a rectangular piece of perforated or evaluation. Later, it was mounted on technical author, and product
general-purpose PCB (refer author’s a garden lamp pole, and the real-world reviewer. He is founder and
promoter of TechNode
prototype). An actual-size PCB layout results (till now) are very promising.

www.EFYMag.com electronics For You • december 2020 75

You might also like