If motion is detected, pin 13 will be turned else turned off.
Of course any other action can be triggered in case motion detected, like notification via email.
Parts Needed
• 1x Arduino UNO
• 1x PIR Motion Sensor
Wiring
Arduino = PIR (looking at front side with the pins)
GND = GND (left) (Black)
Pin 2 = Signal (middle) (Yellow)
5v = VCC (right) (Red)
Circuit

Download Source Code
ToDo
• Experiment is completed.
Version
20160515