1、 摘要摘要 红外遥控技术近几年来发展迅猛,在电子领域,特别是在家电领域中应用比较广 泛。 随着人们生活水平的提高, 对遥控产品的追求是使用更方便, 更具智能化, 因此, 红外遥控技术成为了一个重点的发展方向。 本文介绍了红外遥控系统的基本原理, 在此基础上设计一个简易的红外遥控控制 电灯的系统,系统包括红外发射和红外接收两大部分。 系统采用了 AT89C52 单片机作 为遥控发射、接收的主芯片,HS0038 作为一体化红外接收管,对载波信号进行接收、 解调、放大、检波、整形等。当用户在行列式键盘上键入一个按钮,发送端的单片机 就会收到一个控制信息,然后编码,同时产生 40Hz 红外线方波信号,
2、经过三极管的 放大,由红外发射管发送出去,接收端的红外接收头接收到来自发送端的红外信号, 经过一系列处理后送入对应的单片机,单片机根据不同的信息码对 15 路电灯进行控 制操作。 本设计实现了遥控系统控制电灯的基本功能,可以控制电灯的开关和亮度控制。 本设计的主要特点就是结构简单,性价比高,实用性强。另外本设计可以增加按键的 个数,可用于扩展控制其他的功能。 关键字关键字:AT89C52 单片机;红外发射;红外接收;电器控制 Abstract Infrared remote control technology in recent years have rapidly development,
3、 which is widely used in the electronic field, especially in the fields of home appliance. Remote control technology provide us with convenient in our daily life, for example, the use of remote control lights, remote control TV, remote control air conditioning, etc, improved peoples quality of life.
4、 As peoples living standard rise, the pursuit of product is to use more convenient, more intelligent, therefore, infrared remote control technology becomes a key development direction. This article introduces the basic principle of infrared remote control system,On the basis of which, a system of in
5、telligent infrared remote-control which consists of the launching part and the receiving part.,was designed for the Electric light. It needs a special launching and receiving chip which depends on AT89C52, and HS0038 as integration infrared receiving tube, on receiving, carrier signal demodulation,
6、amplification, detection, plastic, etc. When one type a button on the keyboard. the SCM in the launching end receives a control information, then codes, produces a 40 Hz infrared square wave signal at the same time, which is amplified by the transistor and sent out by infrared tubes. After the infrared sensor in the receiving end receives signal from launching end and do a series of treatment, the control information will be sent to another SCM, which can control 15 circuits according to the