Shop OBEX P1 Docs P2 Docs Learn Events
Ping Connection — Parallax Forums

Ping Connection

paulvivepaulvive Posts: 35
edited 2012-01-10 09:24 in General Discussion
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.

Comments

  • Mike GMike G Posts: 2,702
    edited 2012-01-10 07:06
    paulvive, run a wire from the PING's IO pin to your microcontroller's IO pin.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-01-10 07:07
    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, the female headers (black blocks) are there to make it easy to connect things to the Stamp.
  • paulvivepaulvive Posts: 35
    edited 2012-01-10 07:27
    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 ChapT Chap Posts: 4,224
    edited 2012-01-10 07:31
    There should be code examples on the Parallax site located on the Ping section.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-01-10 09:06
    I thought this looked like a fun Ping project. 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_HMartin_H Posts: 4,051
    edited 2012-01-10 09:24
    Duane Degn wrote: »
    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).
Sign In or Register to comment.