You are on page 1of 1

circuit

ideas

Transistorised Code Lock


With Torch sunil ku
mar

 S.C. Dwivedi and power-on LED1 glows to indi-


cate that the circuit is enabled. door lock connected between the pole

T
his electronic lock for domes- The control section is built around and normally-open contacts of relay
tic use opens only when you switches S1 through S12, transistor T1 RL1 opens.
connect the right combination and relay RL1. Relay driver transistor If you connect a wrong combina-
of five switches. There are twelve T1 is used to energise/de-energise the tion, say, switches S4, S10, S11 and
switches in total. If you connect a relay. S6, transistor T1 does not conduct and
wrong combination, the lock remains The torch section is built around six relay RL1 remains de-energised. As a
closed. At night, flip switch S3 to ‘on’ white LEDs (LED2 through LED7) and result, the door lock remains closed.
position in order to enable the torch. resistors R3 and R4. Assemble the circuit on a general-
In the daytime, flip it back to ‘off’ Working of the circuit is simple. To purpose PCB and house it in a small
position. open the door, you should know the cabinet. Fig. 2 shows the proposed
Fig. 1 shows the circuit of the tran- connection code. Here the connection cabinet arrangement for switches and
sistorised code lock with torch. For code is switches S1, S7, S2, S11 and S9. LEDs. Install the cabinet at the front
easy understanding, the entire circuit This means you need to connect these door of your house.
can be divided in three sections: power switches to each other by flipping them As mentioned in the beginning,
supply, control and torch. to ‘on’ position. As the connection switch S3 is used to enable the torch.
The power supply section is built completes, transistor T1 conducts and When it is flipped to ‘on’ position, all
around transformer X1, bridge recti- relay RL1 energises. As a result, the the LEDs (LED2 through LED7) glow.
fier comprising diodes D1 through Switches S4, S5, S6, S8, S10
D4 and regulator IC 7812 (IC1). The and S12 are used just to con-
230V AC, 50Hz AC mains is stepped fuse the intruders and play no
down by transformer X1 to deliver role in opening the door.
a secondary output of 15V, 250 mA. You can also use a 12V
The transformer output is rectified battery to power the circuit. In
by the bridge rectifier, filtered by that case, remove transformer
capacitor C1 and regulated by IC1. X1, diodes D1 through D4,
Capacitor C2 bypasses the ripples capacitor C1 and regulator IC2
present in the regulated supply. (7812) and connect the battery
When mains power is available, IC1 inside the cabinet with proper
provides regulated 12V to the circuit Fig. 2: Proposed cabinet arrangement for switches and LEDs polarity. 

Fig. 1: Circuit of transistorised code lock with torch

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u • M a r c h 2 0 1 1 • 1 3 5

You might also like