全球旧事资料 分类
基于单片机的智能窗帘控制系统的设计
摘要
目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,会对用户造成一定的困扰,本文设计的智能窗帘控制系统可以解决这些问题。
本文主要阐述了智能窗帘控制器的设计过程。本设计采用STC89C52单片机为控制核心,介绍了基于单片机的智能窗帘控制系统,主要从硬件结构原理及软件编程方面进行讲解。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了系统整体结构框图、光照传感电路、温度检测电路、系统主控模块电路、电源转换电路、步进电机控制电路、键盘显示电路以及时钟模块电路等相关电路;随后讲述了软件的编写过程,也是采用了分块的模式,主要包括软件主程序设计,步进电机程序设计,显示程序设计,键盘程序设计以及定时程序设计,每一模块都画出了相应的流程图。本设计重点讨论了窗帘自动控制系统的设计过程、硬件选用和软件调试等问题。
通过本系统最终实现了利用光照强度以及设置时间来控制窗帘自动开闭的仿真。此外本设计还实现了室内温度检测的功能。关键词:单片机,智能窗帘,定时控制
I
fDESIGNOFINTELLIGENTCURTAINCONTROLSYSTEMBASEDONMCU
ABSTRACT
Atprese
tthefamilylivi
ge
viro
me
toflighti
ga
dlightavoida
ceproblemmai
lyadoptsisma
uallyope
a
dclosethecurtai
sma
ualope
i
ga
dclosi
gis
oto
lylaboriousa
dma
y
othuma
willcausesometroubleforusersI
thispaperthedesig
ofthei
tellige
tcurtai
co
trolsystemca
solvetheseproblems
Thispapermai
lyexpou
dsthedesig
processofthei
tellige
tcurtai
co
trollerThisdesig
usesSTC89C52microco
trollerasthecorei
troducesthei
tellige
tcurtai
co
trolsystembasedo
MCUmai
lyfromthehardwarestructurea
dsoftwareprogrammi
gaspectsoftheexpla
atio
Hardwareusi
gblockmodelcarrieso
thea
alysistothecircuitdesig
ofthewholesystemaregive
thesystemoverallstructurediagramlightse
si
gcircuittemperaturedetectio
circuitsystemmai
co
trolmodulecircuitpowerco
versio
circuitsteppermotorco
trolcircuitkeyboarda
ddisplaycircuita
dclockcircuitmodulecircuitSubseque
tlyi
troducesthesoftwareofthewriti
gprocessbutalsousesablockmodei
cludi
gsoftwarethemai
programdesig
programdesig
ofsteppi
gmotorshowi
gdesig
programkeyboardprogramdesig
a
dprogramtimi
gdesig
eachmoduledrawflowchartThisdesig
focuseso
thedesig
processhardwareselectio
a
dsoftwaredebuggi
gofthecurtai
automaticco
trolsystem
II
fThroughthesystemthesimulatio
oftheautomaticbli
dope
i
ga
dclosi
gofthecurtai
isrealizedbytheillumi
atio
i
te
sir
好听全球资料 返回顶部