
MikeJ
Canada
Asked
— Edited

hello was having issues with my ultrasonic distance sensor set up was thinking my sonar is faulty. was looking to purchase a new one just wondering what is the second component on the product picture (the smaller board mounted on the backside) is that just a 5 volt voltage regulator? thanks
@Eagle218 ... The new EZ Robot Ping works just like the Parallax ping in the sense that it uses just one digital port for trigger and echo.... You just have to modify any code that used to use 2 digital ports for the old ping (if you had been using the old ping that is)...
Another possibility is if you connected the 4 wire one without the voltage regulator, it is dead and will always return 255. They are very sensitive to over-voltage, which is why I am pleased the new ones have the regulator built in.
Alan
furnished connector wire had the regulator online, and I wired like tutorial, Grid, black, D21black-Echo, green, D22white-Trigger, white, D21white, Power, red, D21Rred. if I continue to have a problem, can I just use the ping 3 wires connected to D21, and set both ports in settings window to D21?
Thanks for your time and interest, Bill
Yes, you can use the 3 wire ping and connect both ECHO and PING to one port, such as D21
Hi DJ and Alan, Well, it turned out to be a faulty green connection wire and looseness of the white wire on the pin. Unit arrived with those two wires not connected to the device, so I guess I should have wondered why!? No problem, just part of the overall learning curve adventure. Thanks again for your comments and advice, Bill