By the advantages of high directivity, slow energy consumption and long propagation distance in the medium, the ultrasonic is widely used in the distance measurement. Compared with other detection methods, as a contactless detection method, the ultrasonic is not affected and controlled by the light and the color of the measured object in the detection process. This paper introduces the principle and method of the velocity and distance measurement by the ultrasonic. Taking STC89C52RC as the primary controller, the ultrasonic drive signal is launched by the timer and 12864 LCD display and ISD4004 voice broadcast of the measuring results are realized by the dynamic scanning method.%超声波凭借自身指向性强、能量消耗缓慢,以及在介质中传播距离远等优势,进而广泛应用于距离测量。与其它检测方式相比,超声波作为一种非接触式的检测方式,在检测过程中不受光线、被测对象颜色等因素的影响和制约。本文介绍了超声波测距测速的原理和方法。以STC89C52RC单片机作为主控制器,用定时器实现超声波驱动信号的发射,用动态扫描法实现测量结果的12864液晶显示和ISD4004语音播报。
展开▼