Introduction: Ultrasonic Motion Detection
it detects the motion at certain distance using arduino program and ultrasonic sensor and triggers the speaker when some person come in front of sensor, it displays the distance in serial monitor and it plays our own tone.
Step 1: Materials
- arduino
- ultrasonic sensor (4 pins)
- wires
- speaker
- bread board
Step 2: Connection
The circuit:
* VCC connection of the sensor attached to +5V * GND connection of the sensor attached to ground * TRIG connection of the sensor attached to digital pin 2
* ECHO connection of the sensor attached to digital pin 4
speaker Pin is connected to pin 13