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

利用MSComm控件与单片机通讯实现I/O控制
引用本文:付强文,张英敏,董强强. 利用MSComm控件与单片机通讯实现I/O控制[J]. 机械与电子, 2004, 0(3): 63-65
作者姓名:付强文  张英敏  董强强
作者单位:西北工业大学,陕西,西安,710072
摘    要:PC机与外设的I/O通讯通常用并行I/O卡实现,成本较高。而通过RS232串行口与2051单片机通讯实现I/O控制,能使成本显著降低,且容易扩展。PC机端程序在VC 6.0下用MSComm控件实现,单片机端程序在Keil51下用C语言编写,数据传输以16进制进行。

关 键 词:串行通讯 I/O VC++6.0 MSComm 单片机
文章编号:1001-2257(2004)03-0063-03
修稿时间:2003-10-30

Using Communication with MCU by MSComm to Control I/O
FU Qiang wen,ZHANG Ying ming,DONG Qiang qiang. Using Communication with MCU by MSComm to Control I/O[J]. Machinery & Electronics, 2004, 0(3): 63-65
Authors:FU Qiang wen  ZHANG Ying ming  DONG Qiang qiang
Abstract:The parallel I/O card, which costs more,is normally used to communicate between PC and peripheral equipments.To reduce cost,I/O control is realized by RS232 serial communication between PC and MCU 2051 in this paper.The program on PC is completed by MSComm in VC++6.0,and the MCU's is written by C language in Keil51.The data is transferred in the hexadecimal format.
Keywords:serial communication  I/O  VC++6.0  MSComm  MCU  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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