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

PC机与AT89C51单片机的串行通信接口设计
引用本文:郭宏亮.PC机与AT89C51单片机的串行通信接口设计[J].平原大学学报,2007,24(3):117-119.
作者姓名:郭宏亮
作者单位:平原大学,机电工程学院,河南,新乡,453003
摘    要:本文介绍了PC机与单片机采用RS-232C进行串行通信的接口方法。对于硬件接口电路中常用的一些方法进行了简要的比较,并介绍了电平转换芯片MAX232及其应用方法。在通信程序的设计中,PC机采用查询方式收发数据,单片机采用中断方式收发数据。本文给出了完整的PC机与单片机点对点双机通信程序。

关 键 词:串行通信  接口  编程
文章编号:1008-3944(2007)03-0117-03
修稿时间:2007-04-022007-04-27

Interface Design of PC Communicating with Single-chip Microcomputer AT89C51
GUO Hong-liang.Interface Design of PC Communicating with Single-chip Microcomputer AT89C51[J].Journal of Pingyuan University,2007,24(3):117-119.
Authors:GUO Hong-liang
Institution:College of Machinery and Electron, P ing yuan University, Xinxiang , Henan 450003, China
Abstract:This paper introduces an interfacing method of IBM-PC serially communicating with single-chip microcomputer with RS-232C.It gives comparison among some methods which are often adopted in the interfacing circuit,and introduces a chip MAX232 of level translation and its application method in detail.In the design of communication program,IBM-PC adopts inquiry way to receive and dispatch data,single-chip microcomputer adopts interruption way to receive and dispatch data.The paper presents the whole program of communicating with single-chip microcomputer from point to point.
Keywords:MAX232  RS-232
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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