基于单片机的智能风扇系统设计

基于单片机的智能风扇系统设计(任务书,开题报告,外文翻译,论文10000字)
摘要
本文介绍了一种智能风扇系统可根据当前环境温度自动调节档位来控制风扇的转速这样较传统风扇既简单方便又容易上手。该系统主要由AT89S52 单片机作为控制元件,以DS18B20温度传感器为测温元件,构成了包括单片机最小系统部分,DS18B20测温电路部分,电机电路部分,数码管显示电路部分,报警温度设定按键电路部分在内的硬件电路,以及包括主程序,温度读出子程序,温度处理子程序,报警温度设定子程序,电机控制子程序,数码管显示子程序等在内的系统程序。
关键词: 数码管 风扇 单片机 温度传感器
The design of smart fan based on MCU
Abstract
The operator need to manually adjust the gear of the fan based on the current ambient temperature, it will be more cumbersome and inconvenient. This paper introduces an intelligent fan system which can automatically adjusts the gear to control the speed of fan based on the current ambient temperature so that it could be more convenient and easy to use than conditional fans. The system mainly consists the AT company's AT89S52 microcontroller as a control element, and consist DALLAS DS18B20 as temperature measurement devices. The hardware circuits of the system include SCM minimum system part, DS18B20 temperature measurement circuit part, Motor circuit part, digital display part, and his alarm temperature setting key circuit. The system programs include the main program, the subroutines of temperature readout, the subroutine of temperature processing, the subroutines of temperature alarm settings, the subroutine of motor control, and the subroutine of digital display. [资料来源:http://Doc163.com]
Key Words: SCM; Temperature sensor; Digital; Fan.
[资料来源:https://www.doc163.com]




目 录
基于单片机的智能风扇系统设计 I
摘要 I
Abstract II [资料来源:https://www.doc163.com]
目 录 III
第一章 绪论 1
1.1 引言 1
1.2 本论文主要任务 2
1.3 论文结构安排 2
第二章 系统的总体设计 3
2.1 系统总体方案设计 3
2.1.1 系统总体构成 3
2.1.2 系统框图 4
2.2 系统器件的选择 5
2.2.1 测温模块的选择 5
2.2.2 控制内核的选择 5
第三章 系统硬件设计 6
3.1 单片机最小系统电路 6
3.2 DS18B20测温电路 7
3.3 电机电路 8
3.4 数码管显示电路 9
3.5 按键电路 10
3.6系统整体电路 11
3.7 相关芯片介绍 12
3.7.1 AT89S52单片机简介 12
3.7.2 DS18B20简介 13
第四章 软件设计 16
[来源:http://www.doc163.com]
4.1 主程序设计 16
4.2 DS18B20采集温度程序设计 17
4.2.1 DS18B20复位程序 17
4.2.2 DS18B20读一个字节的程序 17
4.2.3 DS18B20写一个字节的程序 19
4.2.4 DS18B20 温度转换程序 21
4.3温度转换程序设计 21
4.4数码管显示程序设计 22
第五章 系统调试 23
5.1按键处理问题 23
5.2 DS18B20时序问题 23
第六章 论文总结 26
6.1论文小结 26
6.2下一步工作 26
参考文献 27
附录 系统源程序 28
致谢 33
[资料来源:www.doc163.com]