基于单片机的温控风扇毕业设计论文.doc
文本预览下载声明
本科毕业设计(论文)
题目 基于单片机的温控风扇
目 录
摘 要 III
Abstract IV
第一章 整体方案设计 1
1.1 前 言 1
1.2 系统整体设计 1
1.3方案论证 2
1.3.1 温度传感器的选择 2
1.3.2 控制核心的选择 3
1.3.3 温度显示器件的选择 3
1.3.4 调速方式的选择 3
第二章 各单元模块的硬件设计 5
2.1系统器件简介 5
2.1.1 DS18B20单线数字温度传感器简介 5
2.1.2 达林顿反向驱动器ULN2803简介 5
2.1.3 AT89C52单片机简介 6
2.1.4 LED数码管简介 7
2.2 各部分电路设计 8
2.2.1 开关复位与晶振电路 9
2.2.2 独立键盘连接电路 9
2.2.3 数码管显示电路 10
2.2.4 温度采集电路 11
2.2.5 风扇电机驱动与调速电路 12
第三章 软件设计 14
3.1 程序设置 14
3.2 用Keil C51编写程序 14
3.3 用Proteus进行仿真 15
3.3.1 Proteus简介 15
3.3.2 本设计基于Proteus的仿真 16
第四章 系统调试 21
4.1 软件调试 21
4.1.1 按键显示部分的调试 21
4.1.2 传感器DS18B20温度采集部分调试 21
4.1.3 电动机调速电路部分调试 21
4.2 硬件调试 22
4.2.1 按键显示部分的调试 22
4.2.2 传感器DS18B20温度采集部分调试 22
4.2.3 电动机调速电路部分调试 22
4.3 系统功能 23
4.3.1 系统实现的功能 23
4.3.2 系统功能分析 23
结 论 24
参考文献 25
致 谢 26
附录1:电路总图 27
附录2:程序代码 28
’an of Higher Vocational Schools,Huai’an, 223200, China)
Abstract: The electric fan control system is designed by using single chip computer, the hardware and software design are analysed . The temperature collected by 18B20 is detected by single chip computer , according to high and how temperature, single chip computer P2.7-pin output high level or low level to control relay whether there is current in the coil through ,according to the coil power relay, normally open contact is closed ,no current passing ,often a disconnect to maintain contacts so as to achieve the automatic control from the fans stopped. The system has changed the traditional manual control from the fans stopped ,automatic control is realized according to temperature to facilitate the summer when people sleep at night .Practice prove that the system has high reliability, stability and low cost, a strong, weak control and higher value are achieved.
Keywords: AT89S52; temperature collection ; electric fans; automatic control
第一章 整体方案设计
1.1 前 言
在现代社会中,风扇被广泛的应用,发挥着举足轻重的作用,如夏天人们用的散热风扇、工业生产中大型机械中的散热风扇以及现在笔记本电脑上广泛使用的智能CPU风扇等。而随着温度控制技术的发展,为了降低风扇运转时的噪音以及节省能源等,温控风扇越来越受到重视并被广泛的应用。在现阶段,温控风扇的设计已经有了一定的成效,可以使风扇根据环境温度的变化进行自动无级
显示全部