SlideShare a Scribd company logo
SMART WIRELESS SURVEILLANCE MONITORING
SYSTEM USING RASPBERRY PI
ABSTRACT
This project deals with the design and implementation of
Smart surveillance monitoring system using Raspberry
pi. It uses wireless technology to provide essential
security using surveillance system. The proposed
security system captures information and transmits it
via a WiFi to a static IP, which is viewed using a web
browser from any smart device. Raspberry pi controls a
video camera for surveillance. It streams live video and
records the motion detected parts in the cloud and/or in
the windows shared folder for future playback. The
cameras automatically initiate recording when motion is
sensed and the Raspberry pi device stores it in a secured
folder.
INTRODUCTION
• High Definition Surveillance Camera using
raspberry pi is set up in the area which we want to
monitor.
• Live streamed video can be accessed from
anywhere by just entering the static IP assigned to
the System in a web browser.
• Video containing motion is detected and stored in
a cloud (dropbox) or in a separate windows shared
folder.
ADVANTAGES OVER EXISTING SYSTEM
• In CCTV systems there should be a dedicated PC for the module which is
eliminated here.
• A PC can be hacked and the files can be erased while this system
overcomes those problems.
• In this system, authentication is required on the user side inorder to view
the streamed video in the browser.
• Very less expensive when compared to the other existing systems.
• In this system, a wide area can be captured.
• The camera motion can be controlled by the user.
COMPONENTS USED
RASPBERRY PI
A small credit-card sized computer capable of performing various
functionalities such as in surveillance systems, military applications,
SPECIFICATIONS B+
RASPBERRY PI CAMERA MODULE
• 5 MP Camera exclusively made for Raspberry PI
• Can take 1080p High Definition Videos
• Small in size and can be connected directly to the Raspberry PI Board.
• 1080p, 780p and also
Still pictures.
SD CARD
• Raspberry PI has no storage on board.
• SD/micro SD Card stores the OS. The total
memory of the SD card is about 8GB.
• Class 10 is preferred owing to its high speed.
NETWORK ADAPTER
• Wireless network connection is used for the
process of data transfer.
• Wi-Fi USB Adapter that supports speed of
150Mbps is used.
• Edimax is a commonly used Wi-Fi USB
Adapter.
POWER SUPPLY
• A micro-usb plug power supply that supplies
at least 1A of power is used.
• It also runs on a battery.
HOUSING FOR THE CAMERA
• We use a camera housing, so that the size of
the housing is large enough for the Rasperry pi
board to fit in there.
SOFTWARES USED
• Raspbian OS
• PuTTY
• Motion Software
BLOCK DIAGRAM
OS Installation
• At first,install the OS and software to the Raspberry Pi before mounting it all together.
• An OS is the basic operating system software that tells the Raspberry hardware
what to do. Linux is perfect for this.
• We have chosen Raspbian, as it's one of the most advanced OS for
the Raspberry with loads of help and tutorials on the internet.
• We need to prepare the SD card to be able to run Raspbian on the Raspberry
• Insert the prepared SD card with the Raspbian installer on it and attach the power
supply.
• Now make sure your RPI is up to date:
• sudo apt-get install rpi-update
• sudo rpi-update
• And also update all packages:
• sudo apt-get update
• sudo apt-get upgrade
RASPBIAN OS
PuTTY
PuTTY to remotely control your Pi from another PC
• Because having a CCTV camera with a keyboard and HDMI screen hanging
off it is wildly impractical, we want to start accessing and controlling the Pi
remotely as soon as it's been successfully updated. This is possible via SSH
(short for Secure SHell protocol), which is installed by default with Raspbian.
• To access the Pi remotely from a Windows PC, we need to download an
SSH client – we used PuTTY.
• Once the .exe. file has downloaded to your Windows PC, place it
somewhere convenient, such as on your desktop. When we launch it, we
have to enter the IP address of your Pi into the Host Name (or IP address)
field and click Open.
• To save time later, you might want to click Save first and give the
connection a relevant name – we've chosen RPi. We can find the Pi's IP
address by either finding it in your router's management web page (you
might also like to ask the router to assign the Pi a static IP address while
there, if the option is available) or else type 'ip addr show' into the Pi.
• Once we have the IP address you'll be able to log in to the Pi via PuTTY
with the default pi and raspberry user name and password, and once you
have remote control of the Pi you can unplug its keyboard and screen.
ENABLE WIFI
• If we want to run this camera with a WiFi USB dongle we will need to do
some quick additional steps to make WiFi work on the Raspberry:
From the console (PuTTY window), edit the network properties of the
Raspberry:
• sudo nano /etc/network/interfaces
• Now add these lines at the end of the file (or change existing lines to
match these):
• allow-hotplug wlan0
• iface wlan0 inet dhcp
• wpa-ssid "YOUR NETWORK SSID"
• wpa-psk "WIFI PASSWORD“
• (Fill in the SSID and password for your WiFi network)
• Then Reboot the Raspberry with this command and see if it correctly
connects to your WiFi network:
• sudo reboot
WIFI CONFIGURATION
• Or we can connect the ethernet cable directly to the Rpi’s ethernet
port
RPI CAMERA
• To enable the camera go to the command window and go to the configuration
window.
• sudo raspi-config
COMMANDS
• "raspistill" is a command line application that allows you to capture images with
your camera module. Below is an example of this command in use.
• To capture an image in jpeg format, type "raspistill -o image.jpg" at the prompt,
where "image" is the name of your image
• "raspivid" is a command line application that allows you to capture video with your
camera module. Below is an example of this command in use.
• To capture a 10 second video with your Raspberry Pi camera module, run "raspivid
-o video.h264 -t 10000" at the prompt, where "video" is the name of your video and
"10000" is the number of milliseconds
COMMANDS FOR THE CAMERA
OUTPUT IMAGE CAPTURED
MOTION SOFTWARE
• We shall now install motion, which is the motion detection software that
we shall utilise.
• sudo apt-get install motion
• As the current version of motion does not (yet) support
the Raspberry camera module, we need to download and install a special
build with support for this camera module.
• cd /tmp
• sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-
dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev
zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev
• wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz
• And now you need to unpack the downloaded file to the /tmp directory:
• tar zxvf motion-mmal.tar.gz
Config. file
• Motion has a hundred options to fiddle and play with in its lengthy configuration
file; there are some we'd almost always change, some we might change if we had a
certain task in mind, and others we might fiddle with if we had plenty of spare time
and a very specific aim.
• Make sure that motion is always running as a daemon in the background:
• daemon on
• We want to store the logfile in /tmp instead (otherwise autostart user won't be able
to acces it in /home/pi/ folder):
• logfile /tmp/motion.log
• As we want to use a high quality surveillance video, we've set the resolution to
1280x720:
• width 1280
• height 720
• We don't need real-time video, 2 pictures per second are totally ok for our needs:
• framerate 2
• This is a very handy feature of the motion software: record some (2 in our
configuration) frames before and after the motion in the image was detected:
• pre_capture 2
• post_capture 2
• We don't want endless movies. Instead, we want to have max. 10 minutes slices of
the motion videos. This config option was renamed from max_movie_time to
max_mpeg_time in motion. If you use the motion-mmal build, this one will work.
If you get an error 'Unknown config option "max_mpeg_time"' either change this
one to max_movie_time or make sure to really use the motion-mmal build as
shown above.
• max_mpeg_time 600
• As some media players like VLC are unable to play the recorded movies, we've
changed the codec to msmpeg4. Then, the movies play correctly in all players:
• ffmpeg_video_codec msmpeg4
• Enable access to the live stream from anywhere. Otherwise only
localhost (= the Raspberry device) would be allowed to access
the live stream:
• stream_localhost off
• If you want to protect the live stream with a username and
password, you should enable this:
• stream_auth_method 2
• stream_authentication SOMEUSERNAME:SOMEPASSWORD
• After your changes to the motion.conf, reboot the Raspberry:
• sudo reboot
THE FINAL SETUP
CAMERA LED
• This has the advantage that the "tech" of the camera is not visible anymore. If you
like the camera recording led to be visible, don't cover it. Whenever the camera is
detecting any motion or is recording, the led light will glow in a very bright red.
• You can also turn off the camera red LED by adding this line to /boot/config.txt:
• disable_camera_led=1
ACCESSING THE LIVE STREAM
• Now wecan access the live stream from the camera from any browser via the url
http://IPADDRESSOFRASPBERRY:8081 , where 8081 is the port that we've
configured for our stream in the motion.conf file.
ACCESSING THE LIVE STREAM
FROM MOBILE BROWSER
CONCLUSION
• There are a thousand things we can do with such
a surveillance cam basic setup now.
• Sending Growl notifications when some motion was
detected
• Or we could easily add a temperature-sensor to the cam and
can be integrated very easily.
• If you want extra security, you could also add a battery
pack to the camera. The one that is able to charge
simultaneously while powering the Raspberry. This would
enable you to detect if some bad guy cuts the power strips of
your camera and send some alert messages to you (i.e. SMS
or email) including the video of the disturber.

More Related Content

What's hot

Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)
Siang Wei Lee
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt
SOMRAJ GAUTAM
 
Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-Pi
Rehan Fazal
 
Smart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi andSmart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi and
JEEVA ARAVINTH
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)
Rappy Saha
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
HusainBhaldar21
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.
sayed78
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
creatjet3d labs
 
Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
Jagannath Kartik
 
Automatic door using arduino
Automatic door using arduinoAutomatic door using arduino
Automatic door using arduino
sayyed sabir
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
Amarjeetsingh Thakur
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
Naga Srinivas
 
RASPBERRY PI
RASPBERRY PIRASPBERRY PI
RASPBERRY PI
VaishaliSrigadhi
 
Raspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture classRaspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture class
Michael Gordon
 
Raspberry pi complete setup
Raspberry pi complete setupRaspberry pi complete setup
Raspberry pi complete setup
Santosh Kumar Kar
 
PLC based home automation (undergrad thesis)
PLC based home automation (undergrad thesis)PLC based home automation (undergrad thesis)
PLC based home automation (undergrad thesis)
Sameer Patel
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
Anija Nair
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
Mandeesh Singh
 
Android Based Home Automation Control
Android Based Home Automation ControlAndroid Based Home Automation Control
Android Based Home Automation Control
Vivek Porwal
 

