Award
Congratulations Richard R, 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.

3 Wire Ping Sensor

Assistance Requested

Help Ellis 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.

Ellis claims to have checked these sources:
 
#1

Hi everyone. I have purchased a Parallax ping sensor because it comes with a black Lexan holder that mounts the ping plus IR sensor.

I was wondering, it comes with three wires not 4 as the EZB one. I have an EZB ping sensor I received with my EZB v3 developer kit. I may have to see if it would fit the holder.

I have attached the link for the Parallax sensor.

Parallax Ping Sensor PDF

Any help would be greatly appreciated.

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!


#2

It will work fine, just use the same port # for trigger and echo... Make sure however you use a 5V regulator like you would with the ez robot ping (if you are using it with the ezb4)....

#3

don't forget to use a 5v regulator for the HC-SR04 Ultrasonic Distance Sensor that came with v3 kit.

#4

corr blimey Rich you're fast

#5

Thanks. I am using a voltage regulator to adjust the voltage output of the EZB to 5v plus or minus .1v. Will that be ok?

#6

When you say "voltage output of the EZB" I assume you mean the Red pin
outputs of the Servo pins etc, if so yes that is OK.

I've just done this putting a 5v Reg to the SF04 ultrasonic unit, works just fine!

#7

@ellis.

Yes that should be fine. I just checked the parallax ping voltage and I can confirm it is +5 VDC so your golden. Just to confirm what Richard said, the trigger and Echo use the same signal pin, which in some ways is better as it frees up a digital port compared to using a 4 wire one. Smile

#8

I use the Parallax Ping with the EZ-B without the regulator.

You connect the power and ground to an analog power pin A0 for example
and the signal pin to the EZ-B digital port. The example I've attached, I connected the signal pin to D2.

I know it isn't good form but it works and you don't need the regulator.

UsingtheParallaxPingSensoronEZ-B.EZB

#9

that's good to know @mtiberia

#10

I think I will use the analog for power. Thanks everyone for all the help.

Ellis