Using a PIR motion sensor module bought from: http://www.seeedstudio.com/depot/tiny-pir-motion-sensor-module-p-277.html And some buttons, resistors, a buzzer and a led.
Button 1 is arm, it beeps some times until a longer steady beep which means the alarm is activated.
Button 2 is un-arm.