I have a HC-SR04 connected to my Arduino. its all working very nice. Yet with a constant interval a weird value appears (see the Serial Plot picture). I am wondering what causes this. I will soon upload my Sketch (Making it bit more readable).
Or are there to many possible factors that could influence the HC-SR04 behaviour that it is impossible to determine the cause?
Y-axis shows distance in cm, x-axis shows iteration (once a second)
Thanks in advance!
Kind Regards, a fellower Arduino User