VB6.0环境下基于USB的虚拟串口通讯实现  被引量:5

Implementation of communication through virtual serial port based on USB

在线阅读下载全文

作  者:宁辉[1] 孙学艳[1] 刘建[1] 张建国[1] 

机构地区:[1]北京航空工程技术研究中心,北京100076

出  处:《现代电子技术》2012年第6期45-48,共4页Modern Electronics Technique

摘  要:以FTDI公司的FT232BL芯片为核心设计并实现了基于USB接口的计算机与单片机之间的虚拟串口通讯。单片机采用Philips公司P89系列单片机,完成数据的存储。计算机在Windows环境下利用MSComm通讯控件实现上位机与下位机之间的数据传输。在此提出了PC机对虚拟串口的自动识别方法,并提供了程序的源代码。实验结果表明,用虚拟串口实现计算机与单片机之间的USB通信,具有速度快,软件实现简单等优点。The communieation between SCM and USB port based computer through virtual serial port is designed and im- plemented 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 bysoftware.

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

分 类 号:TN919-34[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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