Us100 ultra sonic sensor

Hey,am new in the arduino platform.I just bought the us100 ultrasonic sensor three months ago and I’ve tried close to ten different programs and new ping h libraries but I can’t seem to get to work…it always reads 0cm or no results on other programs and on others it does nothing at all…so that made me suspect that maybe I bought a broken sensor then I bought another one…and it does the same thing as the first so I guess it confirms that the problem is my programming and not the sensor itself…please anyone if you have any working code for this sensor and it’s libraries please post it 4 me cause I really need your :confused: :confused:

Thanks in advance

that means you have tried theese instructions ?

If your arduino (and its I/O-pins) are working then the sensor must be defective !?