Shop OBEX P1 Docs P2 Docs Learn Events
PING))) Ultrasonic Range Finder — Parallax Forums

PING))) Ultrasonic Range Finder

myztixmyztix Posts: 4
edited 2008-01-10 20:49 in Learn with BlocklyProp
I was wondering if it was possible to measure the actual frequency received (echo) given that the ultrasonic sensor emits a pulse at 40kHz.

Thanks.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-01-10 06:55
    Are you thinking Doppler? To get an accurate frequency determination, you would probably need a longer pulse than the short "pings" that are optimized for distance measurement.

    -Phil
  • myztixmyztix Posts: 4
    edited 2008-01-10 06:59
    Yes, I was thinking Doppler, but can one actually measure the actual frequency using PING)))?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-01-10 07:11
    No, not directly. If you find a pad to tap the return signal from, though, you might be able to hack something. But, again, I fear the pulse would be much too short to get a meaningful frequency reading.

    -Phil
  • myztixmyztix Posts: 4
    edited 2008-01-10 16:22
    What exactly is the echo transducer (echo unit of the ultrasonic sensor) receiving from the return signal? Voltage? Resistance? Frequency?
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-01-10 20:07
    I believe the mechanics are a piezo-electric element recieving the 'bounced' sound pulse. Which results in a voltage signal.

    The BS2 interface is quite a ways away from this, though.
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-01-10 20:49
    myztix -

    On the Parallax web site (link below) there is a document named "BS-1 Applications Notes". In that document, on Page 53, you will find a schematic of an ultrasonic set up (transmitter and receiver) which uses the 555 timer, a couple of ultrasonic transducers, and a few other parts.

    Link to the above named document:
    http://www.parallax.com/ProductInfo/Microcontrollers/BASICStampDocumentation/tabid/440/Default.aspx

    The example programs are for the BS-1 Stamp, and since you are using the BS-2 Stamp (a better and more powerful processor) the examples won't be of much use to you.

    I hope that's helpful.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.