Please draw the schematic diagram of computer serial communication, the design and implementation of one-to-one serial communication system of single chip microcomputer.doc...

Design and Realization of One-to-One Serial Communication System of Single-chip Microcomputer

Summary

With the development of electronic technology and the application of microprocessor technology, the application of single-chip microcomputer systems has become more and more extensive. Data transmission between multiple single-chip computer systems has been used in industry, scientific research, agriculture and other fields. The most commonly used communication method is serial communication. Serial communication can use one wire to send data and use another wire to receive data, which is simple to use and can realize long-distance communication. This paper introduces a design method of serial communication between single-chip microcomputers. Data is input through the button, and the single-chip computer sends the data to another single-chip microcomputer through the serial port. The data sent at the same time can be displayed on the digital tubes controlled by two single-chip computers to detect the serial port. accuracy of communication.

This design is to use the AT89S52 microcontroller to complete a system and realize the one-to-one serial communication of the microcontroller. The result of communication is displayed by digital tube, which is displayed by look-up table. RS232 is used for dual-computer communication between the two microcontrollers. Communication is performed using a communication protocol during the communication process.

Keywords: AT89S52 microcontroller; serial communication; interface

A design and implementation of a single-chip serial communication system

Abstract

With the development of electronic technology and the application of microprocessor technology, with a single chip microcomputer system the application of more and more widely, multiple data transmission between the single-chip microcomputer system has been used in industry, scientific research, agriculture and other areas, and data communication between single-chip microcomputer is the most commonly used serial interface communication mode, the serial communication can be used in a line to send data at the same time using another thread receives data, simple to use and can realize remote communication. In this paper, a design method of serial communication between single-chip microcomputer, through the pressed key input data, microcontroller through serial ports send data to another single chip, at the same time, data can be sent in two single chip microcomputer control of digital tube display, to test the accuracy of the serial communication.

This design is to use AT89S52 single chip microcomputer to complete a system, realize the single chip microcomputer serial communication. The result of the communication using digital tube display, digital display tube adopts the look-up table method. Between the two MCU using RS232 communication of two. Using the communication protocol for communication in the communication process.

KEYWORDS: AT89S52MCU;Serial-Communication; nozzle

1. Introduction 1

1.1 Background of topic selection 1

1.2 Overview of Technology Development 1

2. Principle of one-to-one serial communication of single-chip microcomputer 3

2.1 Basic knowledge of serial communication 3

2.1.1 Basic Concepts of Serial Communication 3

2.1.2 Simplex Form 3

2.1.3 Half-duplex form 3

2.1.4 Full Double

Related Posts