Default value for maximum measurement distance is 4m, since HC-SR04 sensor can't measure reliably beyond that. However, if you are using another sensor or if you you don't care about distances larger ...
Abstract: Nowadays the smart house is necessarily useful part of home comfort. Many people can't imagine their lives without smart devices. A lot of companies provide solutions in this field, for ...
The analog value from the sensor is converted to distance using either a polynomial fit function up to fifth order or a power fit function. By default, this library is set to use polynomial ...