background image

SPi-BOX

MANUAL

Motion Activated Security Camera

W W W. S B - CO M P O N E N T S .CO. U K

Motion

Alarm

Camera

Summary of Contents for SPi-BOX

Page 1: ...SPi BOX MANUAL Motion Activated Security Camera WWW SB COMPONENTS CO UK Motion Alarm Camera ...

Page 2: ...pture security camera which will email the captured images to an email address of your choice The case is designed to mount the Raspberry Pi 2 3 along with a Raspberry Pi camera module and a PIR module all the elements you need to set up a PIR based security camera system Safety Information To reduce the risk of damage make sure your Raspberry Pi is switched off when attaching components to the no...

Page 3: ...x GPIO PIR leads 1 x microSD card pre loaded with SPi Box scripts Putting the SPi Box Together Install your Raspberry Pi Both B and Pi 2 3 3B boards will fit the SPi Box case Please be aware that the bottom half of the case of the SPi Box is shallower than other SB Components cases making the mounting procedure slightly different Line up the hdmi side of the Pi with the lower half of the case and e...

Page 4: ...vided to secure it into place note the camera ribbon cable should point toward the USB holes in the case Attach the PIR module to the top half of the case using the screws provided to secure it into place note the pins should be closest to the camera with the orange trimming controls aligned with the two holes in the side of the case Connect the camera module ribbon to the Pi For the correct metho...

Page 5: ... to Pi pin 6 Ground Illustration of the rear of the PIR module connected to the Pi GPI Snap the two case sections together Getting the SPi Box Started To get up and running with the SPi Box scripts pre installed on the microSD card you will first need to connect your Pi to a monitor keyboard and mouse Additionally you will need to connect the Pi to your local network ...

Page 6: ...ithout connecting to a monitor keyboard and mouse Spi Box Software The SPi Box software has been installed under home pi spibox File Name Description spibox conf This is a config file that stores 1 The subject line of your email alerts 2 The email address to which your email alerts should be sent 3 Whether the email routine should be sending emails or not by default this is set to NO spibox py When ...

Page 7: ...t will attempt to email all jpg files sitting in the capture directory to the email address specified in the spibox conf file see above It then moves those files to the capture archive folder spiboxconfig py This python script will open a simple GUI allowing you to 1 Change the contents of the spibox conf file without using a text editor 2 Test that you have correctly configured your ssmtp settings see b...

Page 8: ...Box Config icon from Spi Box folder and paste it on desktop If SSMTP and MPACK is not installed SSMTP is for mail configuration and MPACK is used for sending attachments follow the commands sudo apt get install ssmtp sudo apt get install mpack Edit SSMTP configuration file sudo nano etc ssmtp ssmtp conf 1 2 3 4 ...

Page 9: ...mail com AuthPass user_password FromLineOverride YES UseTLS YES Send a test mail mpack s subject file_path recipient gmail com For Example mpack s test mail home pi image png abc gmail com Google will block your sign in attempts Check your Mail Inbox and allow to less securing apps so that Raspberry Pi can send emails 5 6 7 ...

Page 10: ...placed on desktop and configure it Tick on turn on email Enter the subject Enter the email recipient address Click on Test Email for checking configuration is correct Press save and quit Connect the Camera with connector and PIR sensor output to GPIO 4 of Raspberry Pi 8 9 10 ...

Page 11: ... image and mail it Spi box Video For capturing video download the spibox_v tar gz file and extract to home pi directory and follow the same instructions as above Default it will record 5 sec video only user can change it Install MP4Box for converting h264 to mp4 file format using command sudo apt get install y gpac After installation reboot your Raspberry Pi 11 12 1 2 3 ...

Page 12: ... cases for single board computers and microcontroller boards Our designers are experts in producing robust functional and elegant cases that protect and augment technology platforms In addition to the standard products listed in this catalogue SB Components will undertake bespoke case projects These can range from the addition of logos or changes in colour material of existing cases to the creatio...

Reviews: