AndrewC01
Posts: 1
Joined: Sun Jul 31, 2016 1:03 am

Using my R pi for a driveway IR alarm?

Sun Jul 31, 2016 1:11 am

I am going to install some cctv cameras and want to set up a system whereby when a pedestrian or car enters my driveway I get an alert which prompts me to check out my cameras remotely. I was thinking in basic terms a dual IR beam, linked to R Pi set to send an SMS, email etc.
Do-able folks? I'm guessing so - but has anyone done so and if so how?

mosespi
Posts: 508
Joined: Mon May 12, 2014 3:35 pm
Location: 34,-118
Contact: Website

Re: Using my R pi for a driveway IR alarm?

Sun Jul 31, 2016 4:09 am

There are many commercial IR beam sensors. Most have relay outputs, NO or NC, attach one of them to the GPIO on the Pi and check the pin. You have a very simple input to the Pi, an on/off switch. If you have not done this before, there are tons of basic GPIO interface tutorials on the web, both on the hardware and software side of the Pi.

Make sure to get a sensor that is suitable for outdoors, the indoor sensors sometime get confused in bright sunlight.

Regards,
-Moses
Power problems? MoPower UPS for the Pi
http://www.allspectrum.com/mopower/

User avatar
Paul Webster
Posts: 822
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: Using my R pi for a driveway IR alarm?

Sun Jul 31, 2016 7:31 am

An alternative approach would be to use the CCTV and configure a motion detection region.
They are examples of projects with CCTV input to RPi.

Return to “Beginners”