您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 家电行业 > 基于TC35的远程家电控制系统的设计
毕业论文论文题目基于GSM模块TC35的短信远程家电控制系统系别电子信息工程系专业电子信息工程班级学号学生姓名指导教师(签名)完成时间年月I摘要随着GSM(GlobalSystemforMobilecommunication)移动通信网络的迅速普及和竞争的日益激烈,新技术和新业务的开发和应用己经提到一个十分重要的位置。短消息业务(SMS)作为GSM网络的一种基本业务,已得到越来越多的系统运营商和系统开发商的重视,基于这种业务的各种应用也蓬勃发展起来。本文以GSM移动网络作为信息传输平台,设计了一个通过短消息进行远程家电控制的组件。短消息遵循GSM的标准AT指令集,这里着重介绍了和本课题相关的几条AT指令,同时采用了支持中文的PDU编码方式。本课题完全实现了标准的PDU编码和解码功能。具体实现将在软件设计部分进行详细的描述。本课题的任务是实现一个控制组件,用户可以通过手机发送短信对家用电器进行远程ON/OFF控制。控制组件主要由GSM模块TC35、液晶显示LCD12864、单片机AT89S52及继电器T73-5V组成。硬件设计部分中对TC35、LCD12864、AT89S52及其外围电路进行了详细的描述。控制组件由主程序、按键控制程序、液晶显示初始化程序、串口接收中断服务程序、定时器中断服务程序等功能模块组成。其中主程序负责和TC35进行短消息收发,LCD12864负责显示TC35的工作状态。串口接收中断服务程序和定时器中断服务程序共同完成串口数据的接收。串口数据接收和短信检测是本软件的两个难点问题,软件设计部分将对这两个问题进行了详细的描述。本设计中,以发光二极管模拟家用电器为被控对象,成功的实现了对发光二极管的远程开启与关闭的控制,而且当发光二极管开启/关闭成功时模块会自动发送一个信息到发送方手机以确保开启/关闭成功。同时系统还增加了十三个按键(复位、拨号/接听、挂机、数字键0~9)。由此可见,基于GSM模块西门子TC35短消息的短信远程家电控制系统,不仅克服了电话远程家电控制系统电话费用高、控制时间长等的缺点,而且具有良好可扩展性和实用价值,还可以当作家庭电话使用。关键字:单片机AT89S52短信消息GSM模块TC35串口通信IISMSremotecontrolsystemforhouseholdappliancesbasedonSiemensTC35AbstractGSM(GlobalSystemforMobilecommunication)isapopularmobilecommunicationsystem,whichismoremature,andwidelyusedinmobilecommunication.SMS(ShortMessageService),asanimportantserviceofGSM,hasbeingwidelyusedinRemoteControl.Duringthepastseveralyears,systemoperatorsandsystemdevelopershavebeenpayingmoreandmoreattentiontotheusageofSMS.ThispaperdesignsaremotecontrolcomponentbasedonSMS.SMSmakesuseofstandardATcommandsetofGSM.HereweareinterestedinseveralATcommandsofSMSusedintheprogram.ThispapercompletelyimplementsthestandardPDUencodinganddecodingfunctions,andwillgiveadetaileddescriptionlateraboutthat.Thepurposeofthispaperistodesignacomponent,whichcanturnonandturnoffthehouseholdappliancebySMSfromthehost’smobilephone.ThehardwareofthecomponentconsistsofaGSMmodulenamedTC35,aMCUnamedAT89S52,aLiquidCrystalDisplaynamedLCD12864,andaSSRnamedT73-5V.Theseobjectionsaregivenadetaileddescriptioninthehardwaredesignation.Insoftware,thesystemwhichconsistsofthemainprogram,Buttoncontrolprocedures,LCDdisplayinitializeprogram,serialreceivinganinterruptserviceroutine,andtimerinterruptserviceroutinefunctionmodule.ThemainprogramdecodesSMSreceivedfromTC35andcontrolthehomeapplianceaccordingtothecommandincludedinSMS.TheLCD12864isdisplaytheworkofTC35.ThemostcompellingproblemsfacingtheRemoteControlaredatareceivingofUARTandSMSdetection.Theseproblemswillbegivenadetaileddescriptioninthesoftwaredesignation.Thisdesign,withlightemittingdiodesimulationhouseholdappliancesforcontrolledobject,thesuccessfulimplementationofleddistanceopenandclosed,andthecontrolwhenledopen/closesuccessfulmodulewillautomaticallysendamessagetothesenderphoneopen/closetoensuresuccess.Andthesystemwillalsoincreasethethirteenkeys(tenresetanddial-up/answer,hang,digitalkey0-9).Therefore,basedonGSMmoduleSiemensTC35shortmessageofSMSremotecontrolsystem,notonlythehouseholdapplianceovercomesthephoneremotecontrolsystem,controlofthehighcostoftelephonelongtime,andhasgoodexpansibilityandpracticalvalue,butalsocanbeusedasafamilytelephone.KeyWord:AT89S52SMSmessageGSMmoduleTC35serialcommunicationIII目录第一章前言.........................................................................................................................1第二章系统结构及工作原理.........................................................................................32.1模块的选择..........................................................................................................32.1.1方案一......................................................................................................32.1.1方案一......................................................................................................32.2系统的组成及功能介绍...................................................................................32.3系统的工作原理.................................................................................................4第三章系统硬件设计......................................................................................................73.1家电控制器的总体结构...................................................................................73.2TC35通信模块及外围电路.............................................................................83.2.1TC35模块的结构和特点......................................................................83.2.2TC35模块引脚功能介绍......................................................................83.2.3TC35外围硬件........................................................................................93.2.4TC35连机通信......................................................................................153.3单片机控制部分电路......................................................................................193.3.1单片机介绍...........................................................................................193.3.2单片机外围硬件..................................................................................20第四章系统软件设计....................................................................................................234.1主程序设计.......................................................................................
本文标题:基于TC35的远程家电控制系统的设计
链接地址:https://www.777doc.com/doc-112517 .html