You are on page 1of 52

Bank Locker Room Surveillance with help of Integrated Camera

Contents
Goal Subsist System Intent System Block Diagram Circuit Diagram / Module Description

Software Tools
References through Books

Goal
To implement bank locker room security system through video surveillance and monitoring produce high security

Subsist System
Mostly uses valley Low protection system Monitoring made manually Security systems are not effective

Intent System
High security system Counting no of theft enter into the room Short messaging service Automatic fire detection

Highly alert for people


Remote monitoring and control Detecting persons through PIR sensors Wireless communication

Block diagram
Control section

RF Module (TX/RX)

Power Supply Section

Microcontroller RS232 Section (AT89s51) Level Converter

Locker room section

GSM

SMOKE SENSOR

PIR Sensor

RF Transceiver

Serial Communication

Microcontroller

Serial communication

Drivers Unit

Device 1 Device 2

IR SNSOR

Web Camera

Block definition
Consists of control section and locker room section PIR sensor are used for detecting motion of the object in the locker room section Any body enters into secured place then send indication to control room through wireless If alarm attached then it produced signal then people understood something happens on host Locker room and control room section connected through RF

wireless communication
In control room section, Data are collected from locker section through web page Devices are control from locker room places

GSM

Block definition
After the working hours locker room section detecting any signal immediately send message through manager and also nearest police station with no of theft entered into the bank. No of theft count is calculated by IR sensor. In this sensor activated after the working hours . Theft count is used to alert the police to come to take the action. if any smoke is detected send sms through nearest fire station.

Embedded Hardware
Power Supply Unit Microcontroller (AT89s52) RF Module Serial communication

PIR Sensor
Smoke sensor IR sensor Web camera

Need of Microcontroller
A microcontroller (also MCU or C) is a functional computer system-on-a-chip. It contains a processor core, memory, and programmable input/output peripherals.

Microcontrollers include an integrated CPU, memory (a small amount of RAM, program memory, or both) and

peripherals capable of input and output.

Features
Optimized 8 bit CPU for control applications.

Extensive Boolean processing capabilities.


64K Program Memory address space. 64K Data Memory address space.

128 bytes of onchip Data Memory.


32 Bi-directional and individually addressable I/O lines. Two 16 bit timer/counters.

Full Duplex UART, On-chip clock oscillator.


6-source / 5-vector interrupt structure with priority levels.

Micro Controller (Circuit Diagram)


VCC 0.1uF

40

P1_0 P1_1 P1_2 P1_3 P1_4 P1_5 P1_6 P1_7 P3_0 P3_1 P3_2 P3_3 P3_4 P3_5 P3_6 P3_7

1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 9 18 19

20

U1 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7

C1

P0.0/AD0 P0.1/AD1 P0.2/AD2 P0.3/AD3 P0.4/AD4 P0.5/AD5 P0.6/AD6 P0.7/AD7

39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21

P0_0 P0_1 P0_2 P0_3 P0_4 P0_5 P0_6 P0_7

VCC

VCC

RST

C2

P3.0/R XD P3.1/TXD P3.2/I NTO P3.3/I NT1 P3.4/TO P3.5/T1 P3.6/WR P3.7/R D RST XT L2 A XT L1 A 8051

EA/V P P ALE/PR OG PSEN P2.7/A15 P2.6/A14 P2.5/A13 P2.4/A12 P2.3/A11 P2.2/A10 P2.1/A9 P2.0/A8

GND

P2_7 P2_6 P2_5 P2_4 P2_3 P2_2 P2_1 P2_0

10uF
11.0592M Hz X1 C4 33PF

R2 8K2

C3 33PF

Power supply

Power Supply Circuit

D1 JP2 2 1 220 VAC 2 -

VDD +4 1 VIN VOUT


GND

VDD R4 220 ohm D2

U2 7805 C6 100 uF C7 0.1 uF

C5 470 uF

LED

Power Supply Circuit Description


