It can measure distance from 2 cm to 4 meter with a ranging occuracy upto 3mm

It can measure distance from 2 cm to 4 meter with a ranging occuracy upto 3mm. ultrasonic sensor measure distance by using ultrasonic waves. The sensor’s head emits an ultrasonic wave and receives the wave reflected back from the target. Ultrasonic sensors measure the distance to the target by measuring the time between the emission and reception. Each module include an ultrasonic transmitter, a receiver and a control circuit. There are only four pins that you need to worry about on the ultrasonic sensor. These pins are ; vcc (power), trig (trigger), echo (receive) and GND (ground).
To find the distance of detection of material by the formula: