International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1650 IOT BASED ANTI THEFT DETECTION AND ALERTING SYSTEM USING RASPBERRY PI U. Sirisha1 D. PoojaSri2, N. Gayathri3, K. Heshma4,G. Raja Sekhar5, 1 Assistant professor,Department of Computer Science Engineering, Dhanekula Institute of Engineering Technology, Andhra Pradesh, India 2 345 Student, Department of Computer Science Engineering, Dhanekula Institute of Engineering Technology, Andhra Pradesh, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - To secure and guard our house in our absence, we propose the IOT based Anti-theft detection and alert System using Raspberry Pi. This system monitors the entire floor for movement. One single step anywhere on the floor is tracked and user is alarmed through mail over IOT. In this system, secure flooring tile connected with IOT, when the system is to be turned on, then whoever comesinsidethehouse it passes the information over IOT. Whenever the thief enters in the house, and steps on the floor immediately it is sensed by the sensor which passes on the signal to raspberry pi controller. The controller in turn processes it to be validsignal and then moves the camera to the area where movement was detected and then transmits it over the Internet for the home owner to check the image. Key Words: IOT (Internet of Things), Raspberry Pi, PIZO Sensor, GMAIL, Pi Camera. 1. INTRODUCTION Now-a-days, Security has becomethemostchallenging task. Everyone wants safety but in present scenario, nothing is safe not even in their own houses. Home is a place where we keep our assets and ourcapital.Butwe can never be sure about the security of that asset behind us and the possibilities of intrusion are increasing day by day. We generally lock houses when going out of the house. But just locking the home is not enough, there must beasystemwhich safetyourhome, belongings and income from theft is the necessary requirements for home security system andkeeptrack of the activities and report to the owner accordingly and works according to the response of the owner. 1.1 Proposed System Anti-Theft Detection And Alert System Using RPi : Whenever the thief enters in the house, and steps on the floor immediately it is sensed by the sensor which passes on the signal to raspberry pi controller. The controller in turn processes it to be valid signal and then moves the camera to the area where movement was detected andthentransmitsitovertheInternetfor the home owner to check the image. 2. SYSTEM BLOCK DIAGRAM Fig. 1 Block diagram of Raspberry-pi based anti-theft detection system 3. HARDWARE DESCRIPTION 1. Raspberry Pi Camera Camera module is Pi camera interfacing to the raspberry pi module. Its resolution is 5-megapixel and still picture resolution 2592 x 1944, Max image transfer rate 1080p: 30fps, this Pi camera module is used for captures an image andsendcapturedimageto the Raspberry pi module.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1651 Fig. 2 Pi Camera 2. Servo Motor Attach the servo to a GPIO (we selected GPIO 17 here) of the Raspberry pi and control its rotation utilizing pulse-width modulation.Theservoispoweredbya6V- battery pack. SG90 is a small servo motor with standard functionality and working. This servo motor rotates 180 degrees, 90 degrees in each direction. Controlling this motor is not so much difficult like it does not require any motor controller and can be controlled by any servo code or library, most suitable for beginners. The motor comes with 3 arms and hardware. Being a digital servo motor it receives and processes PWM signal. Fig.3 Servo Motor 3. PIZO Sensor A piezoelectric sensor, also known as a piezoelectric transducer, is a device that uses thepiezoelectriceffect to measure changes in pressure, acceleration, temperature,strainorforcebyconvertingtheseintoan electrical charge. The prefix piezo is Greek for press or squeeze. The abilityofpiezoelectricmaterialtoconvert mechanical stress into electrical charge is called a piezoelectric effect. Generated piezoelectricity is proportional to the pressure applied to solid piezoelectric crystal materials. 4. RASPBERRY PI 3 (MODEL B+) Fig. 3 Paspberry Pi 3B+ Raspberry pi is Broadcom BCM2837 64bit ARMv7 Quad Core Processor powered Single Board Computer running at 1.2GHz. In-built:  BCM43143 WiFi on board  Bluetooth Low Energy (BLE) on board  Micro SD port for loading your operating system and storing data  1GB RAM  40pin extended GPIO  4 x USB 2 ports  4 pole Stereo output and Composite video port  Upgraded switched Micro USB power source (now supports up to 2.4 Amps)  CSI camera port for connecting the Raspberry Pi camera.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1652 5. NODE MCU NodeMCU is an open-source firmware and development kit that helps you to prototype or build IoT products. It includes firmware that runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which is based on the ESP-12 module. The firmware uses the Lua scriptinglanguage.Itisbasedon the eLua project and built on the EspressifNon-OSSDK for ESP8266. Fig. 4 NODEMCU 4. SOFTWARE DESCRIPTION The software components are used for the project has been mentioned below: 4.1 Raspbian OS: Raspbian is an unofficial port of Debian Wheezy armhf with compilation settings adjusted to produce optimized "hard float" code that will run on the Raspberry Pi. This provides significantly faster performance for applications that make heavy use of floating point arithmetic operations. All other applications will also gain some performance through the use of advanced instructions of the ARMv6 CPU in Raspberry Pi. Although Raspbian is primarily the efforts of Mike Thompson (mpthompson) and Peter Green (plug wash), it has also benefited greatly from the enthusiastic support of Raspberry Pi community members who wish to get the maximum performance from their device. 4.2 PYTHON: Python is an easy to learn, powerful programming language. It has efficienthigh-level data structuresand a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make itan ideal language for scripting and rapid application development in many areas on most platforms. The Python interpreter and the extensive standard library are freely available in source or binary formfor all major platforms from the Python Web site, https://www.python.org/, and may be freely distributed.Thesamesitealsocontainsdistributionsof and pointers to many free third party Python modules, programs and tools, and additional documentation. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications. 4.3 OPEN CV: OpenCV(OpenSourceComputerVisionLibrary) is an open source computer vision and machine learning software library. OpenCVwasbuilttoprovide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being a BSD- licensed product, Open CV makesiteasyforbusinesses to utilize and modify the code. It is free for both commercial and non-commercial use.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1653 5. ARCHITECTURAL FLOW OF SYSTEM Following Figures shows the architectural flow of system installation process and working of the proposed system which will lead to prevention of Theft. Fig. 5 Installation Process Fig. 6 Flow Chart 6. WORKING AND RESULT In this project raspberry pi 3B+ (model) has been used as heart of system. This proposed system is an intelligent system and it eliminates the need of continuous by human resource. Thus,anyhumanextra work is ruled out. This system continuously checks the status of place by sensors that Is anyone entering in the shop or not. And sends the alert message to the owner with live images by rotating camera with different angles. In this security system human bodies are detected by PIZO sensor.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1654 The main aim of this project is to make an automated security system for Banks and jewelry shops. The project consists of Raspberry Pi with sensor and camera. The whole system is placed in that place. If system detect someone in Bank/shop it sets the capture the live images and sent it on e-mail. Fig. 7 Image sent on mail 7. ADVANTAGES 1. Thedevicewascapableindistinguishingbetween human and animal intrusion using sensor for body temperature detection. 2. It was using an alarm system which uses to alert the owner by making sound. 3. It was convenient in use, relativelyfreefromfalse alarms and does not require frequent user action to arm and disarm the system. 8. DIS-ADVANTAGES 1. The use of sensor for body temperature detection increases the cost of the project. 2. The sound was made by device will not be recognized by the owner, if he/she is not present there. 9. APPLICATIONS  Jewelry Shops  Army Surveillance  Bank Locker Room  Museum Security  Home Security 10. CONCLUSIONS The research work that will becarriedoutinthisthesis would be mainly focused to design and develop efficient and convenient motion detectionsurveillance i.e. an Anti-Theft device to solve security problems which will help to reduce/stop theft. This system is suitable for small personal area surveillance. I.e. personal office cabin, bank locker room, parking entrance. Whenever the motion is detected through. The main Advantage of the project is Easy to implement, Low cost with High quality. REFERENCES [1] IOT based Raspberry Pi Home Security System with Email Alert, Circuit Digest.com, and Saddam. [2] Priya B. Patel, Viraj M. Choksi, Swapna Jadhav, M.B. Potdar, “Smart Motion Detection System using Raspberry Pi” International Journal of Applied Information Systems (IJAIS) – ISSN: 2249-0868 Foundation of Computer Science FCS, New York, USA Volume 10 – No.5, February 2016. [3] D. Pavithra; Ranjith Balakrishnan, “IOT based monitoring and control system for home automation”, IEEE Explore, Communication Technologies (GCCT), 2015 Global Conference on. BIOGRAPHIES D. Pooja Sri A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh. N.Gayathri A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh. K. Heshma A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1655 G. Rajasekhar A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh.

