实验室温湿度监控系统设计摘要温湿度是检验实验室安全的一个重要的指标,因此实时监控温湿度有很重要的意义。本系统基于STM8单片机,分为上位机和下位机,下位机由STM8单片机最小系统、NRF24L01无线模块和 DHT11温湿度传感器组成。上位机的数据提取部分由STM8单片机最小系统和 NRF24L01无线模块组成,上位机界面由C#语言编写,把采集到的温湿度数据显示在 PC机的界面上。关键词: 温湿度 无线传输 STM8 单片机ABSTRACT Temperature and humidity is an important index for testing laboratory safety, so the real-time monitoring of temperature and humidity have important meaning.This system based on STM8 microcontroller, divided into the upper machine and lower machine, a machine under minimum system controlled by STM8, NRF24L01 wireless module and DHT11 temperature and humidity sensors.Data extraction part of the upper machine of minimum system controlled by STM8 and NRF24L01 wireless module, PC interface by c # language, the display of the temperature and humidity data collected on the PC interface. Key words:temperature and humidity Wireless transmission STM8-MCU; 目录一、引言 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯1二、系统结构框图及基本原理⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯2 (一)系统结构⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯2 (二)数据采集节点结构⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯3 (三)数据接收端结构⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯3 三、硬件电路设计⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯4 (一) CPU芯片( STM8S003F3P6)⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯4 ( 二)电源模块⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯5 (三)无线模块( NRF24L01)⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯5 (四)复位电路⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯7 (五)发射指示电路⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯7 (六)温湿度采集模块⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯8 (七) USB转串口模块⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯8 四、 系统软件设计 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯...