第一范文网 - 专业文章范例文档资料分享平台

基于单片机的温度控制系统设计 - 图文

来源:用户分享 时间:2025/5/31 23:12:23 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

基于单片机的温度控制系统系统设计

摘要

长久以来,温度都是人们生活中经常谈到的一个话题。如何掌握温度对人们的生产和生活,如何利用温度创造价值的人的生产,是一个耐人寻味的事情。温度在工业生产以及许多的领域中起着重大的因素,并且影响着它们的生产,尤其是在农业的养殖方面,温度是相当重要的因素之一。本次设计着重从人民日常生活中所关心的温室温度的控制方面启程,最终设计出了一个能够检测外界环境温度值继而做出相对处理的温度控制系统。此系统以模块化的方式运行,让人清楚地了解此设计所具有的功能。最后借助了仿真器材软件Proteus和单片机的程序编程软件Keil完成了这个温控体系的软、硬件的交互仿真,达成了了毕业设计命题的目标。

本论文介绍了AT89C51单片机的构造和特征,与此同时,还具体的概述了DS18B20的内部布局及工作原理。并且分别从硬件部分和软件方面讲述了此次设计的原理,温度控制系统是怎样完成的。另外,还进行了系统的整体设计、程序的编程,又做了调试,加以绘制系统的电路原理图并经过仿真软件来达到预期的设计成果。

关键词:AT89C51,单片机,DS18B20

I

厦门工学院 毕业设计(论文)

Temperature control system based on MCU

Abstract

Since ancient times, temperature is a topic that people often talk about in their lives. How to master the temperature for people's production and life, how to use the temperature to create the value of people's production, is a thought-provoking thing. In the field of industrial production, temperature is the decisive factor that affects the production of products. Based on the control of greenhouse, the design of a temperature control system which can detect the temperature of the external environment and then make the relative response. The system operates in a modular manner, giving a clear understanding of the functionality of the design. Finally, with the help of the simulation tool Proteus and the programming software Keil, the software and hardware of the system are simulated.

This paper describes the structure and characteristics of AT89C51 microcontroller, at the same time, but also about the internal structure and working principle of DS18B20. And from the hardware and software aspects of the design of the principle, is how to achieve temperature control. In addition, the system is designed, programmed and debugged, and the circuit schematic diagram of the system is drawn.

Key Words: AT89C51,SCM,DS18B20

II

目 录

第1章 绪论 ................................................................. 1

1.1 研究背景 ............................................................ 1 1.2 研究意义 ............................................................ 1 1.3 研究内容 ............................................................ 2 第2章 AT89C51系列单片机介绍及硬件介绍 ..................................... 3

2.1 AT89C51系列单片机介绍 ............................................... 3

2.1.1 AT89C51系列基本组成及及特性 ................................... 3 2.1.2 AT89C51系列引脚功能 ........................................... 4 2.1.3 AT89C51系列的功能单元 ......................................... 6 2.2 硬件设计 ............................................................ 7

2.2.1 主控制单元 ..................................................... 7 2.2.2 温度信号采集电路 ............................................... 8 2.2.3 测温操作 ....................................................... 9 2.2.4 报警信号操作 .................................................. 10 2.2.5 DS18B20的供电 ................................................ 10 2.3 显示部分 ........................................................... 12

2.3.1 显示概述 ...................................................... 12 2.3.2 显示原理 ...................................................... 12

第3章 软件及仿真设计 ...................................................... 15

3.1 主程序的设计 ....................................................... 15 3.2 仿真功能设计 ....................................................... 15 3.3 程序仿真分析 ....................................................... 16 结论 ....................................................................... 19 参考文献 ................................................................... 20 谢辞 ....................................................................... 21 附录1 系统原理图 .......................................................... 22 附录2 部分关键源代码 ...................................................... 23

III

基于单片机的温度控制系统设计 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c8ez4v7vjpk85bn78arf2570pk9t82300b8m_2.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top