Escolar Documentos
Profissional Documentos
Cultura Documentos
(Autonomous Institution)
COIMBATORE 641 004
REPORT ON
BATCH 4
DINESH KUMAR .P (13L215)
KARTHEKEIYAN.N (13L223)
KUMARAN.S.G (13L225)
BACHELOR OF ENGINEERING
Branch: ELECTRONIC AND COMMUNICATION ENGINEERING
Of Anna University
AUGUST 2015
...
Mr.K.Rajasekar
...
Dr. S. Subha Rani
Faculty guide
ACKNOWLEDGEMENT
We would like to express my sincere thanks to Dr. R. Rudramoorthy, the
Principal, PSG College of Technology, for providing various infrastructure without
which this report would not have been successful.
We are indebted to Dr. S. Subha Rani, Professor and Head of the Department of
Electronics and Communication Engineering, PSG College of Technology, for her
continued support and motivation.
We would like to express our sincere gratitude to our technical report guide Dr.
D.Sivaraj and, Mr.K.Rajasekar Assistant Professor, ECE Department, for him
constant motivation, direction and guidance throughout the entire course of this
report.
We also extend heartfelt thanks to the class advisor Dr. P. Visalakshi, Professor,
ECE Department for her continuous support.
We would like to thank the student friends who contributed in their own special
way for the betterment of this report.
Last but not the least we thank our family members, the Almighty who have been a
guiding light in all our endeavors.
PROPOSED ACTIVITIES:
The systems can be intended around an AT89S52 IC, a low-priced 8-bit 8052
based micro-controller and completely software controlled.
All control programs could be created by employing the assembly language.
Lastly, the mall security and management can be verified under various
situations to estimate its performance.
Block diagram shows the working of the mall security and management.
Upon entry into the mall, count in the seven segment gets incremented and when
someone goes out the count gets decremented accordingly.
And when someone enters the mall with hazardous substance one led blinks
to indicate danger. When there is emergency in the mall as in case of fire or
something all the led blinks to indicate danger. And the count gets decremented
according to the exit.
In the circuit four switches are assigned to P3.0, P3.1, P3.2, and P3.6. a single Led
for metal detection is provided in the port P0.0, when someone enters the mall the
count gets incremented when switch 1 is pressed and displayed in a multiplexed
seven segment display, Which the ones and tens are assigned in P3.4, P3.5 and
when a person leaves the count value decreases by one which is given in switch 2.
In case of emergency interrupt service routine is provided and gets executed when
switch 3 is pressed. The last switch 4 is provided for metal detection.
FLOW CHART:
CODING:
#include<reg51.h>
sbit sw1=P3^0;
sbit sw2=P3^1;
{
count1=count/10; // displays tens
count2=count%10; // displays ones
P2=a[count1]; // seven segment output
8
t=1;
delay(500);
t=0;
P2=a[count2];
o=1;
delay(500);
o=0;
{
While (sw4==0);
led1=~led1; //P0.0 blinks
delay (100);
}
}
}
SIMULATION:
10
11
12
HARDWARE IMPLEMENTATION:
BEFORE RUNNING THE PROGRAM:
13
INCREMENTING COUNT:
14
DECREMENTING COUNT:
15
16
17
18
Thus the working of mall management and security is verified in software and
hardware implementation. This system has a lot of scope it can be implemented
in various fields as required.
Fire alarm can be further advanced by sending appropriate message to the
nearby fire station. Further advancements can be made with regard to the
requirement of the mall.
Reference:
Muhammad ali mazidi,THE 8051 MICROCOTROLLER AND
EMBEDDED SYSTEMS.
19
20