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

USB虚拟串口通信实现
引用本文:李智敏.USB虚拟串口通信实现[J].电子科技,2014,27(3):120-122.
作者姓名:李智敏
作者单位:(广东工业大学 信息工程学院,广东 广州 510006)
摘    要:以一种高度集成的USB 总线转接芯片CH341为核心,设计并实现了基于USB接口的PC机与下位机的虚拟串口通信。上位机在Windows 环境下利用 MSComm 控件实现与下位机通信,介绍了USB转虚拟串口的实现方法,并基于该虚拟串口编写了智能家居控制应用软件。实验测试表明,采用虚拟串口实现上位机与单片机通信,具有结构简单、速度快和易于软件开发等特点,能满足于各种串口通信场合。

关 键 词:+6.0  USB  虚拟串口  CH341  智能家居  

Implementation of Virtual Serial Port Communication Based on USB
LI Zhimin.Implementation of Virtual Serial Port Communication Based on USB[J].Electronic Science and Technology,2014,27(3):120-122.
Authors:LI Zhimin
Affiliation:(School of Information Engineering,Guangdong University of Technology,Guangzhou 510006,China)
Abstract:The communication between computer and microcomputer based on USB interface through virtual serial port is designed and implemented by taking a highly integrated USB bus adapter chip CH341 as kernel. The data transmission between host computer and lower microcomputer is achieved through MSComm control in the Windows environment. The design and implementation of USB to virtual port are illustrated in detail, and the system control software based on the virtual port is developed. Experiments show that the virtual serial port communication can meet various requirements of serial communication with simple structure, high speed, and easy software development.
Keywords:VC ++6  0  USB  virtual port  CH341  smart home
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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