AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08 ABSTRACT The passive infrared detector (PIR) is one of the most common detectors found in household and small business environments because it offers affordable and reliable functionality. The term passive refers to the fact that the detector is able to function without the need to generate and radiate its own energy (unlike ultrasonic and microwave volumetric intrusion detectors that are “active” in operation). This system which is installed at the gate uses an IR transmitter sensor unit to identify the arrival of a person and makes a beep sound using a buzzer. This system also switches on the gate light when surrounding light is low. The light glows only for a designed time interval and thus it helps a lot in saving electricity. This is basically a detecting mechanism project. SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 1
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
ABSTRACT
The passive infrared detector (PIR) is one of the most common detectors found in
household and small business environments because it offers affordable and reliable
functionality. The term passive refers to the fact that the detector is able to function
without the need to generate and radiate its own energy (unlike ultrasonic and microwave
volumetric intrusion detectors that are “active” in operation).
This system which is installed at the gate uses an IR transmitter sensor unit to
identify the arrival of a person and makes a beep sound using a buzzer. This system also
switches on the gate light when surrounding light is low. The light glows only for a
designed time interval and thus it helps a lot in saving electricity. This is basically a
detecting mechanism project.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 1
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
CONTENTS
CHAPTERS PAGE NO:
INTRODUCTION………………………………………….. 3
1. MOTIVATION…………………………………………….. 4
2. PRINCIPLE………………………………………………… 5
555 TIMER
1. MONOSTABLE MULTIVIBRATOR……………………. 7
2. ASTABLE MULTIVIBRATOR………………………….. 11
3. TSOP……………………………………………………… 14
4. LDR………………………………………………………. 15
5. RELAY AND FREE WHEELING DIODE……………… 18
CIRCUIT DIAGRAM…………………………………….. 22
WORKING………………………………………………... 23
COMPONENTS USED…………………………………… 24
CONCLUSION……………………………………………. 26
DATA SHEETS…………………………………………... 27
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 2
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
INTRODUCTION
Burglary of residences, retail establishments, and other commercial facilities
involves breaking and entering, and stealing property. Attempted forcible entry into a
property is also classified as burglary, in the FBI's Uniform Crime Reports (UCR)
definition.
As of 1999, there were 1.4 million residential burglaries reported in the United
States, which was a record low number, not seen since 1966.[9] Though, up to 50% of
burglaries are not reported to the police
PIRs verify if an intruder or object is actually there. Creating individual zones of
detection where each zone comprises one or more layers can achieve differentiation.
Between the zones there are areas of no sensitivity (dead zones) that are used by the
sensor for comparison.
The circuit may be used to automatically switch on a light at the entrance gate to the
premises at night by sensing the presence of a person. In addition, it sounds an alarm to
signify the presence of a person. Here we are using an IR Led as the transmitting unit and
the TSOP as receiving unit. A monostable, multivibrator circuit is used for the purpose of
getting time delay accordingly. Lamp is switched on only for a short interval to save
electricity. The main application is its use in restricted areas to indicate the entry of
trespassers. It can also be used for security purposes.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 3
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
MOTIVATION
In the present busy world cases may arise where we may not be able to keep a
constant watch in certain areas. In such cases arises the application of our project. This
actually serves as a detecting mechanism to indicate the presence of an object or person in
undetected cases. This turned out to be our main motivation for us to do this project.
The necessity to find a solution of all these problems turned out to be the
motivation; also we have succeeded in overcoming these difficulties by implementing this
project.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 4
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
PRINCIPLE
This circuit has two stages: Transmitting unit and receiving unit. Transmitting unit
consists of IR LED and sensing unit consists of TSOP sensor. An IC 555 working in
monostable mode gives the time delay. The circuit may be used to automatically switch on
a light at the entrance gate to the premises at night by sensing the presence of a person. In
addition, it sounds an alarm to signify the presence of a person. Here we are using an IR
Led as the transmitting unit and the TSOP as receiving unit. A monostable, multivibrator
circuit is used for the purpose of getting time delay accordingly. Monostable multivibrator
often called a one shot multivibrator is a pulse generating circuit in which the duration of
this pulse is determined by the RC network connected externally to the 555 timer. In a
stable or standby state, the output of the circuit is approximately zero or a logic-low level.
When external trigger pulse is applied output is forced to go high (» VCC). The monostable
circuit has only one stable state (output low) hence the name monostable. Astable
Multivibrator is a two stage switching circuit in which the output of the first stage is fed to
the input of the second stage and vice versa. The outputs of both the stages are
complementary. This free running multivibrator generates square wave without any
external triggering pulse. The circuit has two stable states and switches back and forth
from one state to another, remaining in each state for a time depending upon the
discharging of the capacitive circuit. Lamp is switched on only for a short interval to save
electricity. An LDR based circuit is used to switch on the bulb at night only. The buzzer is
connected such that it functions whenever the IR beam is interrupted.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 5
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
555 TIMER
IC555 is a highly stable controller capable of producing accurate timing pulses. It is
an 8 pin IC. It consists of three 5k resistors. It has two basic operating modes: stable
and monostable. It can operate with a supply voltage in the range of 4.5 to 18V.
555 consists of 8 pins they are :
GROUND
TRIGGER
OUTPUT
RESET
CONTROL
THRESHOLD
DISCHARGE
VCC
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 6
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
MONOSTABLE MULTIVIBRATOR
Monostable multivibrator often called a one shot multivibrator is a pulse generating
circuit in which the duration of this pulse is determined by the RC network connected
externally to the 555 timer. In a stable or standby state, the output of the circuit is
approximately zero or a logic-low level. When external trigger pulse is applied output is
forced to go high ( VCC). The time for which output remains high is determined by the
external RC network connected to the timer. At the end of the timing interval, the output
automatically reverts back to its logic-low stable state. The output stays low until trigger
pulse is again applied. Then the cycle repeats. The monostable circuit has only one stable
state (output low) hence the name monostable.
Operation:
Initially when the circuit is in the stable state i.e. when the output is low, transistor
Q1 is ON and the capacitor C is shorted out to ground. Upon the application of a negative
trigger pulse to pin 2, transistor Q1 is turned OFF, which releases the short circuit across
the external capacitor C and drives the output high. The capacitor C now starts charging
up towards VCC through R. When the voltage across the capacitor equals 2/3 VCC,
comparator 1’s output switches from low to high, which in turn drives the output to its low
state via the output of the flip-flop. At the same time the output of the flip-flop turns
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 7
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
transistor Q1 ON and hence the capacitor C rapidly discharges through the transistor. The
output of the monostable remains low until a trigger pulse is again applied. Then the cycle
repeats. The pulse width of the trigger input must be smaller than the expected pulse width
of the output waveform. Also the trigger pulse must be a negative going input signal with
amplitude larger than 1/3 VCC.
Once triggered, the circuit’s output will remain in the high state until the set time, t
elapses. The output will not change its state even if an input trigger is applied again during
this time interval t. The circuit can be reset during the timing cycle by applying negative
pulse to the reset terminal. The output will remain in the low state until a trigger is again
applied.
Pin1: Ground. All voltages are measured w.r.t this terminal.
Pin2: Trigger. The output of the timer depends on the amplitude
of the external trigger pulse applied to this pin. The output is low
if the voltage at this pin is greater than 2/3 VCC. When a negative
going pulse of amplitude greater than 1/3 VCC is applied to this
pin, comparator 2 output goes low, which in turn switches the
output of the timer high. The output remains high as long as the
trigger terminal is held at a low voltage.
Pin3: Output. There are two ways by which a load can be
connected to the output terminal: either between pin 3 and
ground or between pin3 and supply voltage +VCC. When the
output is low the load current flows through the load connected
between pin3 and +VCC into the output terminal and is called
sink current. The current through the grounded load is zero when
the output is low. For this reason the load connected between pin
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 8
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
3 and +VCC is called the normally on load and that connected
between pin 3 and ground is called normally off-load. On the
other hand, when the output is high the current through the load
connected between pin 3 and +VCC is zero. The output terminal
supplies current to the normally off load. This current is called
source current
Pin4: Reset. The 555 timer can be reset (disabled) by applying a
negative pulse to this pin. When the reset function is not in use,
the reset terminal should be connected to +VCC to avoid any
possibility of false triggering.
Pin5: Control Voltage. An external voltage applied to this
terminal changes the threshold as well as trigger voltage. Thus
by imposing a voltage on this pin or by connecting a pot
between this pin and ground, the pulse width of the output
waveform can be varied.
Pin6: Threshold. This is the non-inverting input of comparator
1, which monitors the voltage across the external capacitor.
When the voltage at this pin is greater than or equal to the
threshold voltage 2/3 VCC, the output of comparator 1 goes high,
which in turn switches the output of the timer low.
Pin7: Discharge. This pin is connected internally to the collector
of transistor Q1. When the output is high Q1 is OFF and acts as
an open circuit to external capacitor C connected across it. On
the other hand, when the output is low, Q1 is saturated and acts
as a short circuit, shorting out the external capacitor C to ground.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 9
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
Pin8: +VCC. The supply voltage of +5V to + 18V is applied to
this pin with respect to ground.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 10
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
ASTABLE MULTIVIBRATOR
Astable Multivibrator is a two stage switching circuit in which the output of the first
stage is fed to the input of the second stage and vice versa. The outputs of both the stages
are complementary. This free running multivibrator generates square wave without any
external triggering pulse. The circuit has two stable states and switches back and forth
from one state to another, remaining in each state for a time depending upon the
discharging of the capacitive circuit
.
The multivibrator is one form of relaxation oscillator, the frequency of which may
be controlled by external synchronizing pulses. When supply voltage, VCC is applied, one
transistor will conduct more than the other due to some circuit imbalance. Initially let us
assume that Q1 is conducting and Q2 is cut-off. Then VC1, the output of Q1 is equal to
VCESAT which is approximately zero and VC2 is equal to VCC. At this instant C1 charges
exponentially with the time constant R1C1 towards the supply voltage through R1 and
correspondingly VB2 also increases exponentially towards VCC. When VB2 crosses the
coupling voltage Q2 starts conducting and VC2 falls to VCESAT. Also VB1 falls due to
capacitive coupling between collector of Q2 and base of Q1, thereby driving Q1 into OFF
state. The rise in voltage VC1 is coupled through C1 to the base of Q2 causing a small
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 11
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
overshoot in voltage VB2. Thus Q1 is OFF and Q2 is ON. At this instant the voltage levels
are:
VB1 is negative, VC1=VCC, VB2=VBESAT and VC2=VCESAT.
When Q1 is OFF and Q2 is ON the voltage VB1 increases exponentially with a time
constant R2C2 towards VCC. Therefore Q1 is driven to saturation and Q2 to cut-off. Now
the voltage levels are:
VB1=VBESAT, VC1=VCESAT, VB2 is negative and VC2=VCC.
From the above it is clear that when Q2 is ON the falling voltage VC2 permits the
discharging of capacitor C2 which in turn drives Q1 into cut-off. The rising voltage of VC1
is fed back to the base of Q2 tending to turn it ON. This process is regenerative.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 12
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
TSOP
The TSOP17 series are miniaturized receivers for infrared remote control systems.
The three pin terminals of the TSOP are GND, VCC and OUTPUT. The circuit of the
TSOP17 is designed in that way unexpected output pulses due to noise or disturbance
signals are avoided. A bandpassfilter and an integrator stage are used to suppress such
disturbances.
Ø FEATURES
1. Photo detector and pre amplifier in one package
2. Internal filter for PCM frequency
3. Improved shielding against electrical field disturbance
4. TTL, CMOS compatibility
5. Output active low
6. Low power consumption
7. High immunity against ambient light
8. Continuous data transmission possible
9. Suitable burst length >=10 cycles/burst
The circuit of the TSOP is designed in such a way that the unexpected output pulses
due to noise or disturbance signals are avoided. A band pass filter, an integrator stage
and an automatic gain control are used to suppress such disturbances. The
distinguishing mark between data signals and disturbance signal are carrier frequency,
burst length and duty cycle.
The data signal should fulfill the following condition.
Carrier frequency should be close to center frequency of the band pass.
Burst length should be 10 cycles/burst or longer.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 13
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
After each burst which is between 10 cycles and 70 cycles a gap time of at least 14
cycles is necessary.
For each burst which is longer than 1.8 ms a corresponding gap time is necessary at
some time in the data stream. This gap time should have at least same length as the
burst.
Up to 1400 short bursts per second can be received continuously.
When a disturbance signal is applied to the TSOP 17 it can still receive the data
signal. However the sensitivity is reduced to that level that no unexpected pulses will
occur.
SARABHAI INSTITUITE OF SCIENCE AND TECHNOLOGY 14
AUTOMATIC GATE ALARM WITH LIGHT MINI PROJECT '08
LDR (LIGHT DEPENDENT RESISTOR)
A light-dependent resistor alternatively called an LDR, photoresistor,
photoconductor, or photocell, is a variable resistor whose value decreases with increasing
incident light intensity.
An LDR is made of a high-resistance semiconductor. If light falling on the device is
of high enough frequency, photons absorbed by the semiconductor give bound electrons
enough energy to jump into the conduction band. The resulting free electron (and its hole