PDA

View Full Version : Unsolved Ping Connection



paulvive
01-10-2012, 01:54 PM
The Ping has three leads, vss, vdd and an I/o Lead. The Ping manual on page one shows the I/O lead going directly to P15 on the stamp. There aren't any plug in connections to the stamp. I've asked support but their answers have nothing to do with my questions. In the meantime I'll check the continuity between P15 on the stamp and P15 on one of the black blocks. If their connected I'll try it. ANY help?

There is continuity between the two P15 connections so I'll try it and see what happens.

There is so much documentation it could take hours to find an answer. I found the Answer and I was correct in that the P15 Pin on the black Block is connected and according to the instructions thats the correct way to go.

Now to find some code to run the Ping.

Mike G
01-10-2012, 02:06 PM
paulvive, run a wire from the PING's IO pin to your microcontroller's IO pin.

Duane Degn
01-10-2012, 02:07 PM
Vdd should plug into a 5 Volt supply. The Vss pin connects with ground. I believe the Ping connects with a Basic Stamp the same as a servo would. (I'm not sure if you've used a servo yet so that might not be any help.)

As I mentioned here (http://forums.parallax.com/showthread.php?137082-Boe-bot-Program-files&p=1064568&viewfull=1#post1064568), the female headers (black blocks) are there to make it easy to connect things to the Stamp.

paulvive
01-10-2012, 02:27 PM
That's what I di but now I need the code to run it. I'm from the old school I don't read instructions the way I should unless I have a problem. It's a hard habit to get out of. In the old days I pretty much new everything about everything, Now I'm old and Don't know anything about anything. Thanks for your input. Can you help with the code.

T Chap
01-10-2012, 02:31 PM
There should be code examples on the Parallax site located on the Ping section.

Duane Degn
01-10-2012, 04:06 PM
I thought this looked like a fun Ping project (http://forums.parallax.com/showthread.php?137047-Ping)))Dar-Radar-Style-Display). There's a link to the pdf in post #8.

I don't use Basic Stamps anymore myself but if you ever switch to the Propeller, I'll be glad to help with code. There are plenty of other forum members capable of helping with Stamps though.

I'm pretty sure Pin 15 isn't anything special when using the Ping. It should work fine with other IO pins too (the code would need to be modified though).

Martin_H
01-10-2012, 04:24 PM
I'm pretty sure Pin 15 isn't anything special when using the Ping. It should work fine with other IO pins too (the code would need to be modified though).

There's not and I use my Ping))) with pin 9 all the time (I prefer to use my wheel encoders with pins 14 and 15).