Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!


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:
Makershedsmall

MKPX5-3a.jpg

More about the PING))) Ultrasonic Sensor

Marc de Vinck

I’m currently working full time as the Dexter F. Baker Professor of Practice in Creativity in the Masters of Engineering in Technical Entrepreneurship Program at Lehigh University. I’m also an avid product designer, kit maker, author, father, tinkerer, and member of the MAKE Technical Advisory board.


Related

Comments

  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.

    –Jim

  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.

In the Maker Shed