Motion detector

Arduino Motion Detector…

Posted on Updated on

Over the weekend as a small project I built myself a tweeting motion detector. 2013-11-24 13.54.52If someone moves inside the house an Arduino UNO is triggered to send an alarm message to my @mrgarduino twitter account. What would be even better would be to get a Raspberry Pi to send a photo as well from a webcam- will try to do this in the future. To make this project you need an Arduino, Ethernet shield and a motion sensor connected to PIN 4 of the Arduino. I also used an LED (set on PIN 6) to check when the motion sensor was triggered – it flashes every two seconds for 200ms but when an event triggers the sensor it stays on longer.You will also need the PString Library (Google is your friend) and check the network settings.