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

MCS-51单片机和PC机间的串口通信
引用本文:于艳 顾桓. MCS-51单片机和PC机间的串口通信[J]. 科学技术与工程, 2007, 7(8): 1786-1789
作者姓名:于艳 顾桓
作者单位:西安理工大学印刷包装工程学院,西安,710048
摘    要:概述了PC机与单片机间进行串行口通信的基本原理,介绍了PC机与下位机之间的通信协议,并详述了在Visual C++环境下上位机利用MSComm通信控件与单片机之间进行RS232异步串行口通信的实现,给出了实现通信的硬件设计、串行口属性的初始化、与下位机进行通信的控制代码以及下位机的程序流程图。

关 键 词:单片机 MSConn控件 VC++
文章编号:1671-1819(2007)08-1786-04
收稿时间:2006-12-08
修稿时间:2006-12-08

Interface of Serial Port Communication between Computer and Microcontrollers
YU Yan,GU Huan. Interface of Serial Port Communication between Computer and Microcontrollers[J]. Science Technology and Engineering, 2007, 7(8): 1786-1789
Authors:YU Yan  GU Huan
Abstract: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.
Keywords:MCS-51 MCU MSConn controls VC++
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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