毕业论文(设计)-基于单片机的智能风扇控制设计 .docVIP

  • 7
  • 0
  • 约1.92万字
  • 约 36页
  • 2017-01-22 发布于辽宁
  • 举报

毕业论文(设计)-基于单片机的智能风扇控制设计 .doc

摘要 本文介绍一种基于单片机温控风扇的控制系统设计方案。巧妙地利用单片机技术,可控硅技术,温度传感器技术。 硬件系统采用AT89C51作为微处理器,利用DS18B20对室内温度的探测并适时显示当前温度值,通过控制可控硅的导通,从而实现对电风扇进行温度调速控制。软件系统则采用模块设计即主程序,键盘控制程序,温度显示程序,电机调速程序。文中给出AT89C51为核心的电路设计主体软件设计,着重讨论温控相关程序的设计并给出流程图和相关程序。 关键词:AT89C51;DS18B20;仿真,电机调速,温度显示 Abstract This paper introduces a control based on single-chip microcomputer control system design scheme of the fan. Ingenious of single chip microcomputer, thyristor technology , the temperature sensor technology. Hardware system AT89C51 as microprocessors , use of indoor temperature detection DS18B20 and display the current controlled temperature, through the control of conduction, so as to realize the fan speed control of temperature. Software system is a modular design which main program, keyboard control procedures, temperature display program, motor speed program. Given the circuit design as the core of AT89C51 main software design, emphatically discusses the design and temperature control procedures are flowchart and relevant procedure. Keywords: AT89C51, DS18B20, Simulation, motor speed, temperature display 目录 第1章 引言 4 1.1 课题的设计要求 4 1.2 课题的设计目的和意义 4 第2章 系统主要硬件电路设计 5 2.1 总体硬件设计 5 2.1.1 AT89C51介绍及说明 5 2.1.2 AT89C51主要特性及引脚说明 6 2.2 数字温度传感器模块设计 9 2.2.1 DS18B20介绍 9 2.2.2 DS18B20的功能及使用说明 10 2.2.3 DS18B20寄存器的存储器及格式 11 2.2.4 DS18B20使用注意事项 12 2.3 键盘输入模块 12 2.3.1 键盘的选择与原理 12 2.3.2 键盘电路 13 2.4 温度显示与控制模块 14 2.4.1 LED显示灯介绍 14 2.5 电机调速与控制模块设计 15 2.5.1 电机调速原理 16 2.5.2 电机控制模块硬件设计 17 第3章 软件设计与说明(包括流程图) 19 3.1 系统方案设计 19 3.2 主要程序流程图 19 3.2.1 主程序流程图 19 3.2.2 数字温度传感器模块程序流程图 20 3.2.3 显示程序流程图 22 3.2.4 电动机程序设计原理以及流程图 22 第4章 调试步骤、结果、使用说明 24 第5章 设计总结 25 附录A 系统原理图 26 附录B 程序清单 27 参考文献 36 第1章 引言 1.1 课题的设计要求 本课题要求以单片机为核心设计一个智能风扇控制器,具备倒数计时、时间修改、实时显示温度、预设关机温度、预设报警温度等功能。可作为家用风扇控制器,和工业用于温度控制的场合。智能风扇控制器有8个按键设置。现在想要实现以下功能:1、显示实时温度;2、可改变设定温度;3、手动控制 ;4、自动控制; 5、温度显示范围00—99。 1.2 课题的设计目的和意义 单片机在检测和控制系统中得到广泛的应用, 温度则是系统常需要测量、控制和保持的一个量。 本课题设计从硬件和软件两方面介绍了AT89C51单片机温度控制系统的设计

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档