HC-SR04 is a favorable and popular sensor which can be used for measuring the distance between itself and the object that is placed in front of the sensor. Connecting to Arduino itself is simple, the sensor requires only two codes for controlling and uses 5V voltage, there is also a library that provides us with distance information. Make sure You check How to use module upright in TUTORIALS category.
Range: 2cm - 400cm Accuracy: 3mm Measurement angle: 15 degrees Voltage: 5V Current: <2mA Comes with 4-pin soldered male headers
Mainly Compatible with: Ardunio
Architecture: Arduino/AVR Input Voltage: 5V
Package weight: 0.033 kg Product Size(L x W x H): 4.50 x 2.00 x 1.40 cm / 1.77 x 0.79 x 0.55 inches Package Size(L x W x H): 8.00 x 4.00 x 2.00 cm / 3.15 x 1.57 x 0.79 inches