文件名称:基于VB实现PC机与单片机的串行通讯
介绍说明--下载内容均来自于网络,请自行研究使用
基于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