I can not get anything close to accurate out of the sonic range finder using the analog read pin. Does anyone have any tips. This is the values that I got with nothing over it, besides the ceiling, and it is extremely noisy when it should be accurate. The values range from 79 – 21 and everything in between.
On the other hand, the IR sensor is pretty accurate.
Sonic Range Fail
Responses
-
also maybe put a resistor going from the AN pin on the sonic range finder and the analog pin on your arduino board. that helped ours.

Leave a Reply