摘要:本文设计了一个自动调温风扇系统,该系统以STC89C51单片机作为控制器,用DS18B20温度传感器采集实时温度,通过三极管驱动风扇电机转动。该系统将采集到的温度与预设温度进行比较,根据比较结果调节风扇电机的转速:当实际温度高于预设值上限时,风扇全速转动;当实际温度介于预设值上下限之间时,风扇半速转动;当实际温度低于预设值下限时,风扇停止转动。同时,LED数码管可以显示当前温度和预设温度。系统的预设温度的设置是通过两个独立按键来实现的,一个增大预设温度,一个减小预设温度。本设计实现了风扇的启停和调速,在生产生活中会得到广泛的运用。92527

毕业论文关键词:自动调温,单片机,风扇,DS18B20

Abstract: This paper designs an automatic temperature control fan system, the system uses STC89C51 microcontroller as controller, real-time temperature acquisition using DS18B20 temperature sensor, rotational driving fan motor through the transistor。 The collected temperature compared with the pre-set temperature, according to the comparison results of adjusting the fan motor speed: when the actual temperature is higher than the preset the upper limit, the fan speed rotation; when the actual temperature is preset between the upper and lower limits, fan half speed rotation; when the actual temperature is lower than the preset limit, the fan stops rotating。 At the same time, LED digital tube can display the current temperature and the preset temperature。 The preset temperature setting is realized by two independent keys, an increase of the preset temperature, a decrease of the preset temperature。 The design and implementation of the start stop and speed fan, in production and life, will be widely used。

Keywords:Automatic temperature control , microcontroller , fan ,DS18B20

目   录

1  绪论 2

1。1  研究该课题的背景及意义 3

1。2  发展现状 3

2  整体方案设计 3

2。1  系统整体的设计 3

2。2  方案论证 4

3  系统的硬件设计 6

3。1  DS18B20温度传感器简介 6

3。3  主控芯片介绍 6

3。4  数码管显示电路 7

3。5 风扇驱动与调速电路 7

软件设计 8

4。1  程序设置 8

4。2  用Keil C51 编写程序 9

4。3  用Proteus仿真 10

5  系统调试 12

5。1  软硬件调试 12

5。2  系统功能 12

结论 14

参考文献 15

致谢 16

附录 17

1  绪论

1。1  研究该课题的背景及意义

在现代社会中,风扇随处可见,从夏天家用的电风扇到工业生产中大型机械的散热风扇以及现在笔记本电脑上广泛使用的智能CPU风扇等,但传统的风扇具有噪音大,高耗能,调节单一等问题,为了降低这些问题给人们日常生产生活带来的影响,我设计了这套自动调温风扇系统。

上一篇:AT89C51单片机的LED广告牌控制系统设计+程序+电路图
下一篇:AT89S51单片机矿井下瓦斯浓度监测系统的设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

plc空压机循环冷却水自动...

PLC物料自动分拣系统的设计+源程序

粉料称重装置的单片机控...

太阳能电站的自动跟踪系...

小型通用机器人控制系统设计任务书

遥感土地用变化监测国内外研究现状

PCI+PID算法直流力矩电机速...

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

《水浒传》中血腥暴力研...

MNL模型历史城区居民活动...

高效课堂教师问卷调查表

从企业eHR建设谈管理信息...

大规模MIMO系统的发展研究现状