Netherlands
Asked — Edited

Ping)) Ultrasonic Sensor Question

My sensor only has a Vcc, Gnd and Signal pin on it, can i wire it with just 1 servo wire?


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

PRO
Synthiam
#1  

Hey there! I've never seen a ping sensor with only 3 wires before. Are you sure there are not 4? If not, let me know the model number and i'll see if i can whip up a driver for you.

PRO
Canada
#2  

So it looks like Parallax has changed their PING))) sensor to have a 3 pin interface, I believe the SIG pin does the transmitting waits for a certain period and receives the Echo on the same pin. Dang, after all these years they have finally went to a standard 3 pin design but still haven't added analog out....grrrrr...Bad Parallax...bad!

User-inserted image

If anyone wants to use ultrasonics I'd recommend, ironically enough, the MaxSonar EZ series by MaxBotix they can do analog or digital readouts and they are less of a cost than the PING))) and they are also a smaller form factor, seriously use an EZ-0 with the EZ-B, they are sweet!

User-inserted image

#3  

Hi, How did you end up connecting the MaxBotix sensor, via the ADC or Pulse timing? I have several from another project that I would like to use. Thanks.

PRO
Synthiam
#4  

Looks like I'm going to have to build support for the 3 wire ping sensor. Good idea, don't know why they didn't think of it sooner! More ping, less i/o! eek

PRO
Canada
#5  

@nyaple I use analog because you get a very linear voltage vs. distance readout, and it's an easy 3 pin hookup.

#6  

Hi, Thanks for the info. I have it setup and working. I'm new to EZ-B, how do you add the Maxbotix sensor to the Ping Distance built in controls? The existing control only allos the digital interface of the Ping style detectors. Thanks, Nelson

PRO
Synthiam
#7  

Hey Nelson,

Connect the AN (analog output) from the Maxsonar to one of the 8 ADC inputs of the EZ-B. You can then use an ADC control (or the sharp IR radar control) with it

Netherlands
#8  

can't i just make the trigger port and the echo port the same?

PRO
Synthiam
#9  

Interesting.... Try it and see:)

It MIGHT just work! I'd have to look at my code and see what kind of magical spell I put on that function. Darn assembly:) It's harder to read then it is to write!

Netherlands
#10  

Then i will first need to receive my EZ-B, it has been sent +2 weeks ago but it hasn't arrived yet :(

PRO
Synthiam
#11  

Really??!! That's not good. Where are you? Did you receive a tracking number?

Netherlands
#12  

I'm in the netherlands and did not receive a tracking number :(

Netherlands
#13  

Wait, i did get a shipment number and when i entered it in canada post, the only status is:

2011/07/25 19:25 Order information received by Canada Post

PRO
Synthiam
#14  

Well that isn't very helpful information from Canada Post, is it? Hmm!! Can you send me a message (from the FAQ page) with your shipment tracking number and I'll get hold of Canada Post and see what's up?

Netherlands
#15  

Oh the mail also said:

Carrier: Canada Post Service Type: International Surface Small Packets (4 - 6 weeks)

stress

PRO
Synthiam
#16  

That's strange! They are all shipped airmail. Somehow that is a mistake. I hope the entire shipment wasn't surface. Grrrrrrr:(

Netherlands
#17  

what does

Date Time Location Description Retail Location Signatory Name 2011/07/25 19:25 Order information received by Canada Post Track History Date Time Location Description Retail Location Signatory Name 2011/07/25 19:25 Order information received by Canada Post

mean? (tracking number 7210029353884604)

How long will it take? been waiting for 1 month now:(

Netherlands
#18  

Bump!

what does

Date Time Location Description Retail Location Signatory Name 2011/07/25 19:25 Order information received by Canada Post Track History Date Time Location Description Retail Location Signatory Name 2011/07/25 19:25 Order information received by Canada Post

mean? (tracking number 7210029353884604)

How long will it take? been waiting for 1 month and almost 1 week now :(

PRO
Synthiam
#19  

Maybe there are some issues at customs in Holland? You can use the tracking number again your local mail service. You can even phone your mail service and provide them with that tracking number.

#21  

Hello,

Since the IR sensor is discontinued, what would be the best place to add this ping sensor, without making, lets say a wall-e look weird.....

thanks,

Carlos.

PRO
Synthiam
#22  

I was thinking of adding a ping sensor mounted on a small motor in his belly area. I know it isn't entirely wall-e like, but it will be functional.

#23  

Hey Lyron, Canada Post had a huge strike awhile back. It might have delayed your package about a week or so. Either way I hope you have your EZB by now.

Netherlands
#24  

Nope, still haven't got it :(

PRO
Synthiam
#25  

Some people from that shipment have just received theirs yesterday. I have no idea what happened with that shipment, normally it only takes a few days:(

Netherlands
#26  

From the people who received theirs yesterday, where there any that live in holland?

And i know what happened to the shipment, it was sent by boat in stead of airmail.

Netherlands
#27  

FINALLY got my EZ-B after 5,5 weeks :D :D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D:D :D :D

Netherlands
#28  

Yes! it works, if you have a 3 pin ping))) sensor, you need to make the trigger and response port the same and it will work with 250 delay!

#29  

on the maxsonar you can hook it up as HC-SR04 OR SRF04 USING ECHO AND TRIGGER ON THE MAXSONAR TRIGGER IS RX PIN AND ECHO IS THE PW PIN no conversion is needed like in analog mode,also analog mode jumps aroung alot and not always steady and its great for robot eyes dual ultrasonic sensors dont fit well in most robotic toys eyes but a single transmitt and receive ultrasonic sonar can

another thing about using the maxsonar it using very low current ,not like the hc-sr04 or parallax does ,2ma compare to 30-35ma on parallax ping so battery will last a lot longer cost it lower too $25 compare to $30