MICROCONTROLLER BASED INTELLIGENT SECURITY SYSTEM USING
WIRELESS SENSOR NETWORKS AND GSM
Under the guidance ofMr. R. Mynuddin Sulthani , M.Tech.,
BY B.Neeharika 10751A0409 K.B.Roja 10751A0449 G.Sreepriya 10751A0435 K.Bhanu Prakash 10751A0450 B. Sujan Kumar 10751A0412
2
CONTENTS
Overview of projectBlock diagramHardware and software requirementsIntroduction to embedded systemsAT89S52 microcontrollerInterfacing of componentsAdvantagesApplicationsConclusion
What is the purpose of this project?
To ensure the security of the home at low cost.
To develop an embedded security system which detects others not to intrude the homes or offices etc.
WORKING OF THE PROJECT
The security system uses GSM interface to communicate with the authorized person.
The project works on embedded designed board with three sensors
IR sensor Temperature sensor Light Dependent Resistor
HARDWARE REQUIREMENTSMicrocontrollerPower SupplyIR SensorGSM modemBuzzer LCDPIR sensorLDR sensor
SOFTWARE REQUIREMENTSKeil softwareEmbedded C
INTRODUCTION TO EMBEDDED SYSTEMSAn embedded system is a computing device
that does a specific focused job.
BLOCK DIAGRAM
HARDWARE REQUIREMENTS
FLOWCHART
AT89S52 MICROCONTOLLER
FEATURES OF AT89S52Compatible with MCS-51® Products
8K Bytes of flash memory
4.0V to 5.5V Operating Range
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
PIN CONFIGURATIONS
8052 MICROCONTROLLER MEMORY ORGANISATION
Program Memory (ROM) is used for permanent saving program being executed.
Data Memory (RAM) is used for temporarily storing and keeping intermediate results and variables.
All 8052 microcontrollers have 16-bit addressing bus and can address 64 kb memory.
INTERNAL STRUCTURE OF MICROCONTROLLER
INTERFACING OF COMPONENTS
Consists of two lines with 16 characters each.
Contrast on display depends on the power supply voltage and whether messages are displayed in one or two lines.
During operating, a resistor for current limitation should be used.
LCD SCREEN
18
MAX232It is used to match the voltage
levels of TTL, CMOS.
Only then, transmission and reception between GSM takes place.
The capacitor used in MAX232 charges and discharges according to the voltage levels to get matched.
19
GSM
It is an open, digital cellular technology used for transmitting mobile voice and data services.
Operates in 900MHz and 1.8GHz bands
Supports data transfer speeds of up to 9.6 kbps, allowing the transmission of basic data services such as SMS.
LIGHT DEPENDENT RESISTOR
LDR is made up of Cadmium Sulphide.
When light falls on it, the value of resistance reduces and current will be generated as light is inversely proportional to resistance.
TEMPERATURE SENSOR
It is made up of pure silicon (as sensing capacity is more for silicon).
It consists of three terminals: supply , output, ground.
The output of this sensor is connected to microcontroller.
IR SENSOR
IR sensor consists of a potentiometer and comparator along with transmitting and receiving LED’s.
Transmitting LED works with 5v, receiving LED works with 3.5v.
If any object is placed in between, the IR rays from transmitting LED will get reflected and receiver LED absorbs it.
LM358(Comparator) compares the obtained value with threshold value and produces output.
IR sensors are used in shopping malls, automatic door opens etc.
We use near IR (0.7um-1.4um) in this project.
SOFTWARE REQUIREMENTS
KEIL SOFTWARE
Keil compiler is a software used where the
machine language code is written and compiled.
After compilation, the machine source code is
converted into hex code which is to be dumped into
the microcontroller for further processing. Keil
compiler also supports C language code.
PROLOAD
A software which accepts only hex files.
Once the machine code is converted into hex code, that hex code has to be dumped into the microcontroller placed in the programmer kit and this is done by the Proload.
ADVANTAGES
To ensure the security of the home at low cost
The authorized person can also alert with that message.
FUTURE SCOPE• The cameras used for security surveillance are not
appropriate for home privacy protection
• The cost of complete system is high
• Low cost systems should be developed to monitor people at home
• The time to detect any abnormal incident should be detected as fast as possible and the message to the authorized person should be quickly reached
CONCLUSION
Plays an important role in surveillance of home.
The designed system is used to automate the security systems to ensure the security of the home at low cost and the authorized person can also be alerted with a message.