HC-SR04
A simple sketch for an HC-SR04 ultrasonic sensor.
It is a quite simple project, but the special thing here is that the constants used to calculate the distance in centimeter are calculated using a regression analysis and not just copied randomly from another sketch. The error is less than 0.4cm