DIY burglar alarm system (Arduino-based)June 16, 2012
Make your own DIY motion alarm using an Arduino, a motion sensor, a few wires and headers.
The code can be obtained here.
Oh also, its been featured on Hacker News, so you can read the thread for pleasure!
Via: Arduino Blog, Source: GitHub