Security Camera with Raspberry Pi

Security Camera with Raspberry Pi


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 (for older Pi versions)

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
  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 Raspberry Pi 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

Leave a Reply

Your email address will not be published.