Professional Documents
Culture Documents
Set Up A Pi Motion Detector
Set Up A Pi Motion Detector
Camera case
Put your Pi camera in a
protective case to keep
it safe when it's set up
as a motion detector
Take it apart
With modular components, it’s easy
to disassemble and allows for various
configurations to suit your needs
Resources
T
he Raspberry Pi camera is an excellent piece The code is fairly simple as well, plus you’ll be able to
of kit for many projects. With a decent sensor, learn some special methods of storing photos.
SD card with up-to-date video capabilities and great Python support from
version of Raspbian
picamera Python module
picamera, there’s plenty you can do with it. You can
easily do surveillance and time-lapse photography with “Combine time-lapse
Raspberry Pi camera module
the camera – but what if you could combine the two?
Having the camera take photos when motion occurs
reduces the strain on the Pi for surveillance and can
photography and
create a better time-lapse for more human situations. surveillance”
94 Raspberry Pi for Beginners
01 Enable the camera module
Before we start, make sure to update your
Raspberry Pi and its firmware with apt-get update
and apt-get upgrade followed by rpi-update.
Once that's done, enter the raspi-config by typing
exactly that in the terminal and choosing ‘Enable’
in the Enable Camera option. Hit Finish to reboot.