基于51单片机的红外遥控开关设计初稿

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

电子与信息工程学院本科毕业论文论文题目基于51单片机的红外遥控的开关的设计学生姓名曾仕奇学号063621047专业电子信息科学与技术班级063621指导教师吴四清2010年5月摘要I摘要本设计是基于红外遥控和AT89C51单片机控制的红外遥控开关,这种系统具有很强的适用性、灵活性、先进性,它的应用大大方便了人们的生活。本文给出了系统的硬件组成和硬软件设计方法,介绍了解码程序的基本结构和程序框图,为达到准确控制,将发射脉冲分为连接段、控制段和结束段等3部分,并再接收端进行校验。整个系统由发射和接收两个部分组成。发射部分包括键盘矩阵、编码调制、LED红外发送器;接收部分包括LED红外光、解调、解码电路。系统在实际实用后,证明其方便、可靠并具有实用价值。关键词:AT89C51芯片;红外遥控开关咸宁学院学士学位论文IIABSTRACTThedesignofaninfraredremote-controlmulti-lineswitchisintroduced.Thisswitchisbasedonprincipleofinfraredremote-controlandAT89C51singlechipmicrocomputercontrolling.Thissystemhasstrongapplicability,flexibilityandadvancement.People'slifeisimprovedgreatlybyItsapply.Itssystemcompositionanddesignofhardwareandsoftwarearepresented.Thebasicstructureandchartofcontroldecodeprogramarealsoexpounded.Inordertoachieveexactremote-control,thetransmittedsignalisdividedinto3parts:theconnectingsection,thecontrollingsectionandtheendingsection,thenthereceiverwillverifyit.Thewholesystemiscomposedbythelaunchespartiallyandthereceivespartiallytwoparts.Launchespartiallyincludingthekeyboardmatrix,thecodedmodulation,theLEDinfraredtransmitter;ReceivespartiallyincludingtheLEDinfraredlightlaunch,thedemodulation,decodestheelectriccircuit.Itwasprovedthatthiskindofremote-controlisconvenient,reliableandpracticalafterusinginremote-controlsystem.Keywords:thechipofAT89C51;infraredremote-controlswitch目录III目录1绪论....................................................................................................................................11.1课题背景.......................................................................................................................11.2应用前景.......................................................................................................................12总体设计方案......................................................................................................................32.1机型及元器件选择.......................................................................................................32.1.1单片机的选择........................................................................................................32.1.2AT89C51单片及的硬件结构.................................................................................32.2软、硬件功能划分.......................................................................................................42.3总体方案设计...............................................................................................................53系统的设计..........................................................................................................................73.1系统硬件设计...............................................................................................................73.1.1硬件要求................................................................................................................73.1.2键盘接口................................................................................................................93.1.3LED显示器..........................................................................................................103.1.4发射部分..............................................................................................................123.1.5接收部分..............................................................................................................123.2系统软件设计.............................................................................................................133.2.1发射部分的工作原理..........................................................................................133.2.2接收部分工作原理..............................................................................................133.3遥控系统的编码及解码.............................................................................................143.3.1遥控发射编码格式..............................................................................................143.3.2数据帧的接收处理..............................................................................................153.4遥控发射及接收控制程序流程图.............................................................................163.4.1遥控发射控制流程图..........................................................................................163.4.2遥控接收控制流程图..........................................................................................174系统调试............................................................................................................................195毕业设计总结....................................................................................................................21致谢....................................................................................................................................23参考文献................................................................................................................................25附录....................................................................................................................................27错误!未找到引用源。1绪论11绪论1.1课题背景继1971年微处理器的研制成功不久,就出现了单片机,但最早的单片机是一位的,单片机以其卓越的性能,得到了广泛的应用

1 / 38
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功