摘要
红外遥控属于无线、非接触控制中的一类,其优点显著,如成本低,功耗低、易编码和解码,信息传输可靠,对周围环境影响小等[1]。在日常生活中,大多数家用电器都采用红外线遥控技术,并且在计算机系统中也得到了更多的应用。本设计通过STC单片机编写NEC和RC-5两种协议的编码,通过按键实现两种协议的转换,并在LCD显示屏上显示当前所发送的协议类型。
Infrared remote control belongs to a category of wireless and non-contact control.It has significant advantages,such as low cost,low power consumption,easy encoding and decoding,reliable information transmission,and small impact on the surrounding environment.In daily life,most household appliances use infrared remote control technology,and it has also been used more in computer systems.In this design,the coding of NEC and RC-5 protocols is written by STC single-chip microcomputer,and the conversion between the two protocols is realized by pressing the keys,and the currently sent protocol type is displayed on the LCD display screen.
作者
王赛
张立新
王军昂
吴凯枫
凌云
Wang Sai;Zhang Lixin;Wang Jun’ang;Wu Kaifeng;Ling Yun(School of Automation,Nanjing University of Information Science&Technology,Nanjing Jiangsu,210044)
出处
《电子测试》
2022年第9期26-28,共3页
Electronic Test
关键词
单片机
红外遥控
NEC
RC-5
single chip microcomputer
infrared remote control
NEC
RC-5