Congratulations EZ Robot, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Ultrasonic Detector Not Working

Assistance Requested

Help tcotter with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Product: (click to view product details)

EZ-Builder Controls: (click to view manual page)

tcotter claims to have checked these sources:

How do I get the Ultrasonic Detector to work?
I have followed the directions for connecting and setting up the Ultrasonic Detection board to my Revolution Roli. However, it gives no indication that it is detecting objects and the fails the collision avoidance.

T. Steven Cotter, Ph.D.
Engineering Management and Systems Engineering
2101I Engineering Systems Building
Old Dominion University
Norfolk, VA 23529

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.

Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


If it reads a constant 255 then it is either defective or wired incorrectly... If you are also using the 5v regulator that comes with the developer's kit make sure it is plugged in the right way round as well... I blew my 5v regulator by plugging it in reversed so this stopped my ping from functioning...


Thank you for confirming the ultrasonic detector's constant reading of 255. Is your's a 4-wire or 3-wire? Mine is a 4-wire, and I connnected D21 trigger and D22 echo per the tutorial.

T. Cotter


I had a 4 wire... reversing the echo and trigger will cause the ping to not work... But I assume you checked to make sure the ping is correctly wired? Also a stab in the dark but you might want to try another port just to be sure.... If you have a multimeter you should check the output of the voltage reg to make sure it is outputting 5V.... Remember you can't use the 4 wire ping without the voltage regulator or it die from too high of a voltage... Good news is pings are dirt cheap so if it is dead you could always order the new ping here in the store... I prefer the new ping as it has the voltage reg built in already... eBay has the 4 wire old style pings for next to nothing as well. If you want to go that route...


EZ-robot supplied a new 3-wire UD under warranty. Installed the 3-wire UD, and distance sensing and collision avoidance is working.