资 源 简 介
下面是一个超声波测距的程序,硬件电路由于电脑格盘已丢失,下面的代码是从样机上复制的。
硬件电路包括液晶显示、超声波的发射、超声波的接受、滤波、单片机处理。
液晶显示采用LCD1602模块,下面的代码里有液晶的驱动,可以拷贝用于它处。
超声波发射电路包括压电换能器及其支持电路,发射约44KHz的超声波。
超声波的接收电路包含一块CD40106处理芯片。技术指标大约是测距范围在三米左右,测量精度约在厘米级别。大量用于倒车雷达的测距中。-The following is a range of ultrasound procedures, the hardware circuit as a result of the computer grid plate has been lost, the following code is copied from the prototype. Hardware circuit including liquid crystal display, ultrasonic transmitter, ultrasonic acceptance filtering, single-chip processing. LCD1602 LCD module used, the following code, there are LCD drivers, you can use it to copy. Firing circuit including the piezoelectric ultrasonic transducer and its support circuitry, fired about 44KHz ultrasound. Ultrasonic receiver circuit includes a processing chip CD40106. Technical indicators for a range of about 3 meters range around the measurement precision level of about cm. Reversing a large number for the location of the radar.