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

基于Visual Basic6.0下PC机与MCS-51单片机的串行通信
引用本文:袁月峰,张树森,姚继权. 基于Visual Basic6.0下PC机与MCS-51单片机的串行通信[J]. 煤矿机械, 2003, 0(2): 37-38
作者姓名:袁月峰  张树森  姚继权
作者单位:辽宁工程技术大学,机械工程学院,辽宁,阜新,123000
摘    要:由PC机控制单片机组成的分级式测控系统有着广泛的应用。以往的PC机通信程序多数是通过汇编语言或BIOS功能调用的MS -DOS下的串行通信程序。这类程序编写较为困难且不易向Windows环境移植。在VisualBasic6 0编程环境下 ,利用Win32应用程序接口 (Win32API)中的通信API开发了PC机串行通信程序 ,以MCS - 5 1单片机控制板为实例给出了PC机与单片机通信的具体程序实例。

关 键 词:Visual Basic6.0  Win32API  串行通信  MCS-51单片机
文章编号:1003-0794(2003)02-0037-02
修稿时间:2002-10-22

Serial communication between PC and MCS-51 micro controller based on visual basic 6.0 development environment
YUAN Yue-feng,ZHANG Shu-sen,YAO Ji-quan. Serial communication between PC and MCS-51 micro controller based on visual basic 6.0 development environment[J]. Coal Mine Machinery, 2003, 0(2): 37-38
Authors:YUAN Yue-feng  ZHANG Shu-sen  YAO Ji-quan
Abstract:Controlled by PC,the hierarchical micro controller system is widely used.Conventional PC communication programs are usually based on MS-DOS,which apply micro assembler or BIOS communication functions.However,it is relatively difficult to write such a program and also not easy to repot it into windows environment.Applying Win32 communication API(Application Programming Interface)under Visual Basic 6.0 development environment,this paper presents a concrete program of serial communication between PC and MCS-51 controller board.
Keywords:visual basic 6.0  win32 API  serial communication  MCS-51 controller  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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