Skip to content
edprince edited this page Apr 9, 2015 · 2 revisions

#PiCam#

##Introduction## The PiCam system is based around the Raspberry Pi. The Pi is placed by the client, and once connected to the internet, will take frequent images and upload them to a secure server, before displaying them on a personalized webpage.

##Notice## This project is still in progress. Logging in and registering with the site is complete, but the image transfer has not been integrated into the current system yet.

##Security## The system employs a key-based authorization system, which allows the device to connect to the server without the need of entering a password at any point in the process. This means that the Pi can be fully locked down without the need for any interaction from the user.

##Open Source## The source code for the system is fully available here on GitHub, for anyone to use and modify for their own personal needs. The MIT license has been applied to the project, so before using, please read here.

##System Structure## ###The Raspberry Pi### The Pi itself contains very little code, a simple bash script that takes the images, compresses them, and sends them over to the server. I am using SFTP (Secure Shell File Transfer Protocol), and in order to automate the upload from the device onto the server, I also have a separate bash file containing the instruction that will be executed when the script is run. Then when echo'ing the command from within the script I can use a -b tag and tag the separate bash file. This can automate the upload.

Clone this wiki locally