Shop OBEX P1 Docs P2 Docs Learn Events
Need help with PING Ultrasonic sensor — Parallax Forums

Need help with PING Ultrasonic sensor

llomllllomll Posts: 4
edited 2008-02-08 15:33 in General Discussion
Hi Guys,

I have PING sensor connected to the ARDUINO and my goal is to drive the three LEDs once an object has been detected at certain distance. I need your help with finding out the conversion factor in order to convert the time pulses received into the "cm".

I am currently using the conversion factor of 6.6896. Which means 100 pulses received will be 15 cm. ("cm"X6.6896=100.344)

I am not really sure if this is the right conversion. Also, please look at the attached code and advise me if I need to make any corrections.

Thank you.

Comments

Sign In or Register to comment.