节点文献

无线指令系统中串口通信的实现

Realization of Serial Port Communication in Wireless Command System

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 梁双港; 韦高; 范海礁;

【Author】 LIANG Shuanggang,WEI Gao,FAN Haijiao(School of Electronic and Information,NWPU,Xi′an 710072,China)

【机构】 西北工业大学电子信息学院; 西北工业大学电子信息学院 陕西西安710072; 陕西西安710072;

【摘要】 介绍了无线指令系统的工作原理,以及串口通信在该系统中的重要地位。分析了W in-dows32环境下的串口通信的实现机制和几种实现方法及其编程思路,并以V isual C++6.0为开发平台,通过调用W in32 API编写了计算机的异步串口通信程序,用汇编语言编写了单片机的通信程序。最后结合无线指令系统实例,实现了PC机串口与单片机之间的数据通信,通信效果良好。

【Abstract】 The paper introduces the operational principle of wireless command system and the important position of serial port communication in the system,and analyses the realization mechanism of serial port communication in Windows32,kinds of realization methods and programming ideas.Based on VC++6.0,the asynchronous communicational program on computer compiled by transferring Windows32 API,and the communicational program on single chip compiled with assemble language,combining the example of wireless command system,realize the communication between PC and single chip.The effect of communication is very good.

  • 【文献出处】 航空计算技术 ,Aeronautical Computing Technique , 编辑部邮箱 ,2006年01期
  • 【分类号】TP273
  • 【下载频次】151
节点文献中: 

本文链接的文献网络图示:

本文的引文网络