摘要
传统的温湿度检测系统一般都是单片机处理检测到的温湿度数据,并通过LCD屏显示,在数据的处理和对比以及实时性上存在诸多问题。因此,本文提出基于LabVIEW作为上位机,STM32单片机作为下位机的实时温湿度检测系统。该系统通过单片机和传感器检测温湿度数据,将检测到的数据通过无线串口模块发送给上位机LabVIEW。上位机界面不仅能显示温湿度数值和直观波形,并能以Excel表格保存历史温湿度数据。当检测到的温湿度值越界时,下位机能通过蜂鸣器报警,上位机通过指示灯进行报警。该系统有良好的稳定性,操作方便。
The traditional temperature and humidity detection system is processed by generally single-chip microcomputer to get the temperature and humidity data, but there are many problems of processing and comparing data in real-time through displaying the LCD screen. Thus, this paper proposes a real-time temperature and humidity detection system based on LabVIEW as the upper computer but STM32 single chip microcomputer as the lower computer, which will send the detected data to the upper computer LabVIEW through wireless serial port module data. The upper computer interface can not only display temperature and humidity values and intuitive waveforms, but also save historical temperature and humidity data in Excel form. As the detected temperature and humidity value exceeds the limitation, the lower machine will alarm through the buzzer, and the upper machine will alarm through the indicator light as well. The result showed that the system has good stability and easy operation.
作者
谢波
侯海良
XIE Bo;HOU Hai-liang(School of Information, Hunan University of Humanities, Science and Technology, Loudi, Hunan 417000)
出处
《岳阳职业技术学院学报》
2019年第4期63-66,共4页
Journal of Yueyang Vocational and Technical College
基金
湖南省研究生科研创新项目“基于虚拟阻抗的低压微网下垂控制策略研究”(X2018B803C)
关键词
LABVIEW
温湿度
STM32单片机
无线串口通信
LabVIEW
temperature and humidity
STM32 single chip microcomputer
wireless serial communication