排爆机器人无线串行通信的C语言编程  

The wireless serial communication programming of A bomb-exclusive robot in C language

在线阅读下载全文

作  者:林焯华[1] 蒋梁中[1] 姚锡凡[1] 王春宝[1] 

机构地区:[1]广州华南理工大学机械工程学院

出  处:《微计算机信息》2006年第11Z期253-255,239,共4页Control & Automation

基  金:广东省科技计划项目资助项目(2004A10403006);2005年华南理工大学百步梯攀登计划研究项目

摘  要:计算机上的RS-232串行通信标准接口可以方便地与外设进行通信以及对外设的监测数据进行实时的采集。用C语言编写上、下位机的串行通信程序时,主要有查询方式和中断方式两种不同的方法。其中中断方式避免长时间访问串行口的问题,数据交换可在上位机后台进行,在设计前台事务处理程序时就可以不考虑数据交换问题,提高了CPU的工作效率。因此,本文着重介绍中断方式下的通讯编程,并使用数传电台实现排爆机器人上、下位机的无线通信。The RS-232 serial standard interface of communication on the computer can carry on communication with the peripheral hardware conveniently ,and sample data in real-time. There are mainly two kinds of different methods, i.e. inquiring way and interrupt way, to program for serial communication between the upper computer and the lower computer in C language. Interrupt way prevents from waiting for the serial interface in a long time. Data interchange can be completed in the backstage of the upper computer, which needn ' t consider the data interchange problem while designing the transaction processing procedure in the front desk and have improved the working efficiency of CPU. So, the interrupt way is mainly introduced here. Data transmission radio can be used for realizing the wireless communication between the upper computer and the lower computer of the bomb-exclusive robot..

关 键 词:串行通信 无线通信 C语言 查询方式 中断方式 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象