最新多功能温湿度计设计

  • 格式:doc
  • 大小:2.33 MB
  • 文档页数:47

下载文档原格式

  / 47
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

多功能温湿度计设计

多功能数字温湿度计设计

【摘要】温度和湿度是两个最基本的环境参数,人们生活与温湿度息息相关。在工农业生产、气象、环保、国防、科研等部门,经常需要对环境温度与湿度进行测量。准确测量温湿度在生物制药、食品加工、造纸等行业更是至关重要的。因此研究温湿度的测量方法具有重要的意义。

本论文讲述了一种以单片机AT89C52为主要控制器件,以DHT22为数字温湿度传感器的新型数字温湿度计,具有时间、温湿度显示,并且可以自行设置温度预警值,当温度超出预警值时报警,存储温湿度的功能。

【关键词】温度;湿度;DHT22;时间

Multifunction digital hygrometer design [Abstract]Temperature and humidity are the two most basic environmental parameters, people's life is closely related to temperature and humidity. In industrial and agricultural production, meteorology, environmental protection, national defense, scientific research departments, often need to measure temperature and humidity to the environment. Accurate measurement of temperature and humidity in biological pharmaceutical, food processing, paper making industries is of vital importance. So the temperature and humidity measurement method has the vital significance.

This paper tells the story of a single chip microcomputer AT89C52 as the main control device, a new type of digital temperature and humidity for DHT22 digital temperature and humidity meter, time, temperature and humidity display, and was able to set temperature warning value, when temperature exceeds the warning alarm, the function of storage temperature and humidity.

[Keyword] Temperature; humidity; DHT22; time

目录

1.温湿度计发展史 --------------------------------------------------------------------------------------- 1

1.1温度计的发展史 -------------------------------------------------------------------------------------- 1

1.2湿度计的发展史 -------------------------------------------------------------------------------------- 2

2. 设计任务分析及方案论证 ----------------------------------------------------------------------------------- 3

2.1设计数字温湿度计的需求分析 ------------------------------------------------------------------- 3

2.2设计任务及要求 -------------------------------------------------------------------------------------- 3

2.3 设计总体方案及方案论证 ------------------------------------------------------------------------- 3

2.4器件的选择 -------------------------------------------------------------------------------------------- 4

2.4.1主控制器芯片--------------------------------------------------------------------------------- 4

2.4.2温湿度传感器--------------------------------------------------------------------------------- 7

2.4.3时钟芯片 --------------------------------------------------------------------------------------- 8

2.4.4存储芯片 --------------------------------------------------------------------------------------- 8

2.4.5 LCD12864--------------------------------------------------------------------------------------- 9

2.5温湿度测量的方法及分析------------------------------------------------------------------------- 11

3. 硬件电路的设计 ---------------------------------------------------------------------------------------------- 12

3.1总体结构框图 ---------------------------------------------------------------------------------------- 12

3.2 主控制电路和测温湿电路 ------------------------------------------------------------------------ 12

3.3 存储模块与时钟模块电路 ------------------------------------------------------------------------ 13

3.4 显示模块电路---------------------------------------------------------------------------------------- 14

4.软件设计及分析 ---------------------------------------------------------------------------------------------- 15

4.1程序流程图 ------------------------------------------------------------------------------------------- 15

4.2 DHT22工作原理 ------------------------------------------------------------------------------------- 16

4.3 DS1302工作原理------------------------------------------------------------------------------------ 22

4.4 AT24C02工作原理------------------------------------------------------------------------------------ 25

4.5 LCD12864的工作原理 ----------------------------------------------------------------------------- 31参考文献 ------------------------------------------------------------------------------------------------------- 34附录A 实物图 ----------------------------------------------------------------------------------------------------- 35附录B 元件清单 -------------------------------------------------------------------------------------------------- 37