The Countdown to Maker Faire Bay Area is On!


How-To Tuesday: Arduino 101 & the PING))) ultrasonic sensor

Arduino Education Robotics Technology
How-To Tuesday: Arduino 101 & the PING))) ultrasonic sensor

The PING))) ultrasonic sensor is a really easy way to measure distance with a micro-controller. All you have to do is hook up 3 wires and upload some code. These sensors are great for robots, alarm systems, or any other application that requires some type of measurement or obstacle avoidance. Don’t forget to check out our other Arduino 101 videos!

Subscribe to the MAKE podcast
| Download for iTunes

In the Maker Shed:


More about the PING))) Ultrasonic Sensor

18 thoughts on “How-To Tuesday: Arduino 101 & the PING))) ultrasonic sensor

  1. John Park says:

    Excellent video as usual Marc! I’d love to use this in conjunction with an Adafruit WaveShield to make a little grumpy bot that yells at you the closer you get :)

  2. Marc de Vinck says:

    Thanks John!

    OK, here is my plan….I have gone over a bunch of the basics like buttons, sensors, etc. Now I am going to apply those principles towards making larger projects. Keep an eye on the blog for more details!

    1. ECA says:

      now to add a direction indicator and put it on a motor and make a radar system..
      whats the range on the sonic

      1. Marc de Vinck says:

        Not a bad idea! I want to add something like that to a robot build in the future.

      2. Voik says:

        Reads up to 3 meters with an accuracy of 2 cm. I remember researching this sensor for a project a couple of years ago. As I recall, I required a faster interface and longer range. Wound up with IR. The ping sensor is a great way to hit the ground running, though: 5 volts, ground, and data. Very easy to implement. Didn’t MAKE have a video of a “tape measure” made with one of these?

        1. Marc de Vinck says:

          Out of curiosity, what were the specs on the IR?

  3. CousinJim says:

    When I was learning to program robots back in the 80’s, I found that a Doppler sensor must be exactly perpendicular to its target in order to see it.


  4. chazeline says:

    how can I make a program using the ultrasonic sensor ping))) in connection with my arduino board? our project is a sensor that will provide the obstruction/object for the blind people? do you know a program.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Maker Faire Bay Area 2023 30% off early bird ticket sales ends August 31st, 2023!

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Prices Increase in....