Pigeon: a 3D Printed Cloud Camera That Uses the New Raspberry Pi Zero W

9,803

116

37

Entrepreneur passionate about innovation of any kind.

Intro: Pigeon: a 3D Printed Cloud Camera That Uses the New Raspberry Pi Zero W

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.

Features

  • 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
./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:

http://[PI-ADDRESS]:[8099] 

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.

Share

Recommendations

  • Electronics Tips & Tricks Challenge

    Electronics Tips & Tricks Challenge
  • Audio Contest 2018

    Audio Contest 2018
  • Plastics Contest

    Plastics Contest

37 Discussions

0
None
douglas.mauro

2 months ago

Great looking project. Would love to have a few of these on the back of my camper/trailer to help with parking, etc. Any thoughts on running these in direct mode so I don't have to setup a wifi network in my car?

0
None
stevedee78

Question 6 months ago

Can I use it without dropbox? For example FTP, Samba shares or googleDrive.

0
None
deskripta

7 months ago

Hi Geraldo,

I really like your project, and I finally got time to play with it.

I installed everything as described, and everything went well, except the start at boot. I wrote my init.d file to solve the issue.

I also tried with https://www.modmypi.com/raspberry-pi/camera/camera-boards/raspberry-pi-night-vision-camera, it works well both in IR mode and daylight. The next is to design and 3d print the case.

Thank you so much for inspiration and sharing the wonderfull application.

Melissa

0
None
Swansong

1 year ago

That's neat :) A lot of people in town here need something like this!

2 replies
0
None
barbosa.alessandroGeraldoR3

Reply 9 months ago

Hi Geraldo, good project! I'll give it a try by next week.

One question, I see you've implemented an authentication for live streaming visualization. Is it possible to embed this streaming in to a web page passing the credentials as parameters? I'm using node-red and I'd like to integrate it on my Dashboard ui.

Thanks!

0
None
Antony76

1 year ago

Hi Geraldo, your project is really nice. I made one but I need to change the Rpi cam by a wide angle camera. I bought it at ModMyPi. The lens is bigger and the ribbon connector is in the opposite side. Is it possible to modify the 3D printed case to fit the WA cam?

0
None
Antony76

1 year ago

Hi, your project is nice. I made one but I need to use a wide angle camera. I bought one on ModMyPi then the lens is bigger. Also, the ribbon connector of my new camera is in soldered in the opposite side.

Is it possible to modify the 3D printed box to fit the camera?

0
None
kasefxintros

1 year ago

Would it be possible to turn on an led when motion is detected? That would make this the best budget cctv camera! Amazing project man!

1 reply
0
None
GeraldoR3kasefxintros

Reply 1 year ago

Will try to come out with this in the V2 of this project! Thanks for the feedback!

0
None
kasefxintros

1 year ago

Amazing! Would love if the web server had some kind of gui, or a chrome addon for simple viewing?

4 replies
0
None
GeraldoR3kasefxintros

Reply 1 year ago

Thanks for the feedback! Will try to implement a GUI in the future!

0
None
kasefxintrosGeraldoR3

Reply 1 year ago

Awesome! May i ask when i should expect the GUI update?

0
None
GeraldoR3kasefxintros

Reply 1 year ago

sorry, I don't have an expected timeline. I'm in talks with the guys from https://bitdog.io/. We might integrate pigeon in their mobile apps

0
None
duncangallimore

1 year ago

That looks great! I'm going to try and make one. Only question: if I use a NOIR camera (like this one https://shop.pimoroni.com/products/raspberry-pi-ze... I'll need an IR LED or two. Should I power them separately or could I use the Pi?

Many thanks, Duncan

1 reply
0
None
GeraldoR3duncangallimore

Reply 1 year ago

Hi Ducan, good point. Powering it separately might be a better option I think. You can try to power it using the PI, but you might need to do a hole or change the design a bit. In terms of power consumption, I think it will depend on your power supply max amperage. I think a 2A supply should be enough for everything...