Вы находитесь на странице: 1из 3

Proceedings of 2015 Global Conference on Communication Technologies(GCCT 2015)

Advanced Raspberry Pi Surveillance (ARS)


System
Patchava Vamsikrishna#1 , Shaik Riyaz Hussain#2 , Neelavarapu Ramu*3 , Paila Mohan Rao#4 ,
Goli Rohan#5, Behara Durga Siva Teja#6
#
Department of Electronics & Communication Engineering, RGUKT-Nuzvid, Andhra Pradesh, India
*
Department of Mechanical Engineering, RGUKT-Nuzvid, Andhra Pradesh, India
Email: 1vamsi.patchava@gmail.com, 2riyazhussain@rgukt.in, 3ram.neelvarapu929@gmail.com,
4
paila.mohan3@gmail.com, 5rohanr27@gmail.com, 6bds.teja4@gmail.com

Abstract - This paper explains about Advanced Raspberry Pi


Surveillance (ARS) system. Here Raspberry Pi, a credit card
sized mini-computer is used in surveillance to control threat of
thefts. The main idea of ARS system is to notify the user
whenever there is human interference in the surveillance area.
Using SimpleCV, a simple computer vision library, ARS system
captures surrounding and detects human presence. This
presence of motion notifies the user. This notification process is
done by sending short message service (SMS) through GSM
Module. Along with surveillance with notification, this ARS
system is also used during morning times for normal
surveillance which is monitored in the presence of user.
Keywords - Raspberry Pi, GSM module, SMS, Camera,
SimpleCV, Surveillance

I. INTRODUCTION

In modern times, uncontrolled threat-of-thefts are FIG1.1: RASPBERRY PI B+ BOARD


making people to worry about their valuables. So there is a
necessity of continuous surveillance of their houses which B+ is the latest version out of them, runs on ARM11
includes their valuables. Now-a-days surveillance systems processor with 512MB RAM operating at 700MHz
[3] have become more purposeful in common life using frequency. It has a slot for SD Card which can be bootable
efficient computer algorithms in place of manual with Raspbian, Pidora, Raspbmc etc. Operating Systems. It
observation. Whether the person is residing in his house or comes with four USB2.0 ports to connect the devices like
out of it, the monitoring system should be active enough to mouse, keyboard, WiFi adapter etc., making it a full sized
notify the person. In practice, this is done by set of portable pocket computer. It has an Ethernet port to connect
computers. This becomes complex because of the use of with network. GPIO pins which are used to interface and
Closed Circuit Cameras (CCTV) and also massive control LEDs, switches, sensors and other devices.
computers. To overcome the difficulties of surveillance With the help of HDMI port, all kinds of monitors
through CCTV footages, Raspberry Pi a single chip mini- like LCD screens, projectors, TVs also can be connected. In
computer which is intelligent enough to capture the footages this board, some additional features like camera connector
reducing the size and price. are present to interface camera and an audio jack also
Advance Surveillance using Raspberry Pi involves available. With all these features, Raspberry Pi is not just
Simple CV, which is a collection of libraries and software limited to single use, it can be of wide use according to the
that allows user to work with images or video streams that application. We can connect it to several monitors at a time
come from cameras. It detects the human interference using HDMI extension switch.
through surveillance and notify [1] it to the user.
B. GSM Module
A. Raspberry Pi GSM Modem [6] with Sim900 module is built with
Raspberry pi [4, 7] is advanced RISC machine Dual band GSM/GPRS. It has a variable baud rate ranging
processed lightweight computer minimized on to a single from 9600 to 115200. Baud rate can be configurable using
board. ARM technology used on the board reduces cost, heat AT commands. It works on frequencies 900 / 1800 MHz. It
and energy effective multi core CPU implemented as operates on 12V regulated power supply. It has a SIM card
system-on-chip (SoC) uses 5V, 700mA power rating. This slot to insert SIM and a receiving antenna to receive network
board is available in three variants named A, B, B+ [7, 9]. signals. It has RS232 interface which allows it to connect de-

978-1-4799-8553-1/15/$31.00 © 2015 IEEE 860


Proceedings of 2015 Global Conference on Communication Technologies(GCCT 2015)

FIG2.1: SYSTEM DESIGN FOR ARS SYSTEM

FIG1.2: GSM MODULE

vices like PC, Raspberry Pi, microcontroller etc.


This module can perform the basic functions of a
mobile phone like receiving and sending SMS, voice calls,
and TCP/IP communication [2] over GPRS based on various
AT commands.
AT commands can be sent via the serial port on
Raspberry Pi, thus functions such as dialling and answering
calls, sending and receiving messages and surfing online can
be realized.
The rest of the paper is structured as follows.
Section II explains the system design implementation.
Section III deals with the algorithm of the program. Section
IV shows the results. Section V discusses the conclusion and
future work. FIG3.1: CODING ALGORITHM FOR ARS SYSTEM

II. IMPLEMENTATION GSM module responds to AT commands through


serial communication. AT means attention. Set of AT
System Design commands perform different functions.
The basic aim of this system design is to In Raspberry Pi, program written in Python
continuously capture the surroundings under surveillance programming language using SimpleCV module reads
and if interference (any movement) is noticed, the message captured images and compares presence of motion and sends
is sent to the user notifying him. Refer the fig 2.1. messages from GSM module through serial communication
To send message we use GSM module’s short link. Refer the fig 3.1.
message service (SMS) which is connected to Raspberry Pi By following below steps the ARS system is implemented:
through RS232 serial port. A program is written for • Import all the required modules for serial
continuously capturing the surroundings using camera and communication and SimpleCV.
comparing them with the image frame of time shift. This • Initialize serial port for communicating with GSM
comparison detects the motion notifying through message. module.
Raspberry Pi will control all of the accessories at a time viz., • Communicate with camera to read the images of the
Camera, SimpleCV and GSM module. surrounding.
The ARS system uses MPEG-Streamer to stream • Camera image frames are captured using SimpleCV
live video on monitor connected to Raspberry Pi through modules.
HDMI port. And this is also used to stream the video online • Successive images are compared with each other.
i.e., we can see the live streaming anywhere over internet. • This comparison detects the presence of motion.
We can connect it to several monitors at a time using HDMI • If motion is detected, then notification is sent.
extension switch. • If motion detection fails, then surveillance
continues.
III. ALGORITHM • Message is sent by GSM module which sends
notification to the user.
Raspberry Pi board uses Linux-Kernel [5] operating • Raspberry Pi then clears off the message sent from
systems supporting programming languages like C, Python GSM Module’s temporary memory.
etc., Python language [8] is used in ARS system makes easy • Then the surveillance continues.
to communicate with serial port, SimpleCV modules.

978-1-4799-8553-1/15/$31.00 © 2015 IEEE 861


Proceedings of 2015 Global Conference on Communication Technologies(GCCT 2015)

The whole system setup consisting of GSM module,


Raspberry Pi, Camera. Refer the fig 4.1.

A series of images showing the results of our


algorithm by comparing successive images captured by
camera to detect motion. Refer the fig 4.2.

After detection of motion the following result


shows the sending alert message to user. Refer the fig 4.3.

V. CONCLUSION

In bank security system, night time surveillance


becomes very difficult using manual observation. ARS
system can replace manual observation and notifies the
security officials. This ARS system can also be used in wide
FIG4.1: ARS SYSTEM SETUP
areas like industries and home security services. A direct
application of ARS system i.e., surveillance with notification
is explained in the application section. This ARS system
highlights one of the applications by using just a few
features of Raspberry Pi. Raspberry Pi with its wide features
can be used for multi purposes and have much scope for
future work. This work can be extended in future to discover
the person’s identity under surveillance or else it notifies
user as a suspect. This can be further extended to
autonomous robotic surveillance also.

REFERENCES

[1] Sarthak Jain, Anant Vaibhav and Lovely Goyal, “Raspberry Pi based
Interactive Home Automation System through E-mail”, International
Conference on Reliability, Optimization and Information Technology-
ICROIT 2014, India, Feb6-8 2014.
[2] Nicholas D., Darrell B., Somsak S., “Home Automation using
Cloud Network and Mobile Devices,” IEEE Southeastcon 2012,
Proceedings of IEEE.
FIG4.2: DETECTION OF MOTION BY ALGORITHM [3] Laur, I., “Microcontroller based home automation system with
security,” International Journal of Advanced Computer Science and
Applications, vol. 1, no. 6, pp. 60-65, 2010.
[4] Matt Richardson and Shawn Wallace, Getting Started with Raspberry
Pi. United States of America: O’Reilly Media, 2013.
[5] Peter Membrey and David Hows, Learn Raspberry Pi with Linux. New
York City: Apress, 2012, pp. 1-149.
[6] SIM900_AT Command Manual_V1.03, Shanghai SIMCom Wireless
Solutions Ltd.2010.
[7] Eben Upton and Gareth Halfacree, Raspberry Pi User Guide. A John
Wiley and Sons Ltd., 2012.
[8] Python Software Foundation[US], https://pypi.python.org/pypi
[9] Raspberry Pi Foundation, http://www.raspberry.org

FIG4.3: SENDING MESSAGE TO USER IN PRESENCE OF MOTION

IV. RESULTS

ARS system is practically tested and the results are


obtained successfully.

Results of ARS system are as follows:

978-1-4799-8553-1/15/$31.00 © 2015 IEEE 862

Вам также может понравиться