Arduino Motion Detector
Parallax’s Passive Infrared Motion Sensor, #555-28027, is a small board you can easily add to your Arduino project. I put together a sketch using this device together with a 16×2 LCD for the read out. The code is based on two other sketches I found; one for LCD and the other for processing the input from the sensor.
The circuit is powered by 3.3V on the Arduino.
This code prints an alert along with the hours, minutes, and seconds since initialization on the LCD. It also prints out to the serial port/USB that you can read from your computer if you don’t have an LCD.


