一种实用多功能温度计设计

 2023-02-26 06:02

论文总字数:48727字

摘 要

温度、湿度与人类有史以来、特别是第二次工业革命以来的生产力、生活有着紧密的联系,同时也是工业、农业生产中最不罕见最基础的手工农艺制造业参数,例如机械制造、通信电子设计、石油化工、农业酿造等各类工业中普遍需要对温度湿度的检查测量与操控利用。而且随着人们生产生活水平的提高,人类对本身的生存环境越来越关注。而空气环境中温湿度的变化差异都能够直接的关系到人体适应性和舒适程度,因此,对温度湿度的检查测量得出数据,才能实现对温湿度的控制提供必要的依据基础。

本课题以STC89C52单片机为核心设计了一款基于单片机的多功能数字温度计。该温度计通过高精度数字温度湿度传感器DHT11检测环境的温度和湿度数据信息,并完成程序驱动转换;在这一时间中通过利用设计DS1302时钟电路产生可靠的时钟信息,完成时钟的显示。系统在采集温度湿度的时候同时显示时钟,增加了使用性。此外,该系统一样能够通过设计按键键盘电路设计完成时钟参数的设置。

关键词:STC89C52;单片机;DHT11;DS1302

Multi-functional temperature and humidity detection system based on single chip microcomputer

Abstract

Temperature, humidity and the human history, especially since the second industrial revolution of the productivity and life are closely linked, but also the most is not rare in the industrial and agricultural production is the most basic manual agronomic manufacturing parameters, such as machinery manufacturing, communications, electronic design, petrochemical, agricultural production and other kinds of industry in general need to check the measurement and control of temperature humidity. And as people living standard rise, production human living environment is more and more attention to itself. The difference between the change of environment temperature and humidity can be directly related to human adaptability and comfort level, therefore, to check the measured data of temperature humidity to achieve control of the temperature and humidity to provide the necessary foundation.

This topic to STC89C52 microcontroller as the core design of a multi function digital thermometer based on mcu. The thermometer through high precision digital temperature and humidity sensor DHT11 detection environment temperature and humidity data information and complete the program to convert the drive; In this time by using DS1302 clock circuit design produce reliable clock information, complete the clock"s display. System at the time of acquisition temperature humidity display clock at the same time, increased usability. In addition, the system can be set for the design of the key keyboard circuit design to complete the clock parameters.

Keywords:STC89C52; single chip microcomputer; DHT11; DS1302

目 录

摘 要 II

Abstract III

目 录 V

第一章 绪 论 1

1.1 课题背景 1

1.2 课题目的及意义 1

1.3 课题的任研究的任务 2

第二章 方案论证 3

2.1 方案设计 3

2.1.1传感器选择方案 3

2.1.2显示器选择方案 3

2.1.3单片机主芯片选择方案 4

2.1.4时钟方案选择 4

2.1.5 键盘输入电路的选泽 5

2.2 方案确定 5

本章小结 7

第三章 系统硬件电路的设计 7

3.1单片机最小系统设计 7

3.1.1 STC89C52单片机介绍 7

3.1.2 52最小系统电路设计 7

3.2 1602液晶显示电路设计 9

3.2.1 LCD1602液晶介绍 9

3.2.2 单片机与LCD1602液晶接口介绍 9

3.3 蜂鸣器、LED报警电路设计 10

3.4 按键电路电路设计 11

3.5 DS1302时钟电路设计 11

本章小结 13

第四章 系统的软件设计 13

4.1 概 述 13

4.2 系统程序设计 13

4.2.1 主程序设计 13

4.2.2 DHT11子程序设计 14

4.2.3按键识别子程序设计 15

4.2.4液晶显示子程序设计 16

本章小结 18

第五章 系统调试 18

5.1 硬件调试 18

5.2 软件调试 18

5.3系统安装与调试结果 19

结 论 22

致 谢 23

参考文献 24

附录1 电路原理图 25

附录2 系统程序 25

附录3 器件清单 59

第一章 绪 论

1.1 课题背景

使用单片机对温度的检测控制是工业生产中一般经常的方法。自1976年因特尔公司设计制造第一批单片机出来,进入20世纪80年代单片机技术高速发展,此时,由于大规模集成电路的进步,单片机同样朝急速、高功能方面进步。单片机核心是控制、检测,其应用范围分布每个行业,大到空天航天器,小到平常生活中的微波炉、空调,都可以应用到。它将微处理器、存储器等构成小型化的微型处理系统。单片机技术与传感器与检测器、电子电路设计、可编程器件、微型机对口技术、逻辑电路、电脑系统控制、汇编语言程序设计、C语言程序设计、计算机网络数据、数字信号处理技术、电路基础、实验误差分析、器件仪表结构设计和制造工艺等的相互领域跨界,因此让单片机的市场价值十分宽大。这一时间,单片机还拥有比较好的管理功用。结合使用单片机对所有检测电路操控,让一整个系统人工化、智力化、费能低、运用电子器件不多、非外部配线不多、成本不高,生产、安装、运营维护方便。

剩余内容已隐藏,请支付后下载全文,论文总字数:48727字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;