Using a cheap HC-SR04 sonar unit with Arduino