Nice write-up on using a motion sensor with an arduino. Radioshack sells these sensors and if you where luck enough to get one on the cheap (I did) when they closed the store, this demo will help you use it with an arduino.
http://www.instructables.com/id/Workshop-for-NJ-MakerSpace-2015-Constructing-a-Mot/