摘要
系统以TSOP1738(红外接收频率为38kHz)作为红外接收头,详细介绍了红外遥控器的设计原理,红外遥控信号的单片机软件编码解码方法,包括编码、调制、解码以及发射,实现了一种利用MCS-51单片机的外部中断和时钟中断实现红外遥控的接收和发送装置,实现了基于字节的红外数据传输;经试验测试,该方法能使红外信号可靠发送和接收,通用性好,适用于大部分红外遥控控制系统。
The article introduced the design theory and method ot the lnlrared remote-control signal with software ot mlcrochip, lntrared signal was received by TSOP1738 whose frequency is 38kHz, including encoding, modulation, decoding and transmitting, realize a system with INT0 and TO of MCS-51 microchip and transmission of infrared remote-control based on byte. Its experiment indicates that the method can benefit to reliable transmission of infrared remote-control signal, and the program can be used by other micro control system only changing a little.
出处
《计算机测量与控制》
CSCD
2007年第12期1758-1759,1800,共3页
Computer Measurement &Control
关键词
红外遥控
单片机
编码解码
外部中断
计时/计数器
infrared remote- control microchip encoding and decoding outer interrupt timer/counter