In this illustration we will going to wire the Ultrasonic HC-SR04 with our Arduino board, to build a parking sensor which emits a beep as the sensor approaches or detect an obstacle. The closer the obstacle, the greater the frequency
Working with Ultrasonic Ranging Sensor Module on Arduino
The HC-SR04 Ultrasonic Ranging Sensor is a non contact distance measuring module device commonly use in Robotic Obstacle Avoidance. The HC SR04 has a high ranging accuracy. The measurement range can go up to 5 meter, which would be helpful