Arduino Ultrasonic Sensor

In addition to Agile Coaching, I enjoy projects that require building skills. While working with a new Arduino Ultrasonic Sensor from RadioShack, I came across a question on the “Find your way with the untrasonic sensor” page. Below is a photo showing how the I chose to hook up the wires. Hopefully it helps others…

Arduino Ultrasonic Sensor

Arduino Ultrasonic Sensor

The yellow wire is connected to Digital Pin 7, the blue wire to the 5V pin, and the orange wire to GND.

When connected this way, the Serial Monitor for Arduino showed expected output (a distance to an object). When I disconnected the yellow wire, or had it in another slot, the Serial Monitor would show “0” for the distance.

Leave a Reply

Your email address will not be published. Required fields are marked *