Simple motion detector for arduino boards.
- 1x Arduino board (or compatible)
- 1x HC-SR04 Ultrasonic Sensor Module
- 1x Active buzzer
- 5x F-M female to male Dupont wires
- Arduino IDE
- Wire the components to the board
- Open arduino's IDE
- Edit arduino-motion-detector.ino and select the desired distance in MIN_DISTANCE
- Upload the program with arduino's IDE
- You may now leave the board in the desired place. Don't forget to turn it on!