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 :
|Raspberry Pi||Farnell||Model B+|
|Voltage regulator||eBay||12V to 5V (variable)|
|2 Channel Relay module||Amazon||2-channel module|
|2 Infrared Illuminators||Amazon||12V, 48 LED|
|PiNoIR Camera||CPC||Infrared Camera|
|BH1750 I2C||eBay||I2C Light sensor|
|BMP180||eBay||I2C Temp pressure sensor|
|Enclosure 175x151x95mm||CPC||Plastic IP65|
|Enclosure 80x172x53mm||CPC||Hylec, Plastic IP67|
|12V Power supply||CPC||3.5A|
|20m Cat5e network cable||CPC|
|Pi camera 50cm cable||eBay|
To connect it together I also needed these bits :
|2||330 ohm resistors||CPC|
|3||2.1mm DC barrel sockets||CPC||For illuminators|
|2||2.1mm DC extension cables||CPC||For illuminators|
|1m||40 way ribbon cable||eBay|
|4||2×20 IDC connectors||eBay|
|200||2.54mm male pin headers||eBay|
|19||2.54mm female pin headers||eBay|
|2||2.5mm nylon bolts||eBay|
|12||2.5 nylon round pillars||eBay|
|4||4mm nylon hex pillars||eBay|
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 :
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 :
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 :
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!