Skip to main content

Automatic Room lock and Lights circuit Diagram


This circuit counts and indicates up to nine persons present in the room and automatically locks the door and switches off lights as soon as they leave. It automatically switches on the lights when the first person enters the room. The circuit can be used as a power-saving device and a security device to prevent unauthorised entry in the room, especially in a business meeting room.

Circuit and working

The circuit, shown in Fig. 1, is built around three NE555 timer ICs (IC1, IC2 and IC6), an up/down BCD decade counter 74LS192 (IC3), a 7-segment display driver 74LS47 (IC4), 4-input NOR gate HEF4002B (IC5) and a common-anode 7-segment display LTS542 (DIS1). S1 and S2 are foot switches. S1 is installed under door-mat of the door used to enter the room, and S2 is installed under a door-mat just inside the room.


The outputs of IC3 change state synchronously with the low-to-high transitions on the clock inputs. Separate count up (CPU) and count down (CPD) pins of IC3 are used here. Its parallel pin 11 is made high and parallel data input pins 15, 1, 10 and 9, along with master reset pin 14, are made low in this circuit.

The outputs (Q0 through Q3) of IC3 are given to IC4 to drive display DIS1. Resistor R11 is used to limit the current flowing through DIS1.

Outputs of IC3 are also given to IC5. output O1 of IC5 is fed to relay-driver transistor T3 through resistor R9 to energise relay RL1. Light switches off when RL1 is energised. The second output O2 is fed to relay-driver transistor T4 to energise relay RL2 for locking the door. RL1 and RL2 energise simultaneously as inputs of 4-input NOR gate (IC5) are connected to both the drivers.

Automatic Room-lock and Lights circuit Diagram

Fig. 1: circuit diagram of the automatic lock and lights circuit


Fig. 2: An actual-size, single-side PCB for the automatic room-lock and lights circuit


Fig. 3: Component layout for the PCB



Output O2 of IC5 is also given to the base of transistor T7 whose collector is connected to the base of transistor T6. When O2 of IC5 goes high, it locks the door and makes the Vcc pin 8 of IC1 low to stop further counting.


To open the lock, press switches S3 and S4 (acting as security keys) simultaneously. The mononstable circuit built around NE555 (IC6) triggers and its output goes high for around 11 seconds and makes the base of transistor T4 low, via transistor T5. This action de-enegises relay RL2 to open the lock for a pre-defined time period based on the values of R12 and C5. At least one person should enter the room within this time period, otherwise it will get locked again. During this period, Vcc pin 8 remains high to enable IC1.

When each person enters the room and presses foot switch S1, counter IC3 advances by one count and display shows the number of persons in the room. On first person’s entry, the outputs O1 and O2 of IC5 go low, transistors T3 and T4 stop conducting and relays RL1 and RL2 de-energise to switch on the light and open the door lock.

Similarly, when they start leaving the room by enabling foot switch S2, counter IC3 reduces by one count and the display shows the number of persons present in the room. the outputs O1 and O2 of IC5 remain low, so light remains on and door remains open till the room is vacant.

Construction and testing
An actual-size, single-side PCB for the circuit is shown in Fig. 2 and its component layout in Fig. 3. After assembling the circuit on PCB, enclose it in a suitable case. Switches S1 and S2 should be installed as explained earlier. The display can be installed on the door frame outside the room. Fix switches S3 and S4 at a suitable location such that you can press them simultaneously when needed.

Connect the door-lock assembly to relay RL2 contacts using external wires as shown in Fig. 1. Use a 2-pin connector each for connecting the light and lock assembly.

EFY note. Avoid entry of more than nine persons. Otherwise, at the entry of 10th person, the display will show ‘0,’ the door will get locked and the lights will switch off. If this happens, someone will have to press switch S2 from inside the room to open the lock and switch on the lights.


Sourced by: EFY : Author Name:  Suresh Dwivedi

Comments

Popular posts from this blog

Electronic Extended Play Circuit Diagram

This is a Electronic Extended Play Circuit Diagram. A single op amp-one of four contained in the popular LM324-is operating in a variable pulse width, free-running square wave oscillator circuit, with its timed output driving two transistors that control the on/ off cycle of the tape-drive motor. The Oscillator` s positive feedback path holds the secret to the successful operation of the variable on/ off timing signal.   Electronic Extended Play Circuit Diagram The two diodes and pulse width potentiometer R8 allows the setting of the on and off time, without affecting the oscillator`s operating frequency. One diode allows only the discharge current to flow through it and the section of R8 that it`s connected to. The other diode, and its portion of R8, sets the charge time for the timing capacitor, C3. Since the recorder`s speed is controlled by the precise off/on timing of the oscillator, a simple voltage-regulator circuit (Ql, R3, and D4) is included.  Connecting the spe...

Power Amplifier with voltage regulator 4 × 50 Watt TDA8588

Power Amplifier with voltage regulator 4 × 50 Watt TDA8588    The TDA8588 is a multiple voltage regulator combined with four independent audio power amplifiers configured in bridge tied load with diagnostic capability. The output voltages of all regulators except regulators 2 and 3 can be controlled via the I2C-bus. However, regulator 3 can be set to 0 V via the I2C-bus. The output voltage of regulator 2 (microcontroller supply) and the maximum output voltage of regulator 3 (mechanical digital and microcontroller supplies) can both be either 5 V or 3.3 V depending on the type number. The maximum output voltages of both regulators are fixed to avoid any risk of damaging the microcontroller that may occur during a disturbance of the I 2C-bus. The amplifier diagnostic functions give information about output offset, load, or short-circuit. Diagnostic functions are controlled via the I2C-bus. The TDA8588 is protected against short-circuit, over-temperature, open ground and open VP ...

Digital Voltmeter Circuit with ICL7107

Description. The circuit given here is of a very useful and accurate digital voltmeter with LED display using the ICL7107 from Intersil. The ICL7107 is a high performance, low power, 3.5 digit analog to digital converter. The IC includes internal circuitry for seven segment decoders, display drivers, reference voltage source and a clock. The power dissipation is less than 10mW and the display stability is very high. The working of this electronic circuit is very simple. The voltage to be measured is converted into a digital equivalent by the ADC inside the IC and then this digital equivalent is decoded to the seven segment format and then displayed. The ADC used in ICL7107 is dual slope type ADC. The process taking place inside our ADC can be stated as follows. For a fixed period of time the voltage to be measured is integrated to obtain a ramp at the output of the integrator. Then a known reference voltage of opposite polarity is applied to the input of the integrator and allowed to r...