基于VB实现PC机与单片机的串行通讯

所属分类:通讯编程
开发工具:MultiPlatform
文件大小:14KB
下载次数:613
上传日期:2005-12-29 01:10:18
上 传 者jiage
说明:  基于VB实现PC机与单片机的串行通讯 随着计算机技术尤其是单片微型机技术的发展,人们已越来越多地采用单片机来对一些工业控制系统中如温度、流量和压力等参数进行检测和控制。PC机具有强大的监控和管理功能,而单片机则具有快速及灵活的控制特点,通过PC机的RS-232串行接口与外部设备进行通信,是许多测控系统中常用的一种通信解决方案。因此如何实现PC机与单片机之间的通讯具有非常重要的现实意义。本文将论述在VB环境下PC机与单片机之间实现串行通讯的软硬件方案。PC机的通讯程序使用Visual Basic编写,VB是Microsoft公司推出的Windows应用程序开发工具,因其具有界面友好,编程简便等优点而受到广泛的使用,而且 Visual Basic 6.0 版本带有专门实现串行通讯的MSCOMM控件。
(VB-based PC and SCM serial communication with the computer technology, especially the single-chip microcomputer technology the development, it has been increasingly used to SCM for some industrial control systems such as temperature, flow and pressure parameters detection and control. PC with a powerful monitoring and management capabilities, and SCM has a rapid and flexible control characteristics, PC through the RS-232 serial interface with external communications equipment, many control systems are commonly used in a communications solutions. So how PC and communication between the microcontroller is a very important practical significance. This paper will describe the environment in VB PC and microcontroller serial communication between the hardware and software programs. PC communicat)

文件列表:
基于VB实现PC机与单片机的串行通讯.doc (38912, 2005-12-20)

近期下载者

相关文件


收藏者