-I-智能家居系统的设计与实现-II-智能家居系统的设计与实现摘要随着信息化、智能化设备的普及,现在人们也希望在家居环境中添加各种智能化的设备,能将家电设备、家居环境因数通过无处不在的网络联系起来,这也是智能家居系统的原始构想。智能家居系统是一种网络化、信息化、智能化的系统,在合适的硬件和软件的组合下,将家居环境中的设备通过网络实现物物相连的功能,同时也将家居环境中的各种环境因素也添加到网络中,满足了人们通过网络控制家电设备了解家居环境因素的要求,进而可以满足人们对家居环境更高级需求,而这些要求是传统家居无法完成的。智能家居系统中最重要的是核心控制器,它是连接家居家电设备、家居环境以及终端控制设备的桥梁,目前国内外对智能家居研究中,一般都选择单片机与ARM作为核心控制器。本文选择ArduinoMega2560作为核心控制器,就稳定而言,ArduinoMega2560比单片机、ARM更加稳定实用,而且Arduino无论是硬件还是软件都是开源的,这就意味着可以查看和下载其源码,更加方便用来设计智能家居控制系统。本论文的设计思想是将家电智能化、家居安防、家居环境监测、局域网控制以及远程控制等功能集中到一个综合管理系统上。系统选用蓝牙作为局域网控制的纽带,选用GSM网络作为远程控制的媒介,并为解决现在市场上红外家电设备难以控制的难题,设计了一种红外转发器,代替红外遥控器,免去了家居环境多遥控、使用必须在一定范围的问题,考虑到智能手机的普及,本文选用手机作为移动终端控制设备,而不在设计另外的终端控制设备,这样既方便又省去了携带的烦恼。此外,该系统还具备良好的可扩展性和对不同家居环境的适应性,可以根据不同家居的需要,进行功能的裁剪、增添和移植等。关键词智能家居;ArduinoMega2560;蓝牙;GSM模块;红外转发-III-DesignandImplementationofSmartHomeSystemAbstractWiththepopularityofinformationandintelligenceequipment,nowwealsowanttoaddavarietyofintelligentdevicesinthehomeenvironment,anditcanabletoappliancesandhomeenvironmentfactorbyubiquitousnetworklink.Thisistheoriginalconceptofsmarthomesystem.smarthomesystemisanetworkthatinformationtechnologyandintelligentsystemsistherightcombinationofhardwareandsoftware.Inthehomeenvironmenttoachievefunctionalthatmaterialobjectsconnectedtothedevicethroughthenetworkandalsothehomeenvironmentinavarietyofenvironmentalfactorsalsoaddedtothenetworktomeetthepeoplethroughanetworkcontrolappliancesathomeunderstandtherequirementsoftheenvironmentalfactors,andthusmeettheneedsofpeoplearemoreadvancedhomeenvironment,andtheserequirementsarethetraditionalhomeItcannotbecompleted.Smarthomesystemisthemostimportantthingisthecorecontroller,whichisconnectedhouseholdappliances,homeenvironmentandaterminalcontroldevicebridge.Athomeandabroadforthesmarthomestudy,generallychoosemicrocontrollerwithARMasthecorecontroller.PaperchoosesArduinoMega2560asthecorecontroller,intermsofstability,ArduinoMega2560Microcontrollerratio,ARMismorestableandpractical,andArduinowhetherhardwareorsoftwareisopensource,whichmeansyoucanviewanddownloaditssourcecode,andmoreeasytodesignintelligenthomecontrolsystem.Thisthesisistodesignintelligenthomeappliances,homesecurity,homeenvironmentmonitoring,localcontrolandremotecontrolfunctionstofocusonanintegratedmanagementsystem.Bluetoothasalocalareanetworkcontrolsystemselectsthelink,usingtheGSMnetworkasaremotecontrolofthemedia,andnowonthemarkettosolvetheinfraredappliancesisdifficulttocontrolthe-IV-problem,designaninfraredrepeater,insteadofinfraredremotecontrol,eliminatingthehomeenvironmentmoreremote,mustbeusedinarangeofissues.Takingintoaccountthepopularityofsmartphones,thepaperselectedasamobilephoneterminalcontroldevice,notinthedesignofanadditionalterminalcontroldevice,whichisconvenientandeliminatestheneedtobringtrouble.Inaddition,thesystemalsohasgoodscalabilityandadaptabilitytodifferenthomeenvironment,accordingtotheneedsofdifferenthome,croppingfunctions,additionsandtransplantation.KeywordsSmartHome,ArduinoMega2560,Bluetooth,GSMModule,InfraredRepeater目录摘要..............................................................................................................................IIAbstract......................................................................................................................III第1章绪论................................................................................................................11.1本论文研究背景及意义...................................................................................11.2智能家居国内外发展状况...............................................................................21.3论文研究的主要内容.......................................................................................4第2章智能家居系统的总体方案设计....................................................................52.1智能家居系统的基本组成...............................................................................52.2智能家居系统总体设计方案...........................................................................62.3智能家居系统中的硬件平台...........................................................................82.3.1Arduino介绍...............................................................................................82.3.2GSM模块SIM900A..................................................................................92.3.3无线模块..................................................................................................102.3.4传感器模块..............................................................................................122.4本章小结.........................................................................................................14第3章智能家居系统的硬件设计与关键技术实现..............................................153.1智能家居继电器控制系统硬件设计.............................................................153.2红外转发系统的关键技术与实现.................................................................163.2.1红外遥控系统的关键技术..............................................................173.2.2红外转发系统的设计与实现..........................................................223.3传感器采集电路设计............................................................