基于单片机远程控制系统的设计与实现摘要本设计基于单片机和无线通信技术,利用手机APP实现远程设备的控制,系统包括手机APP端、无线通信模块。无线通信模块由单片机控制器、按键和无线发射器、显示器组成,其功能是通过接受来自手机APP不同的指令来实现不同设备的控制。手机APP通过WiFi或GPRS信号发送指令,具有较好的人机交互界面,可实现多机交互。系统的控制距离较远,应用方便,可用于对家庭电器远程控制,还可以对某些高危操作下的远程控制,以及户外远距离通信。本设计描述了系统的主要部件组成及功能特性、系统的模块组成及系统的工作原理,控制程序及设计调试与操作。关键词:51单片机;ESP8266无线设置;C语言;远程控制;手机APPIAbstractThisdesignisbasedonsingle-chipcomputerandwirelesscommunicationtechnology,usingmobilephoneAPPtoachieveremotedevicecontrol,thesystemincludesmobilephoneAPP,wirelesscommunicationmodule.Thewirelesscommunicationmoduleiscomposedofasingle-chipcontroller,buttons,awirelesstransmitter,andadisplay.ItsfunctionistorealizethecontrolofdifferentdevicesbyreceivingdifferentinstructionsfromthemobilephoneAPP.ThemobilephoneAPPsendscommandsthroughWiFiorGPRSsignals,andhasagoodhuman-computerinteractioninterface,whichcanrealizemulti-machineinteraction.Thecontroldistanceofthesystemisrelativelylongandtheapplicationisconvenient.Itcanbeusedforremotecontrolofhomeappliances,remotecontrolundercertainhigh-riskoperations,andoutdoorlong-distancecommunication.Thisdesigndescribesthemaincomponentsofthesystemandthefunctionalcharacteristicsofthesystem,thesystemcomponentsandtheworkingprincipleofthesystem,controlproceduresanddesigndebuggingandoperation.Keywords:51SCM;RemoteControl;ESP8266wirelesssettings;Clanguage;MobileAPPII目录1.课题研究意义.............................................................................................................................................11.1课题研究背景.............................................................................................................11.2课题研究的意义........................................................................................................11.3本文的研究内容........................................................................................................12.主要部件概述.............................................................................................................................................22.1STC89c51单片机......................................................................................................22.1.1STC89C51简介............................................................................................................................22.1.2主要功能特性..............................................................................................................................22.1.3引脚结构图...................................................................................................................................32.21602液晶显示器.................................................................................…………………32.2.1液晶显示原理.............................................................................................................................42.2.2液晶显示器的分类......................................................................................................................42.2.3液晶显示器的优点............................................................................