摘要
介绍计算机与单片机串行通信的实现方案,其中计算机接收和发送数据是用VB6中的MSCOMM控件来实现的,并将接收的数据保存在数据文中以备后继处理;单片机接收计算机的数据主要是用来设置单片机的工作参数的,单片机定时向计算机发送一定的数据,主要是单片机产生的数据或由单片机检测的数据,用汇编语言编程。
The serial communication between computer and single-chip microcomputer is mainly introduced in this paper. The data,the computer receiving from or sending to single-chip microcomputer ,is transmitted through the control of MSComm and stored in the file. The data ,the single-chip microcomputer receiving from computer,is used to set the working parameter of single-chip microcomputer. The data,transmitted at intervals from single-chip microcomputer to computer,is mainly the data produced in or detected by single-chip microcomputer. The program is edited in assembly language.
出处
《安阳工学院学报》
2007年第4期64-68,共5页
Journal of Anyang Institute of Technology
关键词
串行通信
控件
单片机
MSCOMM
智能仪表
数据采集
Serial communication
Control
Single-chip microcomputer
MSComm
Intelligent instrument
Data collection