Shop OBEX P1 Docs P2 Docs Learn Events
RoamingWithPING and Check the distance with Display — Parallax Forums

RoamingWithPING and Check the distance with Display

thomas_pittinthomas_pittin Posts: 29
edited 2014-04-26 09:25 in General Discussion
Hi,

I have a little problem with my PING

while the PING sensor check if notice some object, can also see the distance of that object on my Display?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2014-04-26 09:25
    Yes. The PING sensor returns a pulse whose width is proportional to the distance to the closest object "seen". It's actually the time to the first received echo. The Stamp or Propeller or other microcontroller that you're using measures the width of that pulse and you can display that value and even convert it to centimeters. Look at the downloads for the PING on the product page here.
Sign In or Register to comment.