IRJET - IoT based Anti Theft Detection and Alerting System using Raspberry Pi

  • 1.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1650 IOT BASED ANTI THEFT DETECTION AND ALERTING SYSTEM USING RASPBERRY PI U. Sirisha1 D. PoojaSri2, N. Gayathri3, K. Heshma4,G. Raja Sekhar5, 1 Assistant professor,Department of Computer Science Engineering, Dhanekula Institute of Engineering Technology, Andhra Pradesh, India 2 345 Student, Department of Computer Science Engineering, Dhanekula Institute of Engineering Technology, Andhra Pradesh, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - To secure and guard our house in our absence, we propose the IOT based Anti-theft detection and alert System using Raspberry Pi. This system monitors the entire floor for movement. One single step anywhere on the floor is tracked and user is alarmed through mail over IOT. In this system, secure flooring tile connected with IOT, when the system is to be turned on, then whoever comesinsidethehouse it passes the information over IOT. Whenever the thief enters in the house, and steps on the floor immediately it is sensed by the sensor which passes on the signal to raspberry pi controller. The controller in turn processes it to be validsignal and then moves the camera to the area where movement was detected and then transmits it over the Internet for the home owner to check the image. Key Words: IOT (Internet of Things), Raspberry Pi, PIZO Sensor, GMAIL, Pi Camera. 1. INTRODUCTION Now-a-days, Security has becomethemostchallenging task. Everyone wants safety but in present scenario, nothing is safe not even in their own houses. Home is a place where we keep our assets and ourcapital.Butwe can never be sure about the security of that asset behind us and the possibilities of intrusion are increasing day by day. We generally lock houses when going out of the house. But just locking the home is not enough, there must beasystemwhich safetyourhome, belongings and income from theft is the necessary requirements for home security system andkeeptrack of the activities and report to the owner accordingly and works according to the response of the owner. 1.1 Proposed System Anti-Theft Detection And Alert System Using RPi : Whenever the thief enters in the house, and steps on the floor immediately it is sensed by the sensor which passes on the signal to raspberry pi controller. The controller in turn processes it to be valid signal and then moves the camera to the area where movement was detected andthentransmitsitovertheInternetfor the home owner to check the image. 2. SYSTEM BLOCK DIAGRAM Fig. 1 Block diagram of Raspberry-pi based anti-theft detection system 3. HARDWARE DESCRIPTION 1. Raspberry Pi Camera Camera module is Pi camera interfacing to the raspberry pi module. Its resolution is 5-megapixel and still picture resolution 2592 x 1944, Max image transfer rate 1080p: 30fps, this Pi camera module is used for captures an image andsendcapturedimageto the Raspberry pi module.
  • 2.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1651 Fig. 2 Pi Camera 2. Servo Motor Attach the servo to a GPIO (we selected GPIO 17 here) of the Raspberry pi and control its rotation utilizing pulse-width modulation.Theservoispoweredbya6V- battery pack. SG90 is a small servo motor with standard functionality and working. This servo motor rotates 180 degrees, 90 degrees in each direction. Controlling this motor is not so much difficult like it does not require any motor controller and can be controlled by any servo code or library, most suitable for beginners. The motor comes with 3 arms and hardware. Being a digital servo motor it receives and processes PWM signal. Fig.3 Servo Motor 3. PIZO Sensor A piezoelectric sensor, also known as a piezoelectric transducer, is a device that uses thepiezoelectriceffect to measure changes in pressure, acceleration, temperature,strainorforcebyconvertingtheseintoan electrical charge. The prefix piezo is Greek for press or squeeze. The abilityofpiezoelectricmaterialtoconvert mechanical stress into electrical charge is called a piezoelectric effect. Generated piezoelectricity is proportional to the pressure applied to solid piezoelectric crystal materials. 4. RASPBERRY PI 3 (MODEL B+) Fig. 3 Paspberry Pi 3B+ Raspberry pi is Broadcom BCM2837 64bit ARMv7 Quad Core Processor powered Single Board Computer running at 1.2GHz. In-built:  BCM43143 WiFi on board  Bluetooth Low Energy (BLE) on board  Micro SD port for loading your operating system and storing data  1GB RAM  40pin extended GPIO  4 x USB 2 ports  4 pole Stereo output and Composite video port  Upgraded switched Micro USB power source (now supports up to 2.4 Amps)  CSI camera port for connecting the Raspberry Pi camera.
  • 3.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1652 5. NODE MCU NodeMCU is an open-source firmware and development kit that helps you to prototype or build IoT products. It includes firmware that runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which is based on the ESP-12 module. The firmware uses the Lua scriptinglanguage.Itisbasedon the eLua project and built on the EspressifNon-OSSDK for ESP8266. Fig. 4 NODEMCU 4. SOFTWARE DESCRIPTION The software components are used for the project has been mentioned below: 4.1 Raspbian OS: Raspbian is an unofficial port of Debian Wheezy armhf with compilation settings adjusted to produce optimized "hard float" code that will run on the Raspberry Pi. This provides significantly faster performance for applications that make heavy use of floating point arithmetic operations. All other applications will also gain some performance through the use of advanced instructions of the ARMv6 CPU in Raspberry Pi. Although Raspbian is primarily the efforts of Mike Thompson (mpthompson) and Peter Green (plug wash), it has also benefited greatly from the enthusiastic support of Raspberry Pi community members who wish to get the maximum performance from their device. 4.2 PYTHON: Python is an easy to learn, powerful programming language. It has efficienthigh-level data structuresand a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make itan ideal language for scripting and rapid application development in many areas on most platforms. The Python interpreter and the extensive standard library are freely available in source or binary formfor all major platforms from the Python Web site, https://www.python.org/, and may be freely distributed.Thesamesitealsocontainsdistributionsof and pointers to many free third party Python modules, programs and tools, and additional documentation. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications. 4.3 OPEN CV: OpenCV(OpenSourceComputerVisionLibrary) is an open source computer vision and machine learning software library. OpenCVwasbuilttoprovide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being a BSD- licensed product, Open CV makesiteasyforbusinesses to utilize and modify the code. It is free for both commercial and non-commercial use.
  • 4.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1653 5. ARCHITECTURAL FLOW OF SYSTEM Following Figures shows the architectural flow of system installation process and working of the proposed system which will lead to prevention of Theft. Fig. 5 Installation Process Fig. 6 Flow Chart 6. WORKING AND RESULT In this project raspberry pi 3B+ (model) has been used as heart of system. This proposed system is an intelligent system and it eliminates the need of continuous by human resource. Thus,anyhumanextra work is ruled out. This system continuously checks the status of place by sensors that Is anyone entering in the shop or not. And sends the alert message to the owner with live images by rotating camera with different angles. In this security system human bodies are detected by PIZO sensor.
  • 5.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1654 The main aim of this project is to make an automated security system for Banks and jewelry shops. The project consists of Raspberry Pi with sensor and camera. The whole system is placed in that place. If system detect someone in Bank/shop it sets the capture the live images and sent it on e-mail. Fig. 7 Image sent on mail 7. ADVANTAGES 1. Thedevicewascapableindistinguishingbetween human and animal intrusion using sensor for body temperature detection. 2. It was using an alarm system which uses to alert the owner by making sound. 3. It was convenient in use, relativelyfreefromfalse alarms and does not require frequent user action to arm and disarm the system. 8. DIS-ADVANTAGES 1. The use of sensor for body temperature detection increases the cost of the project. 2. The sound was made by device will not be recognized by the owner, if he/she is not present there. 9. APPLICATIONS  Jewelry Shops  Army Surveillance  Bank Locker Room  Museum Security  Home Security 10. CONCLUSIONS The research work that will becarriedoutinthisthesis would be mainly focused to design and develop efficient and convenient motion detectionsurveillance i.e. an Anti-Theft device to solve security problems which will help to reduce/stop theft. This system is suitable for small personal area surveillance. I.e. personal office cabin, bank locker room, parking entrance. Whenever the motion is detected through. The main Advantage of the project is Easy to implement, Low cost with High quality. REFERENCES [1] IOT based Raspberry Pi Home Security System with Email Alert, Circuit Digest.com, and Saddam. [2] Priya B. Patel, Viraj M. Choksi, Swapna Jadhav, M.B. Potdar, “Smart Motion Detection System using Raspberry Pi” International Journal of Applied Information Systems (IJAIS) – ISSN: 2249-0868 Foundation of Computer Science FCS, New York, USA Volume 10 – No.5, February 2016. [3] D. Pavithra; Ranjith Balakrishnan, “IOT based monitoring and control system for home automation”, IEEE Explore, Communication Technologies (GCCT), 2015 Global Conference on. BIOGRAPHIES D. Pooja Sri A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh. N.Gayathri A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh. K. Heshma A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh.
  • 6.
    International Research Journalof Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 | Mar 2020 www.irjet.net p-ISSN: 2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 1655 G. Rajasekhar A UG Final Year student seeking his degree in Computer Science Engineering at Dhanekula institute of engineering and technology, Vijayawada, Andhra Pradesh.