Security Camera with RaspberryPi

Security Camera with RaspberryPi

Introduction

In this project, we are going to make a simple RaspberryPi security camera using a basic webcam that you can get from any computer hardware store. This is a really budget-friendly way that you can monitor while you are connected to your network.


Required Hardware

  • Raspberry Pi (any version)
  • USB webcam
  • A microSD/SD card
  • A card reader
  • Ethernet Cable
  • USB Wi-FI receiver (optional)

Installing MotionEyeOS

  1. Start by downloading MotionEyeOS according to your RaspberryPi from here.
  2. Download Etcher from here.
  3. Connect your microSD/SD card to your PC using the card reader, Then open Etcher.
  4. Select the MotionPie image and your microSD/SD card and click flash.
  5. MotionPie is now installed! You can go ahead and put the microSD/SD card into the RaspberryPi.

Setting up the surveillance camera

  1. Connect the USB webcam to your RaspberryPi.
  2. Connect the ethernet cord to your Wi-Fi router and then to your RaspberryPi.
  3. Turn-on the RaspberryPi.
  4. Head over to your RaspberryPi’s IP address which you can find out through your router’s admin panel. In my case, it is 192.168.1.3
  5. You will now be able to see the MotionEye interface.
  6. To go to the admin panel, simply click on the key at the top, and entering the username as admin and leaving the password field as blank. A password can be added later for both surveillance and the admin panel.
If All of this works, Congratulations! You have set up your RaspberryPi Security Camera. YaY!



Connecting to a wireless network

If you want to place your camera away from your Wi-FI router, You can connect to it wirelessly. Pi 3 has Wi-Fi built-in, But if yours doesn’t, You can buy a USB Wi-Fi adapter separately. To setup, the wireless network, click on the settings button on the top, (When you are in the admin panel) turn on advanced settings to on, then click on wireless network. Enter the network credentials such as the SSID and the password. Once entered you shall be able to remain connected without the ethernet cord.

You are now done! You can now go and set up the RaspberryPi wherever you want the surveillance camera to be.

Images & Screenshots




What to buy?

If you are looking to buy a RaspberryPi, but can’t decide which one to go for, I would recommend going for the RaspberryPi 3.  It is the latest one and has 1GB of RAM, Wi-Fi and Bluetooth built in.  It also has 4 USB 2.0 ports, one Ethernet port, an audio jack and one HDMI out. It Powers via micro USB and also has 40 GPIO pins. It uses a microSD card as a boot drive.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright ©️ 2019 Naman Tech Labs. All Rights Reserved.