Big problems with HC-SR04 Ultrasonic sensor

Not a good idea to use pin 1 for the sensor as it is used by the Serial interface