The HC-SR04 ultrasonic ranging module non-contactly measures distances from 2cm to 4m with 3mm accuracy. It works by sending out an 8 cycle burst of 40kHz ultrasound upon receiving a 10uS trigger signal. If an echo pulse is received, the echo pulse width corresponds to the distance to the object. Distance can be calculated by multiplying the echo pulse width by 340m/s and dividing by 2. The module operates at 5V and 15mA, and measures in a 15 degree angle.