基于TC35模块的GSM远程控制系统的设计基于SIM300模块的GSM远程控制系统的设计I摘要随着GSM(GlobalSystemforMobilecommunication)移动通信网络的迅速普及和竞争的日益激烈,新技术和新业务的开发和应用已经提到一个十分重要的位置。短消息业务(SMS)作为GSM网络的一种基本业务,已得到越来越多的系统运营商和系统开发商的重视,基于这种业务的各种应用也蓬勃发展起来。本文提出了一种基于GSM短消息的远程控制系统,在给出系统的总体设计的基础上,设计了系统的硬件和软件,并对其应用领域作了一些探讨和研究。系统以GSM网络作为远程信号的传输平台。对GSM网络体系结构作了详细的讲解,并且着重讲述了对于本课题相当重要的短消息业务的通信原理。数据的传输方式主要是短消息方式,系统中采用PDU模式,对短消息的PDU编码和解码进行详细的讲述。短消息的接收和发送是通过AT指令来实现的,讲述了常见的AT指令及其使用方法。系统的硬件设计中,对主要硬件TC35和MSP430F149单片机及其外围电路进行了详细的讲述。系统分为两个部分进行设计——控制中心站和远程控制分站:控制中心站硬件包括一台PC机,GSM通信模块TC35,两者通过RS232连接;远程控制分站硬件包括GSM通信模块TC35,MSP430F149单片机,显示单元,各种传感器和数据采集与处理单元。系统的软件设计包括控制中心站软件设计和远程控制分站软件设计。远程控制分站软件设计中运用IAR公司为MSP430系列单片机开发的C430集成开发环境和C语言调试器作为程序开发工具,其软件包括单片机初始化、主程序、信号采集中断程序、通过串口的短消息接收和发送程序。论文的最后部分以GSM短消息的远程控制系统为基础,结合温度检测技术设计出一套基于GSM的远程温度控制系统,并给出了此系统应用领域的一些探讨和研究。关键词:MSP430,GSM,TC35,远程控制,AT指令基于SIM300模块的GSM远程控制系统的设计IIAbstractAlongwithrapidpopularizationandfuriouscompetitionofGSMnetwork,researchandapplicationofnewtechnologyandnewoperationhavebeenmentionedtoaquiteimportantposition.SMSasabasicserviceofGSMnetworkhasbeenattentedbymoreandmoresystemoperatoranddeveloper,andkindsofapplicationsbasedonthisservicehavebeenrapiddeveloped.ThispaperpresentaremotemonitoringsystembasedonGSM-SMS,thispaperfirstpresentsthesystemdesignasawhole,thenpresentsthehardwareandsoftwaredesignofsystem,atlastpresentssomediscussionsandinvestigationinapplyingfield.InthissystemGSMnetworkisamediumfortransmittingtheremotesignal,itpresentsdetailedexplanationofGSMnetwork‘ssystemstructureandemphasizesthecommunicationprinciplethatisimportantforthetask.ThemodeoftransmittingdataismostSMS.PDUmodeisusedduringtransmittingSMS.ItpresentsencordinganddecodingofSMSPDUmode.TransmittingandreceivingSMSisrealizedbyusingATcommand.ItpresentsthefamiliarATcommandandusingmethod.ItpresentsTC35andmicrochipMSP430F149MCUandperipheralcircuitduringdesignofsystemhardware.Hardwareofsystemincludestwoparts:themonitoringcenterandtheremotemonitoringstation.ItconsistsofacomputerandaTC35communicationmoduleofGSMinthemonitoringcenter.ComputerandTC35arejoinedbyRS232.ItincludesaTC35communicationmoduleofGSM,aMSP430F149MCU,adisplaypartandagatheringdatapart.Itincludesthemonitoringcentersoftwareandtheremotemonitoringstationsoftwareindesignofsystemsoftware.TheremotemonitoringstationsoftwareisdesignedwithC430integrationdevelopingenvironmentthatIARdesignedforMSP430singlechipandC-languagedebugger.ItincludessinglechipinitializationandmainprogramandinterruptofgatheringsignalandSMSreceivingandtransmittingprogramthroughthe基于SIM300模块的GSM远程控制系统的设计IIIserialport.Intheendofthepaper,itpresentsaremotetemperaturemonitoringsystembasedonGSM,usingthedesignedsystemofremotemonitoringsystembasedonGSM-SMSandtechniqueofmeasuringtemperature.Andthenpresentsanydiscussionsandinvestigationinapplyingfield.Keywords:GSM;SMS;remotemonitoring;PDUmode;ATcommand;MSP430基于SIM300模块的GSM远程控制系统的设计IV目录摘要........................................................................................................................IAbstract..............................................................................................................II目录...................................................................................................................IV前言..................................................................................................................-1-1总体方案与论证..........................................................................................-3-1.1设计方案模块....................................................................................-3-1.2无线通信模块....................................................................................-4-1.3控制单元模块的选择.....................................................................-4-1.4电源模块的选择................................................................................-5-1.5系统总体框架.................................................................................-5-2系统硬件模块设计......................................................................................-7-2.1电源及复位电路的设计................................................................-7-2.1.1MSP430电源模块的设计........................................................-7-2.1.2TC35的电源模块.....................................................................-7-2.1.3、复位电路................................................................................-8-2.2串口通信模块设计.........................................................................-9-2.3GSM模块接口设计.........................................................................-10-2.3.1、GSM模块简介.....................................................................-10-2.3.2GSM模块接口设计................................................................-10-2.3.3指示灯电路............................................................................-12-2.3.4SIM卡电路.............................................................................-13-2.4串行存储器的设计..........................................................................-14-2.5采集系统模块设计................................................