基于单片机设计的智能风扇设计.doc

  1. 1、本文档共32页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的智能风扇设计 淮南师范学院2019届本科毕业论文 PAGE PAGE 2 PAGE PAGE 3 目 录 TOC \o 1-2 \u 1.绪论 4 1.1 研究背景 4 1.2 课题的研究工作 4 1.3 本项目主要的研究内容 4 2.总体设计方案 6 2.1 系统概述 6 2.2 方案选择 6 3.硬件系统设计 8 3.1 硬件系统组成 8 3.2 单片机最小系统模块 8 3.3 电源模块 11 3.4 温度测量模块 11 3.5 按键调整模块 12 3.6 液晶屏显示模块 12 3.7 驱动风扇模块 13 4.软件程序设计 15 4.1 概述 15 4.2 系统整体工程 15 4.3 主程序 15 4.4 液晶屏显示部分信息 17 4.5 定时器0中断子程序 17 4.6 定时器1中断子程序 18 4.7 定时器2中断子程序 19 4.8 温度测量函数 20 4.9 温度比较函数 21 4.10 按键持续触发处理函数 22 4.11 按键处理函数 24 5.综合调试 29 5.1 硬件调试 29 5.2 软件调试 29 6.结束语 30 致谢 32 基于单片机的智能风扇设计 中文摘要:电风扇人们在夏天常用的降温家电,在之前,电风扇的转速的大小只能通过电风扇上的按键或旋钮进行调节,这种方式在使用时非常不方便。而随着技术的进步,当前出现了更加智能的电风扇,比如可以根据环境中的温度或者其他环境因素,自动调整电风扇的转速。 本次设计将根据电风扇在生活场景中的实际使用情况,设计一款可以根据温度变化而自动做出相应动作的智能风扇。本次项目将采用单片机STC89C52位控制核心,使用DS18B20传感器作为环境中的温度采集,获取到的温度信息可以在液晶屏LCD1602上显示出来。同时用户可以通过键盘设置温度的上下限值,同时采用单片机的PWM脉冲宽度调制技术进行实时调速。 关键词:单片机;智能风扇;DS18B20;LCD1602 PAGE PAGE 9 Design of Intelligent Fan Based on MCU Abstract:Electric fans are commonly used in summer to cool down household appliances. Before, the speed of electric fans could only be adjusted by keys or knobs on the fans, which is very inconvenient to use. With the progress of technology, there are more intelligent fans. For example, the speed of fans can be adjusted automatically according to the temperature in the environment. This design will be based on the actual use of electric fans in life scenes, design an intelligent fan which can automatically make corresponding actions according to the temperature changes. This project will use STC89C52 bit MCU control core and DS18B20 sensor as temperature acquisition in the environment. The obtained temperature information can be displayed on LCD 1602. At the same time, the user can set the upper and lower limits of temperature through the keyboard, and adopt the PWM pulse width modulation technology of single chip computer to adjust the speed in real time. Key words: single chip computer; intelligent fan; DS18B20; LCD1602 1.绪论 1.1 研究背景 当时市面上最为常见的电风扇都

您可能关注的文档

文档评论(0)

156****6235 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档