I have a couple of srf05 ultrasonic sensors,
they worked fine for a while, but then i realized that occasionally
they gave false readings , for example if the wall was 50 cm away it gave readings like this:
50, 50, 50, 178 , 50 , 49, 50, 50 , 50 , 145 , 50
but then other times it gave continuously bad readings
I believe the reason it the viewing angle , because if it looked at exactly 90degrees straight at the wall it mostly
gave good readings, but as soon as the angle changed more than 10 degrees from looking directly at the wall
it gave readings that were of more than 100 cm
is the angle of the sensor really that big an factor?
the program i used for it was the example program on the website:http://www.robot-electronics.co.uk/
so i doubt the program is at fault.
so my question is are all ultrasonic sensor the same, in that the angle compared to the measured wall/object
is a big influence? , and would the method of the ultrasonics communication matter?( I2C, or digital signal?)