文档介绍:本科生毕业论文(设计)
题目: 智能红外线家电遥控系统的设计
摘要
家电产品几乎都具备有红外线遥控功能,人们也早已习惯按遥控器的动作,桌上摆满了各式红外线遥控器也是常有的事,而这些遥控器也只能控制本身家电用品,本系统特别设计一个接收器,可接收这些遥控器的控制码,并达到控制继电器 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 puter controlling receiver module. An wire links both modules together. After an infrared receiver detects an ing signal, through 89C51, we can manipulate the current flows to either one of the sockets.
Key words: infrared ,SCM ,89C51 ,relay ,remote
目录
第一章绪论 1
背景简介 1
红外线遥控器动作原理 2
研究动机 3
第二章系统架构与硬件 4
整体系统构架 4
电源供应模组 5
89C51解码控制模组 6
红外线收发接收模组 8
红外线发射模组 8
红外线接收模组 9
10
红外线遥控器编码信号测量 11
12
12
短码位元 13
长码位元 14
PT2221电源键波形量测信号说明 15
第三章系统软件架构 17
程序说明及流程图 17
程序清单 20
程序执行说明 27
致谢 28
参考文献 29
第一章绪论
背景简介
家中许多的电器产品只要有遥控的功能者,例如电视机、冷气器及影音等家电产品,都是以红外线遥控的方式来控制。其控制的按键有基本功能遥控,或是做较复杂的功能控制。本论文系以东芝牌电视遥控器,收录其遥控发射码数据,及分析其波形,进而利用单片机89C51来进行解码控制,制作一个红外线接收开关,本装置的程序部份必须能够准确遥控码数据,使接收动作无误。
红