The ultrasonic sensor can be used to detect the distance between an obstacle and it. The left probe of the ultrasonic sensor transmits ultrasonic waves and the right one receives ultrasonic waves.
image.png

Ultrasonic Sensor - 图2

Working principle

Human beings can hear sounds of 20 to 20,000 Hz. Sound waves with frequencies higher than 20,000 Hz are called ultrasonic waves. The sound waves rebound from the obstacles they encounter and are received by the probe of the ultrasonic sensor. Based on the time between transmission and receiving, the distance between the ultrasonic sensor probe and the obstacle can be calculated.

Real-life example

  • Bats locate objects with ultrasonic waves.


Ultrasonic Sensor - 图3

Specifications

  • Value range: 5–300 (cm) (The value 300 is reported when the value exceeds the range.)
  • Value error: ±5%
  • Operating current: 26 mA