Here is a project to make a motion detector, like those used in the alarm systems. This one uses as a sensor the HC-SR04, normally used to measure distances, and an Arduino Uno.
The project has been presented in details on YouTube. Here is the link:
And here is the zip file containing the schematic and the Arduino program:
Happy Experiments!