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

VB6.0环境下基于USB的虚拟串口通讯实现
引用本文:宁辉,孙学艳,刘建,张建国.VB6.0环境下基于USB的虚拟串口通讯实现[J].现代电子技术,2012,35(6):45-48.
作者姓名:宁辉  孙学艳  刘建  张建国
作者单位:北京航空工程技术研究中心,北京,100076
摘    要:以FTDI公司的FT232BL芯片为核心设计并实现了基于USB接口的计算机与单片机之间的虚拟串口通讯。单片机采用Philips公司P89系列单片机,完成数据的存储。计算机在Windows环境下利用MSComm通讯控件实现上位机与下位机之间的数据传输。在此提出了PC机对虚拟串口的自动识别方法,并提供了程序的源代码。实验结果表明,用虚拟串口实现计算机与单片机之间的USB通信,具有速度快,软件实现简单等优点。

关 键 词:VB6.0  USB口  FT232BI。  虚拟串口

Implementation of communication through virtual serial port based on USB
NING Hui , SUN Xue-yan , LIU Jian , ZHANG Jian-guo.Implementation of communication through virtual serial port based on USB[J].Modern Electronic Technique,2012,35(6):45-48.
Authors:NING Hui  SUN Xue-yan  LIU Jian  ZHANG Jian-guo
Affiliation:(Beijing Aeronautical Technology Research Center,Beijing 100076,China)
Abstract:The communication between SCM and USB port based computer through virtual serial port is designed and implemented by taking FT232BL of FTDI Incorperated as a kernel.The data storage is completed by Philips P89 series MCU.The data tranmission between host computer and lower computers is achieved by means of MSComm communication control in the Windows environment.The method that PC automatically identifies the virtual serial port is presented.The source code of the program is provided.The experimental result shows that the USB communication between SCM and PC implemented by virtual serial port is speedy and easy to implement by software.
Keywords:VB6  0  USB port  FT232BL  virtual serial port
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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