What's hot (20)

Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)
 
Raspberrypi best ppt
Raspberrypi best ppt Raspberrypi best ppt
Raspberrypi best ppt
 
Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-Pi
 
Smart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi andSmart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi and
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Bluetooth based Home Automation
Bluetooth based Home AutomationBluetooth based Home Automation
Bluetooth based Home Automation
 
Automatic door using arduino
Automatic door using arduinoAutomatic door using arduino
Automatic door using arduino
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
RASPBERRY PI
RASPBERRY PIRASPBERRY PI
RASPBERRY PI
 
Raspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture classRaspberry Pi presentation for Computer Architecture class
Raspberry Pi presentation for Computer Architecture class
 
Raspberry pi complete setup
Raspberry pi complete setupRaspberry pi complete setup
Raspberry pi complete setup
 
PLC based home automation (undergrad thesis)
PLC based home automation (undergrad thesis)PLC based home automation (undergrad thesis)
PLC based home automation (undergrad thesis)
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
Android Based Home Automation Control
Android Based Home Automation ControlAndroid Based Home Automation Control
Android Based Home Automation Control
 

Similar to Smart Wireless Surveillance Monitoring using RASPBERRY PI

5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
Jayanthi Kannan MK
 
Capstone_Project.ppt
Capstone_Project.pptCapstone_Project.ppt
Capstone_Project.ppt
Dhruvkumar Panchal
 
projectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptxprojectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptx
bhaveshagrawal35
 
Raspberry pi : how to get started
Raspberry pi : how to get startedRaspberry pi : how to get started
Raspberry pi : how to get started
동호 손
 
Raspberry pi jam july
Raspberry pi jam julyRaspberry pi jam july
Raspberry pi jam july
Jon Ho
 
Raspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMooreRaspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMoore
Benjamin Moore
 
Install MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and moreInstall MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and more
Rod Flohr
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Enablex io
 
Add sale davinci
Add sale davinciAdd sale davinci
Add sale davinci
Akash Sahoo
 
Automation of pheromone traps
Automation of pheromone trapsAutomation of pheromone traps
Automation of pheromone traps
sarvan k
 
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Chris Tankersley
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
Rishabh Sharma
 
Fish Cam.pptx
Fish Cam.pptxFish Cam.pptx
Fish Cam.pptx
PhilipBasford
 
New Microsoft PowerPoint Presentation (2).pptx
New Microsoft PowerPoint Presentation (2).pptxNew Microsoft PowerPoint Presentation (2).pptx
New Microsoft PowerPoint Presentation (2).pptx
MannuMatamAkash
 
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
Daniele Albrizio
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
TE4P
 
Raspberry pi home automation idea
Raspberry pi home automation ideaRaspberry pi home automation idea
Raspberry pi home automation idea
shashi gautam
 
OpenEye Optix Network Cameras
OpenEye Optix Network CamerasOpenEye Optix Network Cameras
OpenEye Optix Network Cameras
openeyevideo
 
CCTV
CCTVCCTV
Up and running with Raspberry Pi
Up and running with Raspberry PiUp and running with Raspberry Pi
Up and running with Raspberry Pi
Shahed Mehbub
 

Similar to Smart Wireless Surveillance Monitoring using RASPBERRY PI (20)

5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
 
Capstone_Project.ppt
Capstone_Project.pptCapstone_Project.ppt
Capstone_Project.ppt
 
projectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptxprojectppt-141127001908-conversion-gate02.pptx
projectppt-141127001908-conversion-gate02.pptx
 
Raspberry pi : how to get started
Raspberry pi : how to get startedRaspberry pi : how to get started
Raspberry pi : how to get started
 
Raspberry pi jam july
Raspberry pi jam julyRaspberry pi jam july
Raspberry pi jam july
 
Raspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMooreRaspi_TOR_Access_Point_BenMoore
Raspi_TOR_Access_Point_BenMoore
 
Install MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and moreInstall MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and more
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
 
Add sale davinci
Add sale davinciAdd sale davinci
Add sale davinci
 
Automation of pheromone traps
Automation of pheromone trapsAutomation of pheromone traps
Automation of pheromone traps
 
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Fish Cam.pptx
Fish Cam.pptxFish Cam.pptx
Fish Cam.pptx
 
New Microsoft PowerPoint Presentation (2).pptx
New Microsoft PowerPoint Presentation (2).pptxNew Microsoft PowerPoint Presentation (2).pptx
New Microsoft PowerPoint Presentation (2).pptx
 
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
 
Raspberry pi home automation idea
Raspberry pi home automation ideaRaspberry pi home automation idea
Raspberry pi home automation idea
 
OpenEye Optix Network Cameras
OpenEye Optix Network CamerasOpenEye Optix Network Cameras
OpenEye Optix Network Cameras
 
CCTV
CCTVCCTV
CCTV
 
Up and running with Raspberry Pi
Up and running with Raspberry PiUp and running with Raspberry Pi
Up and running with Raspberry Pi
 

Recently uploaded

CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 

Recently uploaded (20)

CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 

Smart Wireless Surveillance Monitoring using RASPBERRY PI

  • 1. SMART WIRELESS SURVEILLANCE MONITORING SYSTEM USING RASPBERRY PI
  • 2. ABSTRACT This project deals with the design and implementation of Smart surveillance monitoring system using Raspberry pi. It uses wireless technology to provide essential security using surveillance system. The proposed security system captures information and transmits it via a WiFi to a static IP, which is viewed using a web browser from any smart device. Raspberry pi controls a video camera for surveillance. It streams live video and records the motion detected parts in the cloud and/or in the windows shared folder for future playback. The cameras automatically initiate recording when motion is sensed and the Raspberry pi device stores it in a secured folder.
  • 3. INTRODUCTION • High Definition Surveillance Camera using raspberry pi is set up in the area which we want to monitor. • Live streamed video can be accessed from anywhere by just entering the static IP assigned to the System in a web browser. • Video containing motion is detected and stored in a cloud (dropbox) or in a separate windows shared folder.
  • 4. ADVANTAGES OVER EXISTING SYSTEM • In CCTV systems there should be a dedicated PC for the module which is eliminated here. • A PC can be hacked and the files can be erased while this system overcomes those problems. • In this system, authentication is required on the user side inorder to view the streamed video in the browser. • Very less expensive when compared to the other existing systems. • In this system, a wide area can be captured. • The camera motion can be controlled by the user.
  • 6. RASPBERRY PI A small credit-card sized computer capable of performing various functionalities such as in surveillance systems, military applications,
  • 8. RASPBERRY PI CAMERA MODULE • 5 MP Camera exclusively made for Raspberry PI • Can take 1080p High Definition Videos • Small in size and can be connected directly to the Raspberry PI Board. • 1080p, 780p and also Still pictures.
  • 9. SD CARD • Raspberry PI has no storage on board. • SD/micro SD Card stores the OS. The total memory of the SD card is about 8GB. • Class 10 is preferred owing to its high speed.
  • 10. NETWORK ADAPTER • Wireless network connection is used for the process of data transfer. • Wi-Fi USB Adapter that supports speed of 150Mbps is used. • Edimax is a commonly used Wi-Fi USB Adapter.
  • 11. POWER SUPPLY • A micro-usb plug power supply that supplies at least 1A of power is used. • It also runs on a battery.
  • 12. HOUSING FOR THE CAMERA • We use a camera housing, so that the size of the housing is large enough for the Rasperry pi board to fit in there.
  • 13. SOFTWARES USED • Raspbian OS • PuTTY • Motion Software
  • 15. OS Installation • At first,install the OS and software to the Raspberry Pi before mounting it all together. • An OS is the basic operating system software that tells the Raspberry hardware what to do. Linux is perfect for this. • We have chosen Raspbian, as it's one of the most advanced OS for the Raspberry with loads of help and tutorials on the internet. • We need to prepare the SD card to be able to run Raspbian on the Raspberry • Insert the prepared SD card with the Raspbian installer on it and attach the power supply. • Now make sure your RPI is up to date: • sudo apt-get install rpi-update • sudo rpi-update • And also update all packages: • sudo apt-get update • sudo apt-get upgrade
  • 17. PuTTY PuTTY to remotely control your Pi from another PC • Because having a CCTV camera with a keyboard and HDMI screen hanging off it is wildly impractical, we want to start accessing and controlling the Pi remotely as soon as it's been successfully updated. This is possible via SSH (short for Secure SHell protocol), which is installed by default with Raspbian. • To access the Pi remotely from a Windows PC, we need to download an SSH client – we used PuTTY.
  • 18. • Once the .exe. file has downloaded to your Windows PC, place it somewhere convenient, such as on your desktop. When we launch it, we have to enter the IP address of your Pi into the Host Name (or IP address) field and click Open. • To save time later, you might want to click Save first and give the connection a relevant name – we've chosen RPi. We can find the Pi's IP address by either finding it in your router's management web page (you might also like to ask the router to assign the Pi a static IP address while there, if the option is available) or else type 'ip addr show' into the Pi. • Once we have the IP address you'll be able to log in to the Pi via PuTTY with the default pi and raspberry user name and password, and once you have remote control of the Pi you can unplug its keyboard and screen.
  • 19. ENABLE WIFI • If we want to run this camera with a WiFi USB dongle we will need to do some quick additional steps to make WiFi work on the Raspberry: From the console (PuTTY window), edit the network properties of the Raspberry: • sudo nano /etc/network/interfaces • Now add these lines at the end of the file (or change existing lines to match these): • allow-hotplug wlan0 • iface wlan0 inet dhcp • wpa-ssid "YOUR NETWORK SSID" • wpa-psk "WIFI PASSWORD“ • (Fill in the SSID and password for your WiFi network) • Then Reboot the Raspberry with this command and see if it correctly connects to your WiFi network: • sudo reboot
  • 20. WIFI CONFIGURATION • Or we can connect the ethernet cable directly to the Rpi’s ethernet port
  • 21. RPI CAMERA • To enable the camera go to the command window and go to the configuration window. • sudo raspi-config
  • 22. COMMANDS • "raspistill" is a command line application that allows you to capture images with your camera module. Below is an example of this command in use. • To capture an image in jpeg format, type "raspistill -o image.jpg" at the prompt, where "image" is the name of your image • "raspivid" is a command line application that allows you to capture video with your camera module. Below is an example of this command in use. • To capture a 10 second video with your Raspberry Pi camera module, run "raspivid -o video.h264 -t 10000" at the prompt, where "video" is the name of your video and "10000" is the number of milliseconds
  • 25. MOTION SOFTWARE • We shall now install motion, which is the motion detection software that we shall utilise. • sudo apt-get install motion • As the current version of motion does not (yet) support the Raspberry camera module, we need to download and install a special build with support for this camera module. • cd /tmp • sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat- dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev • wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz • And now you need to unpack the downloaded file to the /tmp directory: • tar zxvf motion-mmal.tar.gz
  • 26. Config. file • Motion has a hundred options to fiddle and play with in its lengthy configuration file; there are some we'd almost always change, some we might change if we had a certain task in mind, and others we might fiddle with if we had plenty of spare time and a very specific aim. • Make sure that motion is always running as a daemon in the background: • daemon on • We want to store the logfile in /tmp instead (otherwise autostart user won't be able to acces it in /home/pi/ folder): • logfile /tmp/motion.log • As we want to use a high quality surveillance video, we've set the resolution to 1280x720: • width 1280 • height 720 • We don't need real-time video, 2 pictures per second are totally ok for our needs: • framerate 2
  • 27. • This is a very handy feature of the motion software: record some (2 in our configuration) frames before and after the motion in the image was detected: • pre_capture 2 • post_capture 2 • We don't want endless movies. Instead, we want to have max. 10 minutes slices of the motion videos. This config option was renamed from max_movie_time to max_mpeg_time in motion. If you use the motion-mmal build, this one will work. If you get an error 'Unknown config option "max_mpeg_time"' either change this one to max_movie_time or make sure to really use the motion-mmal build as shown above. • max_mpeg_time 600 • As some media players like VLC are unable to play the recorded movies, we've changed the codec to msmpeg4. Then, the movies play correctly in all players: • ffmpeg_video_codec msmpeg4
  • 28. • Enable access to the live stream from anywhere. Otherwise only localhost (= the Raspberry device) would be allowed to access the live stream: • stream_localhost off • If you want to protect the live stream with a username and password, you should enable this: • stream_auth_method 2 • stream_authentication SOMEUSERNAME:SOMEPASSWORD • After your changes to the motion.conf, reboot the Raspberry: • sudo reboot
  • 30. CAMERA LED • This has the advantage that the "tech" of the camera is not visible anymore. If you like the camera recording led to be visible, don't cover it. Whenever the camera is detecting any motion or is recording, the led light will glow in a very bright red. • You can also turn off the camera red LED by adding this line to /boot/config.txt: • disable_camera_led=1
  • 31. ACCESSING THE LIVE STREAM • Now wecan access the live stream from the camera from any browser via the url http://IPADDRESSOFRASPBERRY:8081 , where 8081 is the port that we've configured for our stream in the motion.conf file.
  • 32. ACCESSING THE LIVE STREAM FROM MOBILE BROWSER
  • 33. CONCLUSION • There are a thousand things we can do with such a surveillance cam basic setup now. • Sending Growl notifications when some motion was detected • Or we could easily add a temperature-sensor to the cam and can be integrated very easily. • If you want extra security, you could also add a battery pack to the camera. The one that is able to charge simultaneously while powering the Raspberry. This would enable you to detect if some bad guy cuts the power strips of your camera and send some alert messages to you (i.e. SMS or email) including the video of the disturber.