← Academy curriculum

Ultrasonic distance and timeouts

අතිධ්වනික දුර සහ කාල සීමා

Sensors & measurement · Self-study · Virtual first

AI-generated illustrative engineering concept; not an actual Zenvayra facility
AI-generated illustrative concept; use verified diagrams for connections.

Understand the conceptසංකල්පය තේරුම් ගන්න

A pulse travels to an object and back. Distance = sound speed × round-trip time / 2. Use a timeout to distinguish a missing echo from a valid measurement. Surface angle, temperature and the sensor's specified range affect the result.

ධ්වනි ස්පන්දනය වස්තුවට ගොස් ආපසු පැමිණේ. දුර = ධ්වනි වේගය × ගමන් කාලය / 2. echo එක නොලැබීම වලංගු මිනුමකින් වෙන් කිරීමට timeout එකක් භාවිතා කරන්න.

Worked exampleවිසඳූ උදාහරණය

At an assumed 343 m/s, a 1000 µs echo gives 0.1715 m or 17.15 cm.

343 m/s වේගයක් යටතේ 1000 µs echo කාලය 17.15 cm දුරකට සමාන වේ.

Practice independentlyස්වාධීනව පුහුණු වන්න

Calculate distance for 500, 1000 and 2000 µs. Add a missing-echo case with a STOP command. Compare to the distance sensor project brief.

500, 1000 හා 2000 µs සඳහා දුර ගණනය කරන්න. echo එක නොලැබුණු අවස්ථාවට STOP තත්ත්වයක් එක් කරන්න.

Virtual lab / අතථ්‍ය පරීක්ෂණාගාරය ↗
Compare your reasoning (model answer)ඔබේ හේතු සමඟ සසඳන්න (උදාහරණ පිළිතුර)

8.575 cm, 17.15 cm, 34.3 cm at 343 m/s. Missing echo: invalid, not zero distance; request STOP.

343 m/s දී 8.575 cm, 17.15 cm, 34.3 cm. echo නැති නම් දත්ත වැරදියි; STOP ඉල්ලන්න.

Knowledge checkදැනුම පරීක්ෂාව

Why divide the echo travel distance by two?echo ගමන් දුර දෙකෙන් බෙදන්නේ ඇයි?

Choose an answer first.