论文部分内容阅读
水塔是供水系统常用设备,水塔供水的主要问题是塔内水位应该始终保持在一定范围,避免水位不足或水位过高现象发生。本文介绍了一种由STC89C52单片机控制的超声波水位测量系统,通过测量得到超声波的传播时间,计算出传播的距离,从而得到所要测量的水位高低,并通过LCD显示出来。实验表明该系统简单、可靠、实用性强,测试结果达到了预期的要求。
Water tower is a commonly used equipment for water supply system. The main problem of water tower supply is that the water level in the tower should always be kept within a certain range to avoid insufficient water level or excessive water level. This article describes a STC89C52 microcontroller-controlled ultrasonic water level measurement system, by measuring the ultrasonic propagation time, calculate the distance traveled to get the level of the water level to be measured, and displayed through the LCD. Experiments show that the system is simple, reliable, practical, test results meet the expected requirements.