文档介绍:基于单片机的红外遥控解码器设计
所属系别信息工程系
专业班级 10大专电子信息工程技术2班姓名
学号
指导教师
撰写日期 2013 年 4
月
本设计是一种以单片机和一体化红外接收器为核心,由单片机最小系统、通信模块、红外接收模块和液晶显示模块组成。通过红外遥控接收头HS0038将光信号转变成电信号,经放大、解调、滤波后,将遥控脉冲波形送入单片机AT89S52中,利用相应的硬件滤波功能和软件滤波算法,对的输出信号进行信号识别、解码的实时动态处理,得到红外遥控器相应按键键码,单片机将得到的数据送入显示驱动电路,再通过LCD1602更直观的显示出来,实现单片机的红外解码。经过解码后,可以将多种遥控器进行合成,实现一个遥控器控制多台电器设备。即减少了遥控器的数量,同时又增强了遥控器的功能。通过对电路的设计和实际调试,可以在液晶显示模块显示出来红外源码,从而验证了本设计是可行的。
关键词:AT89S52,红外接收HS0038,红外解码
The design is a microcontroller and integrated infrared receiver as the core, from the smallest single-chip system, munication module, the infrared receiving module and liquid crystal display module. Receiving head
HS0038 the light signal is converted into electric signal through the infrared remote control, after amplification, demodulation, filtering, remote control pulse waveform into the SCM AT89S52, using the corresponding hardware filter and software filtering algorithm, the output signal of the signal recognition, real-time dynamic processing of infrared remote control decoding, obtained the corresponding key code, SCM will get data into the display driving circuit, and then through the LCD1602 display, infrared decoder chip. After decoding, can be a variety of remote controller synthesis, the realization of a remote control a plurality of electric equipment. Namely, reducing the number of remote control, and strengthen the function of the remote controller. Through the circuit design and debugging, in the liquid crystal display module display infrared source, which verified the design is feasible.
Keywords: AT89S52, infrared receiver HS0038, infrared decoder
1 引言........................................................................................................................................................12 总体设计方案......................................................................................................................................1
方案论证............................................................