MCS-51单片机和PC机间的串口通信  被引量:10

Interface of Serial Port Communication between Computer and Microcontrollers

在线阅读下载全文

作  者:于艳[1] 顾桓[1] 

机构地区:[1]西安理工大学印刷包装工程学院,西安710048

出  处:《科学技术与工程》2007年第8期1786-1789,共4页Science Technology and Engineering

摘  要:概述了PC机与单片机间进行串行口通信的基本原理,介绍了PC机与下位机之间的通信协议,并详述了在Visual C++环境下上位机利用MSComm通信控件与单片机之间进行RS232异步串行口通信的实现,给出了实现通信的硬件设计、串行口属性的初始化、与下位机进行通信的控制代码以及下位机的程序流程图。The basic principle of serial port communication between computer and microcontrollers is summarized and introduced the communication protocol between computer and microcontrollers. The realization of serial port communication between computer and microcontrollers using MSConn controls under the environment of VC + + is described in detail. Hardware designing , the initializing attribute of serial port, the control code of communication with microcontrollers and microcontrollers procedure program plow are also provided.

关 键 词:单片机 MSConn控件 VC++ 

分 类 号:TP334.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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