ultrasonic sensor sensor
They work by emitting high-frequency sound waves and measuring the time it takes for an object to reflect them back, based on which they abstractively allow us to know how far away (distance) the object is or whether any such obstacle exists.
, they are fundamentally classified into three kinds — through-beam type, diffuse reflection type and reflector-type. B through-beam sensor works using two separate units that constantly listen to each other, and there is a switching signal generated when the sound waves are blocked by an object.
Diffuse sensors themselves are both the transmitter and receiver, i.e. diffused reflection-type; perfect for difficult-to-see objects to detect