Article describes detections characteristics of ultrasonic distance sensors that can be used in various applications. MATLAB script is available at: https://github.com/martinius96/hladinomer-studna-scripty/blob/master/docs/MATLAB/HCSR04.m