Pigeon is a simple cloud home surveillance camera project that uses the new Raspberry Pi Zero W single board computer ($10). It also uses a custom designed 3D printed enclosure that fits the board and the camera along with a wall mount. The software should work with any Raspberry PI version, but the 3D design is made specifically for the PI Zero W platform.

The goal of this project is to provide an easy way to setup a basic (yet functional) hackable cloud camera at the lowest possible cost.


  • Motion detection
  • Integrated with Dropbox for motion detected clips storage (MP4 format)
  • Simple step-by-step installation wizard
  • Live streaming in the desktop/mobile browser with remote access capabilities
  • Authentication for live stream visualization
  • 3D printed enclosure
  • Automatically deletes locally recorded clips after uploading to Dropbox

Step 1: Hardware and Components

You will need:

Step 2: Software Installation

Connect to your Raspberry PI using SSH or using a monitor. Make sure you have the Raspberry PI camera already working, You can test using the following command:

raspistill -o cam.jpg 

If camera is not working, make sure it's activated in the setup (option 5):

sudo raspi-config

If you have problems, check https://www.raspberrypi.org/documentation/configu...

Now, clone our repository using git (recommended) in the root of your Raspberry PI home directory:

cd /home/pi
git clone https://github.com/geraldoramos/pigeon.git
cd pigeon

When ready, give execution permission to the setup script and run it:

chmod +x pigeon_install.sh

The installation should take about 10-15 minutes and inputs from you will be necessary towards the process (ex: Dropbox configuration). You can visit this Github Repo to report any issues and check for updates.

Step 3: After Install

After the installation is completed, you will be able to watch the camera live feed by accessing:


If you want to setup remote access, make sure to setup port forwarding in your modem admin panel (port 8099 to your Raspberry IP.)

If everything went fine, you will start seeing MP4 clips being saved on your Dropbox folder when motion events are triggered.

If you want to start at boot, edit the rc.local file as following:

sudo nano /etc/rc.local 

Add the following command below the comment, but leave the line exit 0 at the end, then save the file and exit:

motion -c /home/pi/pigeon/pigeon.conf 

To finalize, make sure you are using the right timezone, so the camera clips date will make sense to you.

sudo raspi-config 
Select: Internationalisation Options

This project is at a very early stage. You can edit the pigeon.conf file to change default configurations and make it more suitable for your needs.

Please check our Github repo for issues and updates.

<p>Hey, Geraldo! Do you happen to know if there is any way to rotate the camera orientation? Thanks!</p>
<p>Yes, just edit the file pigeon.conf and search for &quot;rotate&quot; (line 101). You can rotate the camera using any angle (180 is the default value to match the provided case orientation).</p>
<p>Will this work using a RPi 3?</p>
<p>Hey there! The software will work just fine. The 3D printed case will not fit an RPi3 but I might work on a bigger case in the future.</p>
<p>Thank you!</p>
<p>Where can I get the enclosure, I do not have access to 3D printing</p>
<p>You can use 3d hubs:<br>https://www.thingiverse.com/apps/3d-print-with-3d-hubs/run?thing_id=2230707</p>
<p>Thank you GeraldoR6, it </p>
<p>Really nice project. The only 'downside' is that it needs external power supply. It really isn't like &quot;put it anywhere and use it&quot; like you try to show it on the pictures. Sorry, a bit misleading to me.</p>
<p>Hi, sorry, the intention was not to mislead anyone. I thought it was clear that a Raspberry pi would need to be connected to a power supply (or battery). I even mention it in the parts list. <br><br>It's possible to work on a battery solution. You can power it using a battery bank for example, but charging is a problem. I have a Canary flex camera and it has a built-in battery. I feel like it's not very useful since I don't like having to take it out for charging periodically. I could work on a built-in battery solution for future Pigeon iterations, but I'm not sure if this is a feature most people will demand.<br><br>Anyway, I'm really sorry if you felt misled.</p>
What do you use for a power supply?
<p>Micro usb charger, like this: https://www.amazon.com/Rockbirds-Listed-Charger-Portable-Adapter/dp/B01IHU0CEI/ref=sr_1_22?ie=UTF8&amp;qid=1492715270&amp;sr=8-22&amp;keywords=micro+usb+charger</p>
<p>Great write-up, man! I can't wait to see where this goes from here!</p>
<p>Thanks man!</p>
<p>That's neat :) A lot of people in town here need something like this!</p>
<p>Nice, thanks!</p>

About This Instructable




Bio: Entrepreneur passionate about innovation of any kind.
More by GeraldoR3:Pigeon: a 3D Printed Cloud Camera That Uses the New Raspberry Pi Zero W 
Add instructable to: