全球旧事资料 分类
此文档为word格式,下载后您可任意编辑修改!
基于单片机的自动窗帘系统设计
摘要
目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开闭不仅费力而且很多方面不够人性化,会对用户造成一定的困扰,本文设计的自动窗帘控制系统可以解决这些问题。本文主要阐述了自动窗帘控制的设计过程。以AT89C51单片机为控制核心,以光敏电阻和雨滴传感器为传感器件,以步进电机为执行器件。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了系统整体框图、显示电路、检测电路、系统总控制模块、等相关电路;随后说明系统软件的编写过程,同样采用的是分块的模式,且每一个模块都给出了相应的流程图。本设计利用单片机实现了半自动控制、自动控制、定时控制的相互转换,智能的控制窗帘的动作。通过调试,时钟控制、手动开关窗帘、自动开关窗帘等控制方面的设计基本达到了预期效果。具有较强的实用价值。
关键词:单片机,自动窗帘,步进电机,自动控制。
fSystemdesig
basedo
si
glechipmicrocomputerautomaticcurtai
Abstract
Now,accordi
gtotherequireme
tsoflivi
ge
viro
me
tsThispaperdescribestheprocessofi
tellige
tcurtai
co
trollerThisdesig
usesAT89C51microco
trollerastheco
trol,i
troducemicroco
trollerbasedopticalcurtai
curtai
system,themai
structuralpri
cipleoftheI
thedesig
formo
olithici
tegratedcircuits,a
dperipheraltoexpa
dthebasicthetheoriesofk
owledgewasfairlycomprehe
sivepreparatio
Blockthemodelofofthee
tiresystemto
a
alyzetheoverallblockdiagramofthesystemaregive
,displaycircuit,photoelectricswitchcircuit,systemco
trolmodule,powerco
versio
circuits,protectio
circuitsa
dotherrelatedcircuit;the
describesthesoftwarethepreparatio
process,butalsobythesubblockpatter
,witheachmoduletodrawacorrespo
di
gflowchartI
thispaper,usetheAT89C51microco
troller,accordi
gtotheirdiffere
tmodes,toachievesemiautomaticco
trol,automaticco
trol,timi
gco
troloftheco
versio
a
di
tellige
tmotio
co
trolcurtai
sDebuggi
gbysimulatio
,clockco
trol,ma
ualswitchcurtai
s,thecurtai
sautomaticallyswitchthebasicdesig
ofsuchco
troltoachievethedesiredeffect,withastro
gpracticalvalue
Keywords:SCM
、i
tellige
tcurtai
、steppi
gmotor、automaticco
trol
目录
摘要IAbstractIII第1章绪论111研究r
好听全球资料 返回顶部