Asked — Edited

HC-SR04 Ping Sensor

This tutorial demonstrates how to wire a HC-SR04 Ping Sensor to the EZ-B for use with the SDK or ARC software.

This sensor is very affordable compared to the Sharp IR Distance Sensor. They are going for around $14 USD shipped off ebay.

Ebay Link

Gnd = black Pos = red Signa = white (or sometimes yellow)

For this sensor, you will need 2 servo cables. One set of wires on the cable will be used for Positive, Gnd and Trigger. Only the Signal wire will be used on the second cable to connect to Echo.

The Gnd and Pos on the second cable can be cut because they will not be used.

User-inserted image

User-inserted image


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Germany
#17  

I have the same problem here. Double checked and treiud everything in the thread, no change. Maybe sensor is defect?

Update: Received new sensors today (ebay 9 EURs for 5 sensors) and it works now.