FunguyPro - Raspberry Pi Indoor/Outdoor Webcam

Indoor/Outdoor Raspberry Pi Webcam

AuthorFunguyPro

Keep an eye out for those pesky neighbors, or box thiefs with this totaly automated, raspberry pi powered, security cam!

Ever want to monitor your home but don't want to buy a $100 1080p webcam? Or just wanted to build your own, well that is exactly what will happen in this instructable!

To begin your going to need the following parts:

Pi Camera: https://goo.gl/uzoLxo

Pi Zero W: https://goo.gl/49FyvWCamera

Cable Adapter: https://goo.gl/49FyvWCamera

Waterproof DC Jack: https://goo.gl/2vUC9p

Housing: https://goo.gl/49FyvWCamera

5v 2A DC Power Supply

and the following tools:

Soldering Iron

Drill

Screw Driver

Step 1: Download and Flash Rasbian Jessie Lite

Visit https://goo.gl/KJcV7F to download the zip file, then extract it to flash with win32 disk imager which can be found here: https://goo.gl/VgGrNm.

Step 2: Make the SD Card Headless

In the boot partition, the one you see on windows, add a file named wpa_supplicant.conf and edit it in notepad. Copy and past the code below, and edit the ssid and password variables.

ctrl_interface=DIR=/var/run/wpa_supplicant
GROUP=netdev
update_config=1
network={
ssid="SSID"
psk="PASSWORD"
}

Then add a blank ssh.txt file to turn on ssh.

Step 3: Connect to the Pi Via SSH

I used Fing to scan my network to find the Raspberry Pi, then used Putty (https://goo.gl/d7nFtq) to connect via SSH

Step 4: Setup the PiCam

This is easy, copy the commands below into the terminal, it should do everything it self right now!

sudo apt-get update sudo apt-get dist-upgradesudo apt-get install gitgit clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git cd RPi_Cam_Web_Interface ./install.sh

Step 5: Setup PiCam

The subfolder field is the field that you get to the camera from (EX: 192.168.1.12/camera), this can be anything you want. Everything else is ready to go!

Were not going to reboot yet because we still need to turn the camera on, so select "NO" when it asks.

Step 6: Turn on the Camera

Were now going to turn on the camera. Run raspi-config

sudo raspi-config

then select interfacing options, then camera. A message will pop-up saying "would you like to turn the camera on" select yes, then yes again when it asks to reboot.

Step 7: Focus the Camera

Crewmen the lens until it is perfect, it should be focused no matter what distance an object is from it. The live video feed has no lag so it is really easy.

Step 8: Put Everything in the Box

solder the wires by following the image i have provided. I would recommend checking the dc jack polarity before connecting but 5v 'normally goes to the shorter pin', and GND 'normally goes to the longer pin'. Use hot glue to hold everything in place, in case you want to remove it later, be sure not to set any glue in the connectors. I used some standoffs to hold the camera into place, it works but remember they probably are not the strongest things so be gentle with it.

Step 9: Your Done!

Make sure to check out my YouTube video, it shows it in action! If you have any questions leave them in the comments.

I hope you liked the project, I have found it to be really useful let me know what you plan to do with it!

Also be sure to become part of my social community:)

Facebook: https://goo.gl/bzoDKz

Instagram: https://goo.gl/Z3XkdF

Youtube: https://goo.gl/RRSRwW

FunguyPro: https://goo.gl/7QxRG3

Se ya next time :)