文档详情

 智能红外线家电遥控系统的设计.doc

发布:2016-11-22约1.11万字共34页下载文档
文本预览下载声明
海 南 大 学 本科生毕业论文(设计) 题 目: 智能红外线家电遥控系统的设计 摘 要 家电产品几乎都具备有 红外线遥控功能,人们也早已习惯按遥控器的动作,桌上摆满了各式红外线遥控器也是常有的事,而这些遥控器也只能 控制本身家电用品,本系统特别设计一个接收器,可接收这些遥控器的控制码,并达到控制继电器 ON/OFF输出的目的,使这些遥控器又增添一项用途。 在系统中以红外线传输为主要媒介,对现有红外线遥控开关的产品的红外发射码进行分析,并藉由单片机系统进行解码,同时提供二个通道的控制 ,并提供两AC负载插座共 1500W的输出控制。 为了让使用者方便操作本系统,系统分成电源供应模组及微电脑控制接收模组,两模块间以一条缆线连接。本系统藉由红外线接收感测元件接收遥控器的发射码,经由89C51的处理后,可以控制电源供应模块上的两个插座通道的接通或关闭。 关键词: 红外线;单片机;89C51;继电器;遥控器 Abstract Most of the household appliances in the market are equipped with infrared remote control. People accustom to turn on and off appliances with this device. People have their living rooms littered with remote controls. However, each remote control can only manipulate a single appliance that they are designated for. We have designed a special infrared receiver in this research which can receive the control codes in order to turn on and off a control relay. In this system that we designed, analyse signals emit from infrared remote and decode by SCM. The controller also provides two AC overload sockets with 1500W output control. In order for user to easily learn how to manipulate this system, we separated this system into two parts: a power supply module and a micro-computer controlling receiver module. An wire links both modules together. After an infrared receiver detects an incoming signal, through 89C51, we can manipulate the current flows to either one of the sockets. Key words: infrared ,SCM ,89C51 ,relay ,remote 目 录 第一章 绪论 1 1.1 背景简介 1 1.2 红外线遥控器动作原理 2 1.3 研究动机 3 第二章 系统架构与硬件 4 2.1 整体系统构架 4 2.2 电源供应模组 5 2.3 89C51解码控制模组 6 2.4 红外线收发接收模组 8 2.4.1 红外线发射模组 8 2.4.2 红外线接收模组 9 2.5遥控格式与编码方式 10 2.6 红外线遥控器编码信号测量 11 2.6.1波形图 12 2.6.1.1启始位元 12 2.6.1.2 短码位元 13 2.6.1.3 长码位元 14 2.6.2 PT2221电源键波形量测信号说明 15 第三章 系统软件架构 17 3.1 程序说明及流程图 17 3.2 程序清单 20 3.3 程序执行说明 27 致 谢 28 参考文献 29 第一章 绪论 1.1 背景简介 家中许多的电器产品只要有遥控的功能者 ,例如电视机、冷气器及影音等家电产品,都是以红外线遥控的方式来控制 。其控制的按键有基本功能遥控,或是做较复杂的功能控制。本论文系以东芝牌电视遥控器
显示全部
相似文档