How to get better results with HCSR04.
I don't know if there is any option to do this. If the wave didn't return HCSR04 times out and return ~14000 µs. This means that an object is too far away or was too small etc. Throwing away timed out results would improve that if that's the case.
Great project! But still, there is one small thing that can be done. I've been working with HCSR04 for a while and found a way to improve its readings. If you mind checking my guide it would be great. Maybe your project will benefit from my findings.
Or connect with your social account:
New here? Create an account