基于STM32的多通道温湿度测量仪设计研究  被引量:2

在线阅读下载全文

作  者:王小龙 

机构地区:[1]中国航空工业集团公司北京长城计量测试技术研究所,北京100095

出  处:《科技创新与应用》2023年第9期119-122,共4页Technology Innovation and Application

摘  要:在土壤温湿度监测领域,存在相关装置仪器的通道较少,人机交互性不理想等情况,研制多通道并行处理的土壤温湿度检测装置十分重要。采用在装置中设置温湿度测量通道8个,每个都是由温湿度2个传感器构成。湿度传感器和PCF8591进行连接处理,能够完成A/D转换的功能,测量获取的数值信息会传达到触摸屏上。借助按键进行设置,以合理调节温湿度报警值。在装置研制过程中用STM32单片机、UCOS操作系统,二者可以确保多任务并行处理的功能得以实现。结果表明,所有的测量任务的优先级一样。在STemWin的基础上,对人机界面加以设计,并利用任务标志变量TASK-FLAG进行记录,从而获得所有任务的状态情况。装置调试结果显示,系统在运行方面可表现出高运行性,测量精度优良,在土壤温湿度检测中可以发挥出较为突出的作用效果。In the field of soil temperature and humidity monitoring,there are few channels of related devices and instruments,and the human-computer interaction is not ideal,so it is very important to develop a soil temperature and humidity detection device with multi-channel parallel processing.Eight temperature and humidity measurement channels are set in the device,each of which is composed of two temperature and humidity sensors.The humidity sensor is connected with PCF8591,which can complete the conversion function of ACMD,and the numerical information obtained from the measurement will be transmitted to the touch screen.With the help of the button setting,in order to reasonably adjust the temperature and humidity alarm value.In the process of device development,STM32 single-chip microcomputer and UCOS operating system are used to ensure that the function of multi-task parallel processing can be realized.The results show that all measurement tasks have the same priority.On the basis of STemWin,the man-machine interface is designed,and the task flag variable TASK-FLAG is used to record the status of all tasks.The debugging results of the device show that the system shows high operation and excellent measurement accuracy,and plays a prominent role in the detection of soil temperature and humidity.

关 键 词:温湿度 DS18B20 PCF8591 STM32 UCOS 

分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象