摘要
以HS0038(红外信号接收频率为38kHz)作为红外接收头,详细介绍了红外遥控信号的单片机软件编码解码方法,包括编码、调制和解码的原理以及以AT89C2051为核心的硬件电路和程序实现,实现了基于字节的红外数据传输。经实验测试,该方法能使红外遥控信号可靠发送和接收,传输距离可达15m,如果适当减少编码所用的脉冲个数,传输速度可达1200bit/s.该方法可用于一些计算机控制系统中。
In detail introduced an encoding and decoding method for infrared remote-control signal with software of microchip,infrared signal was received by HS0038 whose frequency is 38 kHz,including principle of encoding and modulation and decoding,hardware circuit whose center was AT89C2051 and program.Transmission of infrared remote-control signal based on byte was realized.Its experiment indicates that the method can benefit to reliable transmission of infrared remote-control signal,distance of transmission could reach 15 m,speed of transmission could reach (1 200) bit/s if number of the pulse of encoding would be reduced properly.The method could be used to computer control system.
出处
《仪表技术与传感器》
CSCD
北大核心
2004年第8期28-29,32,共3页
Instrument Technique and Sensor
关键词
红外遥控
单片机
编码解码
Infrared Remote-control
Microchip
Encoding and Decoding