The operation of power supply circuits built using filters, rectifiers, and then voltage regulators. Starting with an AC voltage, a steady DC voltage is obtained by rectifying the AC voltage, Then filtering to a DC level, and finally, regulating to obtain a desired fixed DC voltage. The regulation is usually obtained from an IC voltage regulator Unit, which takes a DC voltage and provides a somewhat lower DC voltage, Which remains the same even if the input DC voltage varies, or the output Load connected to the DC voltage changes.

PIR sensor

PIR sensors
Passive Infrareds sensors (PIRs) are electronic devices which are used in some security alarm systems to detect motion of an infrared emitting source, usually a human body. The pyroelectric sensor is made of a crystalline material that generates a surface electric charge when exposed to heat in the form of infrared radiation. When the amount of radiation striking the crystal changes, the amount of charge also changes and can then be measured with a sensitive FET device built into the sensor. This radiation (energy) is invisible to the human eye but can be detected by electronic devices designed for such a purpose

PIR sensor materials


The actual sensor on the chip is made from natural or artificial pyroelectric materials usually in the form of a thin film, out of gallium nitride
gallium nitride (GaN) caesium nitrate (CsNO3) polyvinyl fluorides derivatives of phenylpyrazine

cobalt phthalocyanine
Lithium tantalate (LiTaO3) is a crystal exhibiting both piezoelectric and pyroelectric properties

PIR configuration

Block process
The PIR325 sensor has two sensing elements connected in a voltage bucking configuration. This arrangement cancels signals caused by vibration, temperature changes and sunlight. A body passing in front of the sensor will activate first one and then the other element whereas other sources will affect both elements simultaneously and be cancelled. The radiation source must pass across the sensor in a horizontal direction when sensor pins 1 and 2 are on a horizontal plane so that the elements are sequentially exposed to the IR source.

A focusing device is usually used in front of the sensor

Serial communication

Serial communication
ATMEL microcontroller and write the code to initialize the UART and use it to send and receive data Data you need to transmit and it will do the rest. It transmits data at standard speeds of 9600,19200 bps etc The advantage of hardware UART is that you just need to write the data to one of the registers of UART and your done, you are free to do other things while UART is transmitting the byte. UART automatically senses the start of transmission of RX line and then inputs the whole byte and when it has the byte it informs you(CPU) to read that data from one of its registers

RS232 pins

UART pins
The UART always transmits data on pin P3.1,P1.3/TX

The UART always receives data on pin P3.0,P1.2/RX


The RS-232 standard defines lots of other signals other than TX and RX used for handshaking.

Voltages
The USART input/output uses 0V for logic 0 and 5V for logic 1. The RS-232 standard (and the COM port) use +12V for logic 0 and 12V for logic 1. To convert between these voltages levels we need an additional integrated circuit (such as Maxims MAX232).

MAX232
VDD C1 10 uF
16

R2IN TX C2 10 uF

13 8 11 10 1 3 4 5 6

R1IN R2IN T1IN T2IN C+ C1C2+ C2V-

R1OUT R2OUT T1OUT T2OUT MAX232 U1


GND

12 9 14 7

VCC

V+

RX T2OUT

C3 10 uF

C4 10 uF

15

Infrared digital communication

must have line- of-sight direction dependent

short distances
reflection can suffer from sunlight and tube light (TL) noise

Emitter/Detector Alignment
Good alignment of the emitter and detector is important for good operation, especially if the gap is large. This can be done with a

piece of string stretched between and in line


with LED and phototransistor. A length of dowel or stiff wire could be used to set the alignment. Another method that can be used for longer distances is a laser pointer

shone through one of the mounting holes.

The next diagram shows two methods of aligning the emitter and detector mountings. For best results the height of the "beam" should be at coupler height and at an angle across the tracks.

Relay
A relay is an electrical switch that opens and closes under the control of another electrical circuit. In the original form, the switch is operated

by an electromagnet to open or close one or


many sets of contacts.

GSM modem
A GSM modem is a wireless modem that works with a GSM wireless network.

A wireless modem behaves like a dial-up modem. The main


difference between them is that a dial-up modem sends and receives data through a fixed telephone line while a wireless modem sends and receives data through radio waves. A GSM modem can be an external device or a PC Card / PCMCIA Card. Typically, an external GSM modem is connected to a computer through a serial cable or a USB cable. Like a GSM mobile phone, a GSM modem requires a SIM card from a wireless carrier in order to operate.

