Uses a ping (HC-SR04) sensor as a trip wire to detect intruders

This project uses a buzzer, 2 Led's, and a HC-SR04 pin sensor to detect movement.

 

The code allows for the system to be turned off and the LED's provide info as to the state of the machine.