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

利用MSComm控件实现PC机与单片机串口通讯的研究
引用本文:闫通海,周到.利用MSComm控件实现PC机与单片机串口通讯的研究[J].应用科技,2004,31(1):23-25.
作者姓名:闫通海  周到
作者单位:哈尔滨工程大学,机电工程学院,黑龙江,哈尔滨,150001
摘    要:利用Visual Basic6.0提供的MSComm通信控件可以非常方便地编写Windows环境下的串El通信程序.对MSComm通信控件的重要属性作了详细的介绍,并以实际项目为例,介绍了PC机与单片机问串口通讯软件设计,对下位机,利用MSComm控件收发串口数据.实际工程运行表明,该方法实现简单,功能适用,运行可靠。

关 键 词:MSComm控件  PC机  单片机  串口通讯  Visual  Basic6.0
文章编号:1009-671X(2004)01-0023-03
修稿时间:2003年1月15日

Use of MSComm to realize COM port communication between PC and singlechip
YAN Tong-hai,ZHOU Dao.Use of MSComm to realize COM port communication between PC and singlechip[J].Applied Science and Technology,2004,31(1):23-25.
Authors:YAN Tong-hai  ZHOU Dao
Abstract:By using MSComm controller with Visual Basic 6.0,it is convenient to write a serial port communications program under Windows environment. The important properties of the MSComm controller were described, and the software design was illustrated for the communication between PC and singlechip microcomputer by a practical project. For the slave computer, the MSComm controller is used to receive and transmit serial data. The engineering practice proves that it is easy in implementation, applicable in functions and reliable in operation.
Keywords:COM  port  communication  MSComm  singlechip  microcomputer
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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