PROXIMITY SENSOR BASED SECURITY LOCK AND
THEFT DETECTION
Seshapu Prasad1, D.Suneel2
1
Pursuing M.Tech (DECE), 2Assistant Professor (ECE),
Nalanda Institute of Engineering and Technology (NIET), Siddharth Nagar, Kantepudi (V),
Sattenpalli (M), Guntur Dist, A.P. (India)
ABSTRACT
As mentioned earlier, we are going to develop a low cost and effective security system for lockers and homes.
So, here we are going to use a LPC2148 development along with LDR (Light Dependent resistor), IR sensors
and GSM module. For Locker security purpose we are using an LDR to detect whether the locker is open or not.
When the locker is closed there will be no light inside the locker. So when it is opened by someone, this LDR
will be detected by light and it gives intimation to the controller board. The controller will send an alerting SMS
to the locker owner and corresponding authorities so that they can take an emergency action. The second type
of security we are mentioning here is Home Security. Now a day’s lot of people are staying in cities very far
from their families for work purpose. So lot of them will leave their home locked and got work daily. Hence
there will be a chance for thieves to enter into the houses and steal valuable things in the houses. So there also
we can provide security by using IR (infrared) sensors. So whenever the door is open the communication
between IR transmitter and IR receiver will be lost which will indicate microcontroller board that someone has
opened the door and the microcontroller board will gives the information to the house owner through an SMS.
Keywords: Proximity Sensors, LDR, GSM, LPC2148
I. INTRODUCTION
In this modern automation times, we have to keep things under control by the use of well-defined technology
and engineering solutions. In recent times, many engineering environments like electronics, communication,
Computer Science and Instrumentation technology, use lot of sensing devices together in order to get better
benefits in benefits. Obviously, it is a promising fact that disciplinary efforts could lead to success because every
field will overcome the limitations of the order. So, considering this as an inspiration, we are developing an
alternative method to provide security. This provides theft control design for homes, secure lockers and bank
lockers etc. by using LDR, IR, and GSM module to send SMS.
Many recent advancements in the field of security involves technologies like bar code, sensing networks, RFID
etc. besides these technologies, lot of varieties of sensors, are also implemented DS1621(Temperature sensor),
MQ3( gas sensor), proximity sensor etc. The most widely used processors by the professional of this domain are
FPGA, ARM and microcontrollers. However, most of the recent theft control technologies depend on face
recognition and TDMA. Even though this provides power efficiency, it requires image processing techniques. It
has increased the complexity and cost of implementation. So, keeping in mind an economical and compact
system for security we implement this design. In this paper, the LDR detects a variation in the light intensity
81 | P a g e
when the bank locker is open and it intimates the microcontroller board when high light intensity is detected.
The controller board is programmed in a way that it sends a message to the account holder and concerned
officials by using GSM module which is serially connected to the controller board indicating that locker is
opened. The LDR circuit will be attached to the inner side of the locker so that it detects any light from outside
immediately. Reaming circuit will be fixed outside to the locker and it is invisible to the human eye as it is
attached behind the locker case. As mentioned earlier, we are going to develop a low cost and effective security
system for lockers and homes. So, here we are going to use a LPC2148 development along with LDR (Light
Dependent resistor), IR sensors and GSM module. For Locker security purpose we are using an LDR to detect
whether the locker is open or not. When the locker is closed there will be no light inside the locker. So when it is
opened by someone, this LDR will be detected by light and it gives intimation to the controller board. The
controller will send an alerting SMS to the locker owner and corresponding authorities so that they can take an
emergency action. The second type of security we are mentioning here is Home Security. Now a day’s lot of
people is staying in cities very far from their families for work purpose. So lot of them will leave their home
locked and got work daily. Hence there will be a chance for thieves to enter into the houses and steal valuable
things in the houses. So there also we can provide security by using IR(infrared) sensors.IR sensor works on a
point to point communication formula that means whenever an IR transmitter and IR receiver comes in straight
line then communication between IR transmitter and receiver will takes place. So we will fix an IR pair to the
door of a home in such a way that the IR receiver will continuously receive the signal from IR transmitter. So
whenever the door is open the communication between IR transmitter and IR receiver will be lost which will
indicate microcontroller board that someone has opened the door and the microcontroller board will gives the
information to the house owner through an SMS.
Like this we are going to provide security for both bank lockers and homes by using LDR and IR attached to the
microcontroller board and a GSM modem. As we are using LDR and IR as the sensing devices our system is
called as low cost system because of the low cost of these LDR and IR. GSM (Global System for Mobile
communications) is used to send an alerting message to the authorized persons.
II. LITERATURE REVIEW
Prototype Modelling of Security System with Metal Detector: The security system provides the convenience to
folks so as to manage their mall easier and this method is concern on the safety of every item. This method can
offer not solely the things identification however additionally the anti-theft security. Nowadays, everything
made have a barcode that's written on its surface as product code. The previous system appears to not totally
utilize the barcode on every item. This method combines the barcode with magnetic attraction security strips so
as to scale back the safety value. The barcode strip is going to be developed in 2 layers, the barcode and also the
magnetic strip. The system is functioning like the shoppers self-service within the library. The things ought to be
check at the counter before it been taking away from the shop. If the item isn't registered then, the alarm can
provide a warning once it passes through the magnetic attraction gate. The Lab VIEW program developed by
National Instrument is discovered to be the simplest choice because the wave recognition to the present system.
Identification of patrons and materials by barcode may be a reliable technique and gave nice service once
combined with electro-magnetic security device.
82 | P a g e
Design of GSM-based Tele-Monitoring and Alarm System for Disposable Diaper: The Internet of Things offers
North American country a concept of connecting what we tend to care concerning along. Supported this
concept, this paper provides a way to attach the knowledge of the aim place's temperature or wetness to users
through GSM network. The paper additionally presents the steps of the look and our winning experiments.
Firstly, Associate in nursing overall style is bestowed. It’s primarily concerning however the MCU detects
wetness and controls GSM module to send a brief message. Then, the required parts area unit chosen.
ATmega16A is chosen because the small controller. SIM900A is chosen because the GSM Module. SHT11 is
chosen because the detector. After that, the hardware circuit is intended. At last, the paper introduces a close
methodology of aggregation knowledge by SHT11 and causation message by SIM900A.
III. HARDWARE DESIGN
Fig 1: Block Diagram
It is made out of different equipment and programming modules. The accompanying piece outline demonstrates
the assessment of equipment parts covered in the gadget.
3.1 LPC2148 Microcontroller
The LPC2148 microcontroller load up construct absolutely in light of a sixteen-piece/32-bit ARM7TDMI-S
CPU with ongoing imitating, sixteen-piece/32-bit ARM7TDMI-S microcontroller in a small LQFP64 bundle
bargain, 8 kB to 40 kB of on-chip static RAM and 32 kB to 512 kB of on-chip streak memory; 128-piece
enormous interface/quickening agent permits high-pace 60 MHz operation, In-framework Programming (ISP),
unmarried 10-bit DAC manages variable simple yield, 32-bit clocks/outside occasion counters (with four catch
and 4 look at channels each), PWM unit (six yields) and guard dog, Low quality real Time Clock (RTC), more
than one serial interfaces which incorporates two UARTs , fast I2C-transport (400kbit/s), SPI and SSP with
buffering and variable data length skills. The framework involves of a smaller scale controller, shrewd card
peruser, unique mark gadget, reed sensor, LCD and ringer. The controller assumes a critical part to execute the
few errands. The controller, which we utilized as a part of this framework i.e. LPC2148.
Firstly, we ought to check the condition, whether the safety belt is wearied or not and after next procedure
confirmation check i.e. Keen Card and Fingerprint. The brilliant card is utilized to distinguish whether the
individual is authorized or not. In the event that the card is authorized on the other hand check the unique mark
for confirmation. In the event that it matches them naturally ignition on or else off.
83 | P a g e
3.2 Lcd
LCD, an acronym for Liquid Crystal Display reformed the present day show innovation with its
conservativeness and adaptability. Today it is seen implanted in different electronic contraptions and gadgets
like T.V., Computers, Laptops, Watches, and so on. A Liquid gem covering is the heart of the presentation
which is sandwiched between two captivated glasses. LCD's are accessible in different shapes and sizes relying
upon the arrangements. A 16x2 LCD appeared in the picture beneath can show 32 characters with 16 characters
in every column. It is proficient to show any character with ASCII qualities running from 0 to 255. LCD
remains for fluid precious stone presentation. They come in numerous sizes 8x1 , 8x2 , 10x2 , 16x1 , 16x2 ,
16x4 , 20x2 , 20x4 ,24x2 , 30x2 , 32x2 , 40x2 and so forth . Numerous multinational organizations like Philips
Hitachi Panasonic make their own uncommon sort of lcd's to be utilized as a part of their products. All the lcd's
performs the same functions(display characters numbers extraordinary characters ASCII characters etc).Their
writing computer programs is likewise same and they all have same 14 pins (0-13) or 16 pins (0 to 15).
Fig: 2 LCD Display.
3.3 GSM Modem
In our test circumstance, the GSM modem is utilized for close to approve individual when somebody is in basic
circumstance. On the off chance that a man is in crisis situation then the machine over and again get the
readiness the use of this period. The GSM modem is interfaced with microcontroller LPC2148 which has inbuilt
various capacities comprising of UART, SPI, PWM, I2C et cetera. By method for use of a few capacities we
manufacture our own special required application and execute the test circumstance progressively way. The
GSM Modem which works in light of by means of AT orders. The GSM has a few AT guidelines like sending
SMS, CALLING, HOLD, CUT and so on. In our test, we utilize the summon alluded to as AT+CMGS which
decide sending SMS to an one of a kind individual. Hence The GSM modem is utilized to get sharpness when a
man is in crisis conditions.
Fig 3 : GSM modem
84 | P a g e
3.4 LDR
A Light Dependent Resistor (LDR) or a photograph resistor is a gadget whose resistivity is a component of the
occurrence electromagnetic radiation. Henceforth, they are light touchy gadgets. They are additionally called as
photograph conductors, photograph conductive cells or just photocells. They are comprised of semiconductor
materials having high resistance. There are a wide range of images used to demonstrate a LDR; a standout
amongst the most ordinarily utilized image is appeared as a part of the figure underneath. The bolt shows light
falling on it. LDR A light ward resistor takes a shot at the rule of photograph conductivity. Photograph
conductivity is an optical wonder in which the materials conductivity (Hence resistivity) decreases when light is
consumed by the material. At the point when light falls i.e. at the point when the photons falls on the gadget, the
electrons in the valence band of the semiconductor material are eager to the conduction band. These photons in
the episode light ought to have vitality more prominent than the band crevice of the semiconductor material to
make the electrons hop from the valence band to the conduction band. Subsequently when light having enough
vitality is episode on the gadget more and more electrons are eager to the conduction band which brings about
huge number of charge bearers. The consequence of this procedure is more present begins streaming and thus it
is said that the resistance of the gadget has decreased. This is the most widely recognized working guideline of
LDR.
Fig 4: LDR
3.5 IR Sensor
Infrared waves are not unmistakable to the human eye. In the electromagnetic range, infrared radiation can be
found between the noticeable and microwave districts. The infrared waves regularly have wavelengths
somewhere around 0.75 and 1000µm. The wavelength area which extends from 0.75 to 3µm is known as the
close infrared locales. The district somewhere around 3 and 6µm is known as the mid-infrared and infrared
radiation which has a wavelength more prominent higher than 6µm is known as far infrared. Infrared innovation
discovers applications in numerous ordinary items. TVs utilize an infrared indicator to translate the signs sent
from a remote control. The key advantages of infrared sensors incorporate their low power prerequisites, their
basic hardware and their compact element.
Fig 5: IR pair.
85 | P a g e
IV. SOFTWARE DESIGN
In this proposed device, as we utilized LPC2148 we need to utilize taking after programming hardware to
program for it.
1. KeiluVision
2. Flash Magic
The KeiluVision is an Integrated Development environment (IDE) which comprise of all the C/C++ Debugger,
Editor and complier. By existing those component you can manufactured our own application. We compose
code in such an approach to actualize our application in installed c. In this IDE, we need to import the utilities
and libraries as indicated by the controller we're the utilization of. This IDE is less troublesome and in easy to
understand approach to apply. It comprises of all the C/C++ compilers, constructing agents, and debuggers in it.
It rearranges the way of implanted reenactment and experimenting with in conjunction with Hex record
innovation. The blaze enchantment is a programming utility. The C/C++ programming written in IDE may be
handled into Hex record i.e. in .hex design. By utilizing hex record we dump the code into microcontroller and
perform the errand with separate application.
V.WORKING DESCRIPTION
Here we are using LPC 2148 MICRO-controller. The LCD is connected to the PORT-1. We are using 8-bit LCD.
So we used 8-data lines. The register select is connected to the P1.16 and enable is connected to P1.17. So
whatever the data we want we can display it on LCD.Here LDR is connected to the P0.3 pin. And IR sensor is
connected to P0.4 these two are detection of Door locking and opening the door’s works on serial
communication so whatever the information we need to send should be sent using serial communication. So we
have connected the GSM to the UART 0. So when the theft has been detected, then it is going to send the
information about the authorized person
VI. RESULTS
The results observed in this project can be given as below, and observed as in general when door is locked
condition no sunlight will appears inside of the door, when someone door is opened LDR detects and by turn the
doors IRs attached in side of the door also detected, and another thing is Theft intimation to authentic person by
sending message through GSM when device protection IRs detected.
86 | P a g e
Fig 6: Complete system for Photo sensitive security system.
VI. CONCLUSION
Hence we conclude from this project by using photosensitive system like LDR (Light dependent resistor) and IR
(Infrared) sensors we are providing locking system and making security alerts continuously , if in case any
device/Money may stole by thieves it sends message to authorized person using GSM module for security
purpose.
REFERENCES
[1]. H. Yusof, S.F. Toha, N.Z. Azlan, F. Zainuddin, R. M. Muhida and M.N.F Kazim "Prototype Modeling of
Security System with Metal Detector", Second IEEE Conference on Industrial Electronics and
Applications,
[2]. Qin Taichun, Li Xiaogang, Wang Yahui and Liu Ziwei "Design of GSM-based Tele-Monitoring and Alarm
System for Disposable Diaper", IEEE International Conference on Green Computing and Comuunications,
[3]. GeethJayendra, SisilKumarawadu and LasanthaMeegahapola "RFID-Based Anti-theft Auto Security
System with an Immobilizer", IEEE, Second International Conference on Industrial and Information
Systems, ICIIS 2007, Vinoth Kumar Sadagopan, UpendranRajendran and Albert Joe Francis 2011 :IEEE
[4]. Hu Jian-ming, Li Jie, Li and Guang-hui "Automobile Anti-theft System Based on GSM and GPS Module",
IEEE, 2012 Fifth International Conference on Intelligent Networks and Intelligent Systems,
[5]. Zhang Ya-jun "Design of remote motion detection and alarm monitoring system based on the ARM",
IEEE, 2012 Second International Conference on Instrumentation & Measurement, Computer,
Communication and Control, A. PazhampillySreedevi, B. Sarath and S Nair 2011 :IEEE
[6]. B.G. Nagaraja, Ravi Rayappa, M Mahesh, Chandrasekhar, M Patil and T.C. Manjunath "Design &
Development of a GSM Based Vehicle Theft Control System", IEEE International Conference on
Advanced Computer Control,
87 | P a g e
[7]. Li Deng, Shengbo Sang, Wendong Zhang, Pengwei Li, Jie Hu, Gang Li, HuiFeng and Xiaoliang Tang
"The Design of Burglar Alarm Circuit Based on the Magnetic Field Sensor", 2012 IEEE International
Conference on Computing, Measurement, Control and Sensor Network,
[8]. JayashriBangali and ArvindShaligram "Design and Implementation of Security Systems for Smart
Homebased on GSM technology", International Journal of Smart Home, vol. 7, no. 6, pp.201 -208 2013
[9]. P. Bagavathy, R. Dhaya and T. Devakumar "Real Time Car Theft Decline System Using ARM Processor",
IEEE, Proc. Of Int. conf. on Advances in Recent Technologies in Communication and Computing,
AUTHOR DETAILS
Sheshapuprasad, pursuing M.Tech (DECE) from Nalanda Institute of and Technology(NIT),
Siddharth Nagar, Kantepudi village, SatenepalliMandal, Guntur dist, AP, INDIA.
D.Suneel,working as Assistant Professor (ECE)from Nalanda Institute of Engineering and
Technology Siddharth Nagar, Kantepudi village, Satenepallimandal, Guntur dist, AP,
INDIA.
88 | P a g e