AT COMMANDS
computers use AT commands to control modems. Both
GSM modems and dial-up modems support a common set of standard AT commands. GSM modems support an extended set of AT commands.

Operations
Reading, writing and deleting SMS messages.
Sending SMS messages. Monitoring the signal strength. Monitoring the charging status and charge level of the battery. Reading, writing and searching phone book entries.

GSM phone or modem supports SMS text mode


Check if your GSM phone or modem supports SMS text mode

To check if your modem supports this text mode, you can try the
following command:

AT+CMGF=1 <ENTER>

If the modem responds with "OK" this mode is supported.

RF TRANSMITTER
The transmitter output is up to 8mW at 433.92MHz with a range of approximately few meters It accepts both linear and digital inputs It can operate from 1.5 to 12 Volts-DC It is approximately the size of a standard postage stamp.

HT-12E ENCODER
Features
Operating voltage:2.4V~12V for the HT12E Low power and high noise immunity CMOS technology Minimum transmission words of 4 words for the HT12E Built-in oscillator needs only 5% resistor Data code has positive polarity

Minimal external components


HT12E: 18-pin DIP/20-pin SOP package

DESCRIPTION
The 2^12 encoders are a series of CMOS LSIs for remote control system applications. They are capable of encoding information which consists of N address bits and 12N data bits. Each address/data input can be set to one of the two logic states. The programmed addresses/data are transmitted together with the header bits via an RF transmission medium . Transmission is enabled by applying a low signal to the TE pin.

RF RECEIVER
It also operates at

433.92MHz, and has a


sensitivity of 3uV. It operates from 4.5 to

5.5 volts-DC,
It has both linear and digital outputs.

HT12D DECODER
Operating voltage: 2.4V~12V Low power and high noise immunity CMOS technology Low standby current Capable of decoding 12 bits of information Binary address setting Received codes are checked 3 times Address/Data number combination - HT12D: 8 address bits and 4 data bits Built-in oscillator needs only 5% resistor Valid transmission indicator Easy interface with an RF transmission medium Minimal external components Pair with Holtek's 212 series of encoders 18-pin DIP, 20-pin SOP package

DESCRIPTION
2^12 decoders are a series of CMOS LSIs for remote control system applications.. The decoders receive serial addresses and data from a programmed 2^12 series of encoders that are transmitted by a carrier using an RF transmission medium. They compare the serial input data three times continuously with their local addresses. If no error or unmatched codes are found, the input data codes are decoded and then transferred to the output pins. The VT pin also goes high to indicate a valid transmission. The 2^12 series of decoders are capable of decoding information's that consist of N bits of address and 12-N bits of data.

Embedded software
Keil IDE Flash Programmer Proteus simulation Embedded c

Start

Locker room Section


Initialize I/O Ports

Waiting for get signal from PIR Sensor

If get valid signal?

Data will be transmitted waiting for get signal from Control room

If get valid signal ?

Device will be activate and Direction control for web camera

Start

Control Room Section


Initialize I/O ports

Waiting for get signal from locker room section

If get valid signal?

Alert Module activate and waiting get signal from PC

If get valid signal?

Data will be transmitted

Keil software

Flash Programmer

Design Tools
OrCAD Design

OrCAD Design

Advantages
Manual operation eliminated Secured data transmission

Applications
Military Security Commercial Industrial

Conclusion
This system is suitable for high security areas like banks , defense, commercial and produce high alert to people

References
A. Hampapur, L. Brown, J. Connell, , A. Ekin, N. Hass,M. Lu, H. Merkl, S. Pankanti, A. Senior, C.-F. Shu, and Y. L.Tian. Smart video surveillance. IEEE Signal Processin Magazine, pages 3851, March 2005 T. B. Moeslund and E. Granum. A survey of computervisionbased human motion capture. Computer Vision and Image Understanding

D. Gavrila. InECCV 00: Proceedings of the 6th European


Conference on Computer Vision-Part II, pages 3749, London, UK, 2000. Springer-Verlag.

You might also like