摘要
遥控器系统的红外通信口采用了一种点对点的数据传输协议技术,根据红外发射管本身的物理特性,选用载波信号频率为38KHz。整个设计的核心是应用PIC16F873单片机进行程序编制。本系统采用了主一从结构的半双工通信方式。红外发射程序的关键是定时时间到时调用中断程序来产生载波信号,对按键信号和载波信号进行调制。红外接收利用PIC16F873的USART模块异步串行数据的接收方法,使程序更加简单。红外发射程序和接收程序分别装入一片PIC16F873单片机。文中也分别介绍了接收部分和发射部分工作原理图与关键元器件的作用。
Infrared communication interface of remote manipulator adopts the end to end data communication protocol.When designing the circuit the frequency of the carrier wave was chosen as 38k according to the physical property of the infrared sengding tube.the core of the whole design was progromming with the PIC16F873 micro-controller.The system adopts the method of the hemi-double-orient communication.The key of the infraren sending progrem was calling the interprut subroutine to produce the carrier wave and modulate it with the sigal.The infrared inceptive adopts the incepting method of asynchronous receiver transmitter of USART,as simplized the progrom.Tprogroms of sending and incepting were loaded into a PICI6F873 micro-controller respectively.The paper introduces the operating principle of sending and receiving,the funtion of key compopents.
出处
《电子技术(上海)》
2008年第10期68-70,共3页
Electronic Technology
关键词
单片机
红外发射
红外接收
信号调制
协议
遥控系统
PIC16F873 micro-controller
infrared
senging
infrared
incepting
singal
modulating
communication protocol
Remote Control System