Interface and Programming of Single-chip Microcomputer AT89C51 Communicating with IBM-PC

This paper introduces an interfacing method of IBM-PC serially communicating with single-chip microcomputer with RS-232C.It gives comparison among some methodes 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,"feedback-confirm"is used as a check method in data transmission,namely data are always fed back and confirmed by sending-side whenever it is transmitted,which is equivalent to signal shaking hand every time.Therefore,the reliability of data transmission is greatly improved. The paper presents the whole program of IBM-PC communicating with single-chip microcomputer from point to point.