基于STM32的多路温湿度扫描检测系统设计  被引量:4

Design of multichannel temperature and humidity scanning detection system based on STM32

在线阅读下载全文

作  者:王子权 范燚 项贇 项超 姚潇骏 WANG Ziquan;FAN Yi;XIANG Yun;XIANG Chao;YAO Xiaojun(Assembly Center,Shanghai Institute of Spacecraft Equipment,Shanghai 200240,China)

机构地区:[1]上海卫星装备研究所总装中心,上海200240

出  处:《电子设计工程》2022年第20期73-78,共6页Electronic Design Engineering

摘  要:为增加温湿度测量点数,提高采集效率,实现可视化检测,基于STM32F429型单片机与SHT20型温湿度传感器,研制了一种多路温湿度扫描检测系统。系统有16个温湿度测点,采用每路双GPIO方式模拟传感器IIC通信时序,通过移植UCOS操作系统及任务信号量实现16路测量任务间的通信与切换,实现16路温湿度扫描采集,保证数据传输稳定可靠。基于Matlab GUI开发环境,进行了主界面、串口配置与调试界面、数据曲线界面、进入监测系统界面等的开发,并将接收的温湿度数据保存至PC机,通过二维彩绘实时显示温湿度分布。经冷气降温实验表明,系统运行稳定可靠,实现了高效采集与可视检测。In order to increase the number of temperature and humidity measurement points,and improve the collection efficiency and realize visual detection,a multi-channel temperature and humidity scanning detection system is developed based on the MCU of STM32F429 and the temperature and humidity sensor of SHT20. The system has sixteen measuring points. Each channel of double GPIO mode is used to simulate the IIC communication sequence of the sensor. The communication and switching between sixteen channel measurement tasks are realized by transplanting UCOS operating system and task semaphore,and the scanning and acquisition of the sixteen measuring points are realized,so as to ensure stable and reliable data transmission. The main interface,serial port configuration and debugging,data curve,access to the monitoring system and other interfaces are developed based on the development environment of Matlab GUI. The received temperature and humidity data are saved to PC,and the temperature and humidity distribution is displayed in real time through two-dimensional color drawing.The cooling experiment shows that the system runs stably and reliably,and realizes efficient acquisition and visual detection.

关 键 词:STM32 温湿度 IIC UCOS MATLAB 

分 类 号:TN98[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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