Facebook Twitter Instagram Pinterest YouTube
    Trending
    • Elecrow Meteor IPS Touchscreen with RGB LEDs
    • Pi Pico Pinout Display on the Command Line
    • How to Add a Raspberry Pi Pico Reset Button
    • Pi Pico Onboard LED
    • Pi Pico W Pinout and Power Pins
    • CrowPi L Raspberry Pi Laptop and Learning Platform
    • Pi Pico W Launched
    • Add Kodi to RetroPie Menu
    Facebook Twitter Instagram Pinterest YouTube RSS
    Raspberry Pi SpyRaspberry Pi Spy
    • Home
    • Categories
      • General
      • Hardware
      • Programming
      • Python
      • Software
      • Tutorials & Help
    • BerryClip
      • BerryClip Instructions
      • BerryClip Plus Instructions
      • Videos & Reviews
    • Buy
      • Buy Pi
      • Buy Pi Accessories
      • Buy Books
    • Tools
      • Ultimate Raspberry Pi Alexa Skill
      • Pi Power Estimator App
      • Pi-Lite 14×9 LED Matrix Sprite Editor
      • RPiREF Pin-out Reference App
      • Simple Ohm’s Law Calculator
      • Web Sites & Links
    • Tutorials & Help
        Featured
        November 9, 20200

        Raspberry Pi Temperature Monitoring

        Recent
        December 23, 2022

        How to Add a Raspberry Pi Pico Reset Button

        November 20, 2022

        Pi Pico Onboard LED

        May 6, 2022

        Add Kodi to RetroPie Menu

      1. Contact Us
      2. Site Map
      Raspberry Pi SpyRaspberry Pi Spy
      You are at:Home»Hardware»Camera Module»RobotSentry – Home Security System – Part 2
      RobotSentry External Sensor Box

      RobotSentry – Home Security System – Part 2

      11
      By Matt on August 15, 2015 Camera Module, I2C, Sensors

      Following on from RobotSentry – Home Security System – Part 1 this is the second post in my security system project. With the basics of the design finished I assembled a set of components. Many of them I was able to salvage from previous projects.

      Here is a list of all the items I used :

      PhotoItemSourceNotes
      Raspberry Pi 2 Model BRaspberry PiFarnellModel B+
      DC-DC Step-down regulatorVoltage regulatoreBay12V to 5V (variable)
      2 Channel Relay Module2 Channel Relay moduleAmazon2-channel module
      Silver IR Illuminator 12 Infrared IlluminatorsAmazon12V, 48 LED
      Pi NoIR Camera ModulePiNoIR CameraCPCInfrared Camera
      BH1750 Light Sensor ModuleBH1750 I2CeBayI2C Light sensor
      BMP180 Pressure Temperature ModuleBMP180eBayI2C Temp pressure sensor
      PIR Module #1PIR moduleAmazon
      Junction BoxEnclosure 175x151x95mmCPCPlastic IP65
      Junction Box with Transparent CoverEnclosure 80x172x53mmCPCHylec, Plastic IP67
       12V DC Power Supply12V Power supplyCPC3.5A
      20m Cat5e network cableCPC
      Pi camera 50cm cableeBay
      5mm LEDsCPC

      To connect it together I also needed these bits :

      QTYItemSourceNotes
      2330 ohm resistorsCPC
      32.1mm DC barrel socketsCPCFor illuminators
      22.1mm DC extension cablesCPCFor illuminators
      1m40 way ribbon cableeBay
      42×20 IDC connectorseBay
      2StripboardeBay
      2002.54mm male pin headerseBay
      192.54mm female pin headerseBay
      22.5mm nylon boltseBay
      122.5 nylon round pillarseBay
      44mm nylon hex pillarseBay

      I used a variety of suppliers but the components (or alternatives) are available from various other sellers.

      Here is a photo of the external box with a ruler included for scale :

      RobotSentry External Sensor Box

      You can see (from left to right) the light sensor, pressure sensor, LEDs, PIR and camera module. This box has a clear plastic lid. This week I carried out a few tests with the PIR sensor. I had planned to mount it inside the and let it look through the transparent cover. However I found it just didn’t work behind the plastic. So this week I will cut a hole in the transparent enclosure cover and mount the sensor. The join can be sealed with silicon sealant. The camera module will be stuck to the cover and remain protected inside the box.

      Here is a photo of the internal box :

      RobotSentry Internal Box

      The black pin headers on the strip board are for the ribbon cable that connects to the sensor box. The barrel connectors in the top left and right will be connected to the relay module to provide power to the infra-red illuminators.

      Here is a close up of the 12V to 5V regulator and 2-channel relay module which are mounted on the side :

      RobotSentry Internal Box

      Coming soon

      The next posts in this series will be :

      • RobotSentry – Home Security System – Part 3 – Hardware Testing
      • RobotSentry – Home Security System – Part 4 – Installation Outside
      • RobotSentry – Home Security System – Part 5 – Working System!
      Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
      Previous ArticleRobotSentry – Home Security System – Part 1
      Next Article Bristol Mini Maker Faire 2015

      Related Posts

      Disable Auto-login in Raspberry Pi OS

      Raspberry Pi VPN Setup Guide

      Setting up SSH Keys on the Raspberry Pi

      11 Comments

      1. duhmojo on September 15, 2015 3:41 am

        Hi Matt. Great series so far. I also coincidentally am working on a very similar system (RPI2, LED IR array, Noir Camera, PIR sensor, 2 channel relay, all powered via 12V DC to IR LEDS, and UBEC stepped down to 5V DC for the RPI). My design is intended to separate the camera, PIR sensor and IR LEDS into an outdoor (driveway) housing connected an indoor (garage) RPI control unit via a HDMI/Camera extension cable. The hardware setup for my outdoor camera housing needs some kind of adjustable mount for the camera, but I’m working on it. I’ve tested the system all wired up and it appears to work discretely. I’m now trying to work out the software design for a PIR triggered monitoring solution. Do you have any recommendations on the best approach to handling image/video capture? e.g. a single Python application which loops waiting for PIR, flipping the IR LED relay, capturing an image, repeat. Or has your previous project experience pushed you in a different direction? Thanks and I’m looking forward to your future instalments.

        Reply
        • duhmojo on September 22, 2015 2:20 am

          Just a quick follow up with my build. I found with 12V DC @ 2 Amps simply didn’t provide enough juice for just 1 of those 12 V DC IR LED arrays + the RPI. I switched to a 3 Amp power supply and its better, but not ideal. With your 3.5 Amp power supply, it would probably drive just 1 of your IR LED lights brighter than 2 units. The problem is those IR LED arrays need like 12V DC @ 2 Amps to themselves to perform reasonably unless you’re in a smallish room. With the RPI + accessories, I think you’ll find the IR lighting to be unsatisfactory.

          I’m about to pull the trigger on ordering a 5 Amp power supply myself. Even if its over kill, the power supply will run cooler when everything is drawing simultaneously.

          Reply
          • Matt on September 23, 2015 9:29 pm

            Thanks for the info. My plan was to get the system working without the IR lamps, check the relays switched ok and then introduce the lamps as required. So I might just need to keep an eye on the power consumption. I’ve got a conventional security light as well in the same area so I won’t know if I even need two IR lamps. Luckily I can always upgrade the power supply if I need to.

            Reply
        • ken on November 9, 2015 2:53 pm

          Hi duhmojo

          Check the following 2 projects on the RPi forums – each has its benefits but I moved to Pikrellcam for stability. Both have options for triggered inputs to start recording – this could be from the PIR > GPIO running a script

          RPi Cam Web Interface
          https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=63276

          Pikrellcam
          https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=115583

          Reply
      2. ken on October 13, 2015 12:45 pm

        Hi Matt,

        Any progress on the next sections? 🙂

        Ken

        Reply
      3. Jonathan on January 29, 2016 10:11 am

        This project is almost exactly the kind of thing I’ve been looking at… any progress? 😀

        Reply
        • Matt on February 2, 2016 6:58 pm

          It’s still on my list but I’ve got so many other things getting in the way I’m struggling to make progress with it.

          Reply
      4. Ilya on February 2, 2016 7:25 pm

        This is amazing. I’m also anxious to read parts 3-5 once read. Thank you!

        Reply
      5. Podvlada on February 6, 2016 4:15 pm

        Looking forward to next parts as well 🙂 Thank you, btw 🙂

        Reply
        • Podvlada on July 26, 2017 1:22 pm

          Still interested and I believe I’m not the only one. Have you encountered any problems or is it just the lack of a free time? Hope you’re doing well. 🙂

          Reply
      6. Alexander Holsgrove on May 22, 2016 1:57 am

        Another nudge to finish parts 3-5 please!

        Reply

      Leave A Reply Cancel Reply

      This site uses Akismet to reduce spam. Learn how your comment data is processed.

      Recent Posts
      March 13, 2023

      Elecrow Meteor IPS Touchscreen with RGB LEDs

      December 26, 2022

      Pi Pico Pinout Display on the Command Line

      December 23, 2022

      How to Add a Raspberry Pi Pico Reset Button

      November 20, 2022

      Pi Pico Onboard LED

      November 14, 2022

      Pi Pico W Pinout and Power Pins

      Categories
      • 1-wire
      • 3D Printing
      • Add-ons
      • BBC Micro:bit
      • BerryClip
      • Books
      • Camera Module
      • Cases
      • Events
      • General
      • Hardware
      • I2C
      • Infographics
      • Interfaces
      • Minecraft
      • Model A+
      • Model B+
      • News
      • Pi Models
      • Pi Pico
      • Pi Zero
      • Power
      • Programming
      • Python
      • Raspberry Pi OS
      • Raspbian
      • RetroGaming
      • Robotics
      • Sensors
      • Software
      • SPI
      • Tutorials & Help
      Tags
      Arduino audio battery berryclip Birthday bluetooth cambridge camera CamJam DigiMakers display games GPIO I2C interface Kickstarter Kodi LCD LED Linux media Minecraft Model A motionEyeOS PCB photography photos Pi-Lite Pi Pico power python Raspberry Jam Raspberry Pi Bootcamp raspbian Retrogaming retroPie screen SD card security sensor SPI SSH temperature ultrasonic video
      Raspberry PI Related
      • Adafruit Blog
      • Average Maker
      • Official RaspBerry Pi Site
      • Raspberry Pi Pod
      • RasPi.tv
      • RaspTut
      • Stuff About Code
      Tech Resources
      • MattsBits – Pi Resources
      • Microbit Spy
      • Technology Spy
      Archives
      About

      Unofficial site devoted to the Raspberry Pi credit card sized computer offering tutorials, guides, resources,scripts and downloads. We hope to help everyone get the most out of their Pi by providing clear, simple articles on configuring, programming and operating it.

      Popular Posts
      September 19, 2014

      Top 5 Reasons The Raspberry Pi Sucks

      July 27, 2012

      16×2 LCD Module Control Using Python

      October 20, 2013

      Analogue Sensors On The Raspberry Pi Using An MCP3008

      Recent Posts
      March 13, 2023

      Elecrow Meteor IPS Touchscreen with RGB LEDs

      December 26, 2022

      Pi Pico Pinout Display on the Command Line

      December 23, 2022

      How to Add a Raspberry Pi Pico Reset Button

      Facebook Twitter Instagram Pinterest YouTube RSS

      Entries RSS | Comments RSS

      This site is not associated with the official Raspberrypi.org site or the Raspberry Pi Foundation. Raspberry Pi is a trademark of the Raspberry Pi Foundation.

      Copyright © 2022 - All Rights Reserved - Matt Hawkins

      mastodon.social@RPiSpy

      Type above and press Enter to search. Press Esc to cancel.