I智能家居控制系统(软件)设计摘要本文通过对现有的家居智能控制系统功能以及实际情况分析,设计了一种安全、实用、方便的智能家居控制系统。本文首先阐述了智能家居控制系统的研究状况和发展现状,以及一般家居控制系统所要检测的物理量。根据家居控制系统常用的检测信号类型,选取了红外信号、温度信号、光线强度信号和密码输入等作为本设计的检测依据。本设计选取红外信号、温度信号和光线强度信号作为监测信号。密码验证是否通过作为整个电路是否工作的依据。当密码验证通过之后,整个系统同时监测红外信号、温度信号和光线强度信号,红外信号达到阈值则开始报警。温度信号实时显示。光线强度信号控制步进电机的动作。关键字:智能控制;光强度;红外;温度;步进电机IntelligenthomecontrolsystemIII(software)designAbstractSmarthomecontrolsystemsalsoemerged.Thispaperdesignsapracticalandconvenientsmarthomecontrolsystembasedontheexistingsmarthomecontrolsystemandtheactualsituation.Thispaperdescribestheintelligenthomecontrolsystemresearchanddevelopment,aswellasdetectedphysicalsignalsofthehomecontrolsystem.Thisdesignchoosestheinfraredsignal,thetemperaturesignal,thelightintensitysignalandthepasswordinputsignalsasthedetectionsignaltypes.Thedesignselectedinfraredsignal,thetemperaturesignalandthelightintensitysignalasthemonitoringsignals.Passwordauthenticationisasthebasissituationifthecircuitworks.Whenpasswordauthenticationispassed,theentiresystemmonitorstheinfraredsignal,thetemperaturesignalandthelightintensitysignal.Thesystemalarmswhentheinfraredsignalreachesthethreshold.Temperaturesignalreal-timedisplaysontheLCD1602.Lightintensitysignalcontrolsthesteppermotormovements.Keywords:intelligentcontrol;lightintensity;infraredtechnology;temperaturecontrol;steppermotorIIIIII目录1绪论.....................................................................11.1课题背景及研究意义...................................................11.2智能家居控制系统的发展概况...........................................21.3本设计研究的主要内容.................................................22智能家居控制系统的总体介绍................................................32.1整体系统的原理.......................................................32.2系统各个模块介绍.....................................................32.2.1系统中ADC0832的介绍............................................32.2.2电机驱动电路介绍...............................................42.2.3矩阵键盘电路介绍...............................................42.2.4声光报警电路介绍...............................................53智能家居控制系统的软件设计................................................63.1系统功能结构图.......................................................63.2软件设计主程序.......................................................63.3软件系统构成.........................................................83.4显示子程序...........................................................83.5温度数据读取程序.....................................................93.6中断程序............................................................113.7光线检测与步进电机控制子程序........................................113.8报警条件子程序......................................................124智能家居控制系统软件调试环境与分析结果...................................144.1开发环境简介........................................................144.1.1编程软件介绍..................................................144.1.2程序的工程建立.......