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

  • 9
  • 0
  • 约4.13万字
  • 约 72页
  • 2018-03-06 发布于贵州
  • 举报

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

毕业设计(论文)-基于单片机的温度控制风扇的设计

摘 要 基于温度传感器和51系列单片机控制技术,设计了一种智能温控调速风扇。本毕业设计的温控风扇利用温度传感器DS18B20来检测外界环境的温度,利用数码管显示外界环境温度、设定的开启温度以及温度差和档位,可以通过控制按键调节设定的开启温度以及温度差,风扇共有五个档位,根据PWM(Pulse Width Modulation)可以控制调节风扇速度。本论文阐述了智能温控调速风扇的工作原理、硬件设计、软件实现的过程。 电风扇的自动控制,具有重要的现实意义。 ABSTRACT Based on the temperature sensor and 51 series single-chip microcomputer control technology,we designed a kind of intelligent temperature control fan. In this course design of temperature control fan we use temperature sensor DS18B20 to test the temperature of the external environment. We used the digital tube to display the outside temperature and set the temperature and the temperature difference and gears. The fan can be regulated by controlling the buttons to set the temperature and the temperature difference In this design we expound the intelligent temperature control fan, and the working principle, hardware design, software implementation process. The fan has five gears based on PWM(Pulse Width Modulation)to control the fan’s speed. The automatic control of electric fan can be more convenient for people to the use of the fan. And it overcome the problem that ordinary electric fan cant adjustment speed according to the ambient temperature automatic. Therefore, the design of intelligent electric fan has important practical significance. Keywords: single-chip microcomputer, temperature sensor, continuous current motor, PWM 目录 1 引言 1 1.1 研究背景 1 1.2论文研究意义 2 1.3研究内容及结构 3 2 设计思路及方案论证 4 2.1设计思路 4 2.2方案论证 5 3各个单元模块的硬件设计 8 3.1系统器件及理论简介 8 3.2 主要部分电路设计 20 4 软件设计 26 4.1 程序设计 26 4.2 用Keil C51编写程序 28 4.3 用Proteus进行仿真 29 5 系统调试 37 5.1 软件调试 37 5.2 硬件调试 38 5.3 系统功能 39 总结与建议 41 参考文献: 42 致 谢 43 附录1:电路总图 44 附录2:实物图 46 附录3:程序代码 46 附录4:中英文资料翻译 55 1 引言 1.1 研究背景 风扇是一种我们在日常生活中经常使用的设备,但是传统的风扇设备通常是由人为设定风扇的档速,春夏(夏秋)交替时节,白天温度依旧很高,电风扇应高转速、大风量,使人感到清凉;到了晚上,气温降低,当人入睡后,应该逐步减小转速,以免使人感冒。虽然电风扇都有调节不同档位的功能,但必须要人手动换档,但人们在睡眠时通常无法去改变风扇的转速,而普遍采用的定时器关闭的做法,一方面是定时时间长短有限制,一般是一两个小时;另一方面可能在一两个小时后气温依旧没有降低很多,而风扇就关闭了,使人在睡梦中热醒而不得不起床重新打开风扇,增加定时器时间,非常麻烦,而且可能多次定时后最后一次定时

文档评论(0)

1亿VIP精品文档

相关文档