详细信息
PC机与AT89C51单片机的串行通信接口设计
Interface Design of PC Communicating with Single-chip Microcomputer AT89C51
文献类型:期刊文献
中文题名:PC机与AT89C51单片机的串行通信接口设计
英文题名:Interface Design of PC Communicating with Single-chip Microcomputer AT89C51
作者:郭宏亮[1]
第一作者:郭宏亮
机构:[1]平原大学机电工程学院,河南新乡453003
第一机构:新乡学院机电工程学院
年份:2007
卷号:24
期号:3
起止页码:117-119
中文期刊名:平原大学学报
外文期刊名:Journal of Pingyuan University
语种:中文
中文关键词:串行通信;接口;MAX232;RS-232;编程
外文关键词:serial communication; interface ; MAX232 ; RS-232C ; programming
摘要:本文介绍了PC机与单片机采用RS-232C进行串行通信的接口方法。对于硬件接口电路中常用的一些方法进行了简要的比较,并介绍了电平转换芯片MAX232及其应用方法。在通信程序的设计中,PC机采用查询方式收发数据,单片机采用中断方式收发数据。本文给出了完整的PC机与单片机点对点双机通信程序。
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.
参考文献:
正在载入数据...