Trouble with HC-SR04

seanz2003:
Thanks for the input, Tim. I tried the Simple Sketch mentioned in your last post with the same results- "Ping: 0cm". I double-checked my connections against the diagram using pins 11 and 12 for echo and trigger. Also, I have swapped jumper wires to no avail. Any other suggestions?

That sketch using my 7 sensors all work perfectly. So, if you've discounted everything else, (not a pin, not a jumper wire, not a wrong connection, etc.) then it must be the sensor as the sketch and the library are known working. If you just can't get it working, I would like to have it. We hear all the time about sensors that don't work, but all that I have work without issue. My thought is that if I can find a unit that has a problem, I may be able to diagnose the problem and modify the library to work even with sensors that are on the fritz.

Tim