本文设计了一种基于PIC16F877A的超声测距报警系统,通过温度补偿、软件滤波以及提高发射驱动电压的方法,解决传统测距系统测量距离较近的问题,提高了探测距离和测量的精准度,并实现了实时报警的功能;解释了CX20106A芯片输出信号电平变化的原因,提出了两种报警思路并对其进行了验证和实现.实验结果表明该系统能很好的满足安防监控的需求.
This paper designed an ultrasonic ranging system based on PIC16F877A. With the help of high?launch driving voltage, the temperature compensation, and software filter, we solved the problem that the traditional ranging system had a closer measuring distance. We greatly increased the detection range and improved the measurement accuracy and realized real-time alarm function. We explained the reason of the changing of CX20106A chip output single level, and put forward two alarm ideas and realized them. The experimental results show that this system can well meet the security of monitoring requirements.