基于单片机的智能电热毯的设计

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

大学

毕业设计

题目:基于单片机的智能电热毯的设计院、系:电气工程系

姓名:

指导教师:

系主任:

2014 年 6 月10 日

基于单片机的智能电热毯的控制

摘要

电热毯控制器从八十年代初控制器只设开、关两档、不能调温,到80年代中期控制器设高、底、关三档,具有简单调温功能,90年代研制生产出无级调温、自动控温的电热毯;目前正向国际先进的定时调温、电脑程序控温和自动恒温方向发展。因此要使恒温电热毯控制器真正走人千家万户,非常有必要设计一个好的温度控制和控制器对其控制,满足大众对其在安全、舒适、操作方便等方面的要求。

本设计为一个基于51单片机控制,可以显示设定温度、加热时间及实际温度的恒温电热毯控制器。本设计中选用了AT89C51由于采用小引脚封装所以价格仅与低档单片机相当。本设计采用DS18B20做温度传感器。温度范围控制在10℃~50℃范围内,将传感器输出的数字信号经由单片机后控制显示部分及温度控制部分,从而实现对电热毯的恒温控制及室温显示。在整个设计中,本人按照系统的功能划分子系统结构,对系统进行规划设计。本论文的结构安排也是按照这样的流程进行的。

关键词AT89C51;DS18B20;恒温电热毯控制器

Based on single chip microcomputer control of

intelligent electric blanket

Abstract

Electric blanket controller from the early eighty s controller set, only two files, not temperature adjustment, By the end of the mid - 80 - s controller set high, and close three gears, with simple temperature adjustment function, In the 90 s, the development and production of stepless temperature control, automatic temperature control of electric blanket;Is the timing of the international advanced thermal control, computer program control moderate automatic constant temperature direction. So will make temperature electric blanket really leave home controller, is very necessary to design a good temperature control and controller to control, meet the public in the safe, comfortable, convenient operation, etc.

This design is based on 51 single chip microcomputer control, Can display the set temperature, heating time and the actual temperature of constant temperature electric blanket controller. This design uses AT89C51 as the traditional operas foot encapsulation so price only with cheap single chip microcomputer. This design USES DS18B20 temperature is sensor. Temperature is controled in the range of 10 ℃ to 50 ℃. The analog input voltage values into the corresponding temperature control of electric blanket constant temperature and room temperature display. In the whole design, I according to the system functional division of the subsystem structure, planning and design of system. The structure arrangement of this paper is according to this process.

Keywords AT89C51; DS18B20; Blanket controller of temperature controller

目录

摘要.............................................................................................................. I Abstract ............................................................................................................... II 第1章绪论.. (1)

1.1 设计的背景及设计的意义 (1)

1.2 电热毯的发展 (1)

1.3 本文主要研究内容 (3)

第2章设计方案 (4)

2.1 系统总体设计方案 (4)

2.2 系统功能模块方案选择 (5)

2.2.1 单片机的选择 (5)

2.2.2 显示电路的选择 (6)

2.2.3 键盘电路的选择 (6)

2.2.4 温度采集电路的选择 (7)

2.2.5 温度控制电路的选择 (8)

2.3 本章小结 (9)

第3章硬件设计 (10)

3.1 单片机模块 (10)

3.2 电源电路 (11)

3.3 显示电路 (12)

3.4 报警电路 (13)

3.5 按键电路 (14)

3.6 温度采集电路 (15)

3.7 温度控制电路 (16)

3.8 本章小结 (17)

第4章软件设计 (18)

4.1 系统软件功能分析 (18)

4.2 主程序的设计 (18)

4.3 子程序设计 (19)

4.3.1 显示模块的设计 (19)

4.3.2 按键描模块的设计 (21)

4.3.3 报警模块的设计 (23)

4.4 本章小结 (23)

结论 (24)

致谢 (25)

参考文献 (26)

相关文档
最新文档