Door Guard

Yogesh Kataria


This door guard uses operational amplifier µA741 and a light-dependent resistor (LDR). Operational amplifier µA741 is used as a sensitive voltage comparator. Preset VR1 provides reference voltage to the non-inverting terminal (pin 3) of µA741. LDR1 and resistor R1 are connected to inverting pin 2 of IC1. LED1 and LDR1 are installed at opposite sides of entry such that light from LED1 falls on LDR1.

door guard circuit

When LED light is falling on LDR1, its resistance goes low in comparison to R1 and as a result pin 2 of IC1 goes high. Consequently, output pin 6 of IC1 goes low and LED2 blinks while piezobuzzer PZ1 stops sounding. This indicates that the gate is closed.

When anyone opens the gate to enter or exit, the light from LED1 falling on LDR 1 is obstructed and its resistance goes very high. As a result, pin 2 of IC1 goes low and output pin 6 of IC1 goes high. LED2 stops blinking while the piezobuzzer sounds. This indicates that the gate is open.

The project kit is available at

More interesting projects available here.


Please enter your comment!
Please enter your name here