摘要
基于STM32F103ZET6单片机设计了一个温湿度采集系统,该系统采用数字式温湿度传感器DHT11采集环境的温度和湿度值,将采集的值在带有中文字库的液晶显示器LCD12864上显示,通过串口将温湿度值发送到上位机,在上位机中采用Visual Basic 6.0编写温湿度值显示界面。给出了温湿度采集系统的硬件和软件设计方法,并通过实验进行了验证,实验结果表明,系统结构简单,能够实现对环境温湿度值的采集和实时显示。
A temperature and humidity data acquisition system was designed based on STM32F103ZET6 singlechip,the digital temperature and humidity sensor DHT11 was used to gather the environment temperature and humidity value,the collection values were displayed on the LCD12864 which with Chinese font,through the serial port to the temperature and humidity values were sent to the host computer through the serial port,the Visual Basic 6.0 was used to program the temperature and the humidity display interface in the computer.The hardware and software design methods were given,the system of temperature and humidity was validated by experiment,the experimental results show that,the system has the advantages of simple structure,can realize the environmental temperature and humidity value acquisition and real time display.
出处
《黄冈师范学院学报》
2015年第6期60-63,共4页
Journal of Huanggang Normal University
基金
黄冈师范学院科研基金项目(2014022603)