单片机实现无线电遥控器作者:2011 年月日无线电遥控器中文摘要一种无线电遥控开关,包括发射器盒、发射按钮、发射器电路、收器盒、接收器电路、插座、插头组成,其特征在于:在该发射器盒内装有发射按钮和发射器电路,发射器电路由数据电路、编码电路、调制振荡发射电路、电源电路组成,数据电路接编码电路,编码电路接调制振荡发射电路,电源电路分别与数据电路,调制振荡发射电路相接;接收器盒内装有手动开关按钮和接收器电路,接收器电路由接收振荡电路、整形放大电路、解码电路、手动开关电路、D触发器电路、驱动电路、控制电路、电路组成,接收器电路中的接收振荡电路接整形放大电路,整形放大电路接解码电路,解码电路接D触发器电路,D触发器电路接驱动电路,驱动电路接控制电路,电源电路分别与接收振荡电路、整形放大电路、解码电路、D触发器电路、驱动电路、控制电路相连接,手动开关电路与解码电路、D触发器电路相连接。
本实用新型涉及一种无线电遥控开关,为解决生产调试和抗干扰的问题,本实用新型绝大多数元器件采用集成块,包括发射器和接收器两部分,其发射器电路由数据电路、编码电路、调制振荡发射电路、电源电路连接而成,接收器电路由接收振荡电路、整形放大电路、解码电路、手动开关电路、D触发器电路、驱动电路、控制电路、电源电路连接而成。
本实用新型主要用于家用电器的遥控,并且能同时遥控几种家用电器。
关键词:无线电遥控器,遥控信号,单片机(见附录一)控制开关,电路原理,发射机,接收机AbstractA wireless remote control switch, including transmitters box, launch button, transmitters circuit, the device box, receiver circuits, socket, composition, the plug is characteristic in the transmitter inside the box, equipped with launch button and transmitters circuit, transmitters by data circuit, coding circuit circuit, modulation oscillation launch, the power circuit circuit composed, data circuit concatenated coding, coding modulation circuit circuit by launch circuit, the power supply circuit oscillation respectively and data circuit, modulation oscillation launch circuit connect; Receiver box with manual switch button and receiver circuits, receiver circuits by the receiving oscillating circuit, plastic magnifying circuit, decoding circuit, manual switch circuit, D trigger circuit, drive circuit, control circuit, circuit component in the circuit, the receiver receive oscillating circuit by plastic magnifying circuit, plastic magnifying circuit by decoding circuit, decoding, circuit pick D flip-flop circuit, Dflip-flop drive circuit, drive circuit by circuit control circuit, the power supply circuit by respectively and receiving oscillating circuit, plastic magnifying circuit, decoding circuit, D trigger circuit, drive circuit, control circuit connected, manual switch circuit and decoding circuit, D flip-flop circuit connected. The utility model is concerned with a wireless remote control switch, in order to solve the problem of production debugging and the anti-interference, the utility model most of the components of the integration, including transmitters and receivers two parts, the launcher circuit data circuit, coding by circuit, modulation oscillation launch, the power circuit circuit connected to the circuit, the receiver by the receiving oscillating circuit, plastic magnifying circuit, decoding circuit, manual switch circuit, D trigger circuit, drive circuit, control circuit, the power circuit connected to. The utility model is mainly used in household appliances, and the remote control and remote control several household electrical appliances.Key words: wireless remote control, remote control signal, microcontroller (appendix a) control switch, circuit principle, the transmitter and receiver目录前言 (4)1.1研究方向 (4)1.2研究背景 (4)1.3研究意义及作用 (4)方案分析 (4)2.1方案要求 (4)2.2方案原理 (5)2.3方案器件 (5)2.4方案步骤(流程图如图1) (5)电路分析 (6)3.1 发射系统 (6)a.数据电路 (7)b.编码电路 (7)c.调制振荡发射电路 (8)3.2接收系统 (8)a.接收振荡电路 (10)b.整形放大电路 (11)c.译码电路 (11)d.手动开关电路 (12)e.D触发器电路 (12)f.驱动电路 (13)g.控制电路 (13)3.3电源电路 (14)结束语 (15)注释 (17)附录 (19)无线电遥控器前言1.1研究方向无线电遥控控制电灯开关。
1.2研究背景随着电子技术的飞速发展,新型大规模遥控集成电路的不断出现,使得遥控技术有了日新月异的发展。
遥控装置的中心控制部件已从早期的分立元件、集成电路逐步发展到现在的单片微型计算机(见注释一),智能化程度大大提高。
近年来,遥控技术在工业生产、家用电器、安全保卫以及人们的日常生活中使用越来越广泛。
无线电遥控技术的诞生,起源于无线电通信技术,最初的构想是无线电电报技术的建立,真空电子管(见注释二)的发明使得无线电技术的应用和普及很快应用在民用和军用等各个领域。
自从爱迪生发明电灯以来,人类对照明电器的开启和关断控制主要使用手动机械开关。
随着无线电的发展,从上个世纪60年代开始,相继出现了无线电遥控的灯开关。
无线电遥控器(RF Remote Control)是利用无线电信号对远方的各种机构进行控制的遥控设备。
这些信号被远方的接收设备接收后,可以指令或驱动其它各种相应的机械或者电子设备,去完成各种操作,如闭合电路、移动手柄、开动电机,之后再由这些机械进行需要的操作。
一个多键的无线电遥控器可集中控制全家的只能遥控开关,具有人性化夜光功能,方便夜间找到开关位置,具有安装方便,使用简单,安全可靠等优点。
但因为无线电波有穿墙越壁能力,所以会误开关邻居的灯。
为了解决这个难题,后来的一种无线电遥控器采用了编码技术,像一把钥匙开一把锁一样,一个遥控器只对应控制一盏灯。
1.3研究意义及作用设计着重研究无线电控制开关的系统组成部分及其原理。
设计有利于巩固所学的专业知识,促进深入理论研究,为继续深造打基础,对在校期间学业情况的评估和综合能力的考查,也是培养和锻炼运用所学基本知识、理论和技能分析解决实际问题能力和科研创新能力,培养严谨治学的态度。
且在研究过程当中遇到的各种问题又能促进钻研业务学习,使学习成绩得以进步与提高。
并对通信系统建立起一个完整的概念。
方案分析2.1方案要求(1)遥控电路的发射频率为28MHz.(业余频段)。
(2)发射距离为30m左右,主要是在家庭内遥控家用电器开关。
(3)发射器电源电压要求在9V以下。
(4)遥控接收器要求能够较准确地接收28MHz 的载频信号,并解调出控制信号控制开关动作。
(5)遥控接收器的电源要求利用220V交流电源供电,设计出一个简易稳压源为其供电。
(6)整个遥控电路尽量简单可行。
2.2方案原理无线电遥控开关系统由发射系统和接收控制系统两部分组成。
开关系统的工作原理是首先通过按键编址电路输入所需控制电路的位号,同时启动编码电路产生带有地址编码信息和开关状态信息的编码脉冲信号(见注释三),再通过无线电发射电路将该信号发射出去。
无线电发射电路它是由一个能产生等幅振荡的高频载频振荡器,和一个产生低频调制信号的低频振荡器组成的。
用来产生载频振东和调制振荡的电路一般有:多揩振荡器、互补振荡器和石英晶体振荡器等,由低频振荡器产生的低频调制波,一般为宽度一定的方波。
或是频率不同的方波去调制高频载波,组成的己调制波,向空中发射.。