Errors in hc-sr04 sensor readings

The OP may, eventually, find the SR04 is not the brightest tack in the box. For better ranging I used 2 SR04's with one SR04 set back from the other by 4cm. I then adjusted for mounting setback compared the 2 readings and if within 7% then the reading is correct otherwise try again.