1053电机调速和控制子模块12参考文献13致谢14附录A15
f基于单片机的智能温控风扇设计
摘要
在日常生活中发现传统风扇的使用有些不方便的地方,比如在很多的地区昼夜温差大,人们睡觉时一般依靠风扇的定时功能,这样可能出现风扇因定时到了而关闭,但温度并没有降低很多,也有可能温度降低了很多但定时没有到,风扇还在转动。为解决这个问题本文简绍了一种智能温控风扇系统,具有温度检测和显示功能,使用STC89C52单片机作为系统对风扇的转速进行控制。
此风扇设计两个档位,由单片机根据DS18B20温度传感器传来的数字信号进行控制,当温度高于上限值时,风扇较快转动;当温度处于上限值与下限之间时,风扇较慢转动;当温度低于下限时,风扇停止转动。
关键字
单片机;智能控制;温度传感器
TheDesig
ofI
tellige
tTemperatureCo
trolledFa
Basedo
MCU
Abstract
Therearesomei
co
ve
ie
tplacesi
theuseoftraditio
alfa
i
dailylifesuchasma
yregio
softhetemperaturediffere
cebetwee
daya
d
ightpeoplege
erallyrelyo
timi
gfu
ctio
offa
thefa
maybeshutdow
whe
thetimergoesbuttemperaturedid
otreducealotofI
ordertosolvethisproblemthispaperi
troducesafa
systemco
trolledbytemperaturewhichhasthefu
ctio
oftemperaturedetectio
a
ddisplaya
dco
trolthespeedofthefa
byusi
gSTC89C52si
glechipmicrocomputerasthesystem
Thefa
desig
twostallsitisco
trolledbyMCUaccordi
gtotemperaturese
sorDS18B20digitalsig
alwhe
thetemperatureishighertha
theupperlimitvaluefa
fastrotatio
whe
thetemperatureisbetwee
upperlimita
dlowerlimitsfa
slowermovi
gwhe
thetemperatureisbelowthelimitfa
stopsrotati
g
Keywords
MCUI
tellige
tco
trolTemperaturese
sor
I
f1前言11智能风扇概况
虽然当今空调在不断的推广,使用越来越普及,但是电风扇并没有被淘汰,在市场上依然占有一席之地,它有着空调所不具备的优点,比如有些人对空调的使用有些不适应,出现一些所谓的空调病,而风扇的风比较温和,老少皆宜,而且风扇的价格比空调便宜很多,还节约电,使用和安装都非常的简单,这是风扇在市场上一直还有一席之地的主要原因。
随着科技的发展,电子产品越来越趋于智能化,智能化产品在人们生活中也越来越受欢迎,因此由微机控制的智能电风扇将深受人们的喜爱。在人们的日常生活中,传统的风扇一般使用机械方式进行控制,r