Sonic Range Fail

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.

Picture 1

Responses

  1. joe Avatar

    + 1

  2. klee Avatar

    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.

  3. bruce Avatar

    i have the same issue + the resistor doesn’t help. same problem with the IR sensor.

  4. Nick Hardeman Avatar

    I can not hook up two IR Sensors at the same time, capacitors only mess it up. What the deely?

Leave a Reply

Discover more from Making Toys

Subscribe now to keep reading and get access to the full archive.

Continue reading