I'm using a HC-SR04 sensor to detect obstacles. What are the pitfalls with an ultrasonic sensor?
Here are a couple I've found during my testing:
- The signal can bounce off of one wall to another and then get picked up, distorting latency
- Absorbent materials sometimes don't bounce the signal back
- Check the datasheet for supported range (min/max)