Quote Originally Posted by Acetronics View Post
Hi, ...

Let's see:

sound speed @ 20°C ( SQR ( 1.4*287*(273+20)) = ~ 340 m/s

say your min distance will be ~ 10 cm ... time will be 2x.1/340 ~ 600 µS

RCTime @ 20 Mhz gives 2µS granularity ... for a 16 bits value

so, the range will be 10 cm to 10cm* 65535/300 = 21.8 meters.

Looks fine ...

Alain
Thank you for your help. However, I am a little confused by your calculations. Could you explain them a little more for me? I understand your calculation for speed of sound as that is what I am already using. It's from there on that I am confused.