EZ-B Tutorial - Ping HC-SR04 Sensor

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,381
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 2, 2011

A short video of how to wire up the HC-SR04 Ping sensor to hook up to the EZ-B.

The HC-SR04 Ping sensor is a great addition to your robot. This will allow your DIY robot to read distances of objects in its path. Attaching the sensor to a servo will allow your robot to look around also.

The EZ-Builder software also uses the HC-SR04 Ping Sensor. It's free and available at www.ez-robot.com

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (aliencurv)

  • .that's exactly how I did. And if it has nothing in front(obstacle at infinit) what do you get on the lcd?

  • @CristiR0su i don't know what to say. maybe the sensor is defective. you can watch the video on my ez-robot website for the EZ-Builder and see the sensor in action. works great!

  • Do you have any problems with the sensor? I just bought mine from ebay and it trouble finding objects sometimes. And it doesn't work at more thann 1.5 m. Furthermore, it keeps sending on the echo pin logic 1 for a long time, on the lcd distance appears to be 40meters. I'm not sure if it is just my sensor or this is normal. Can you help me? And also, what is the output if it has nothing in front of it?

  • @CristiR0su This is the procedure...

    1) trigger high for 10us

    2) trigger low

    3) wait for echo high

    4) count until echo is low

    count = distance

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • hotglue - lame

  • DJ can you add at the end what locations to plug this into your ez-builder

  • if you want to buy a sonic sensor like this, with the wires soldered on for you, and mounted to a servo, email me and i'll fix it for you and ship to you, using paypal and/or ebay. thanks

  • @CristiR0su Have the same problem. Bought 3 sensors and each shows 60 cm maximum distance. And ~34 meters if no objects in front of it.

  • Nice video, no schematics or explanations but the music set a nice beat. Looks like your using the tamiya tank chasis. I think I should pick up one of those myself.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more