文档详情

基于ESP8266温湿度传感器.docx

发布:2022-02-22约1.71万字共24页下载文档
文本预览下载声明
PAGE III 摘要 本文设计了一套可用于对环境温湿度进行测量的方案,该方案通过DHT11来实现对所处环境温湿度的实时测量,同时可通过ESP8266将实时监测到的数据发送至手机app终端进行显示。本套设计方案采用51单片机作为系统的主控芯片,搭配LCD显示屏、温湿度检测传感器、WiFi模块等其他外围I/O设备,通过方针对方案进行了仿真验证,最终,实现了对环境温湿度的检测。 在仿真实验中通过对参数进行不断的调节可以看到LCD显示屏上数据进行实时变化,通过按键也可以对温湿度的阈值进行设置,当温湿度超过设定阈值时会触发蜂鸣器报警。实现结果表明,本文设计的温湿度检测系统能够稳定的实现对温度的测量,并在超出设定阈值时进行蜂鸣器报警提示,能够满足设计要求。 关键词:51单片机;ESP8266;温湿度检测;报警系统 Abstract This paper designs a set of scheme which can be used to measure the ambient temperature and humidity. This scheme realizes the real-time measurement of the ambient temperature and humidity through DHT11. Meanwhile, the real-time monitored data can be sent to the mobile APP terminal for display through ESP8266. This set of design scheme uses 51 MCU as the main control chip of the system, with LCD display, temperature and humidity detection sensor, WIFI module and other peripheral I/O equipment, through the policy of the scheme was simulated and verified, and finally, the detection of environmental temperature and humidity was realized. In the simulation experiment, you can see the real-time change of the data on the LCD display by constantly adjusting the parameters. The threshold of temperature and humidity can also be set by pressing the button. When the temperature and humidity exceed the set threshold, a buzzer will be triggered to alarm. The results show that the temperature and humidity detection system designed in this paper can measure the temperature stably, and give a buzzer alarm when the set threshold is exceeded, which can meet the design requirements. Key words: 51 MCU; ESP8266; Temperature and humidity detection; Alarm system 目 录 TOC \o 1-3 \h \z \u 摘要 I Abstract II 1 绪论 1 1.1 论文研究的背景及意义 1 1.2 国内外研究现状 1 1.3 本文主要研究内容 1 1.4 论文的结构安排 1 2 方案论证 3 2.1 系统设计方案 3 2.2 主控模块选型 3 2.3 传感器模块选型 5 2.4 显示模块选型 6 2.5 通信模块的选型 8 2.6 设计语言选择 9 3 硬件电路的设计 10 3.1 主控芯片 10 3.3.1 系统时钟电路 10 3.3.2 系统复位电路 11 3.3.3 系统中断系统 11 3.2 传感器检测模块电路 11 3.3 LCD显示电路 12 3
显示全部
相似文档