宋团



摘要:该智能液体容器以STC89C52单片机为控制核心,利用压力传感器、超声波模块和谐振电路采集数据。由HX711A/D转换器对检测的压力信号进行转换,再经过单片机对数据进行处理运算和分析,得到被测溶液的密度参数。设计555定时器电路测量液体的电导率,详细区分液体性质,进一步确定液体的种类。经过多次仿真试验和实践,本系统可利用多传感器实现对液体性质的判断,成本低,可一键实现液体的识别判断并显示。
Abstract: The intelligent liquid container uses STC89C52 single-chip microcomputer as the control core, and uses pressure sensors, ultrasonic modules and resonant circuits to collect data. The detected pressure signal is converted by the HX711A/D converter, and then the data is processed, calculated and analyzed by the single-chip microcomputer to obtain the density parameter of the measured solution. It designs the 555 timer circuit to measure the conductivity of the liquid, distinguishes the liquid properties in detail, and further determines the type of liquid. After many simulation experiments and practice, this system can use multiple sensors to realize the judgment of the liquid properties, the cost is low, and the identification, judgment and display of the liquid can be realized with one click.
關键词:单片机;多传感器;智能;液体容器
Key words: single chip microcomputer;multi-sensor;intelligence;liquid container
中图分类号:TP212 文献标识码:A 文章编号:1006-4311(2020)22-0194-03
0 引言
随着电子技术的迅速发展,智能化的简易测量设备越来越受人关注。多传感器液体智能容器能实现对糖水、盐水、纯净水、酒精、白醋等液体质量、密度、性质的判定,可应用于水质判断、产品检验、环境监测等许多方面。
1 系统方案
其硬件系统主要由单片机、压力传感器模块、超声波模块、电导率测试模块、按键、显示模块及电源等组成。
该方案使用粗细均匀的塑料量杯作为容器,用超声波模块、压力传感器、555定时器等传感器进行测量,51单片机为处理单元,实现对测量的结果进行计算、分析并交给OLED显示。
超声波传感器测量液体的高度,计算出其体积V=s·h。压力传感器可以测量被测液体的重量,根据密度公式ρ=m/V,计算出密度,初步确定液体的性质。对于密度比较接近,无法准确通过密度进行判断的液体,借助于555谐振电路间接测量其电导率,进一步确认该液体的性质。……