首页 | 本学科首页   官方微博 | 高级检索  
     检索      

无线指令系统中串口通信的实现
引用本文:梁双港,韦高,范海礁.无线指令系统中串口通信的实现[J].航空计算技术,2006,36(1):27-29.
作者姓名:梁双港  韦高  范海礁
作者单位:西北工业大学,电子信息学院,陕西,西安,710072;西北工业大学,电子信息学院,陕西,西安,710072;西北工业大学,电子信息学院,陕西,西安,710072
摘    要:介绍了无线指令系统的工作原理,以及串口通信在该系统中的重要地位.分析了Windows32环境下的串口通信的实现机制和几种实现方法及其编程思路,并以Visual C 6 .0为开发平台,通过调用Win32 API编写了计算机的异步串口通信程序,用汇编语言编写了单片机的通信程序.最后结合无线指令系统实例,实现了PC机串口与单片机之间的数据通信,通信效果良好.

关 键 词:无线指令系统  异步串口通信  API函数
文章编号:1671-654X(2006)01-0027-03
修稿时间:2005年9月26日

Realization of Serial Port Communication in Wireless Command System
LIANG Shuang-gang,WEI Gao,FAN Hai-jiao.Realization of Serial Port Communication in Wireless Command System[J].Aeronautical Computer Technique,2006,36(1):27-29.
Authors:LIANG Shuang-gang  WEI Gao  FAN Hai-jiao
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.
Keywords:wireless command system  asynchronous serial port communication  API function
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号