The 51 microcontroller has a full-duplex serial communication port, so serial communication can be easily performed between the microcontroller and the computer. Certain conditions must be met when performing serial communication. For example, the serial port of the computer is RS232 level, while the serial port of the microcontroller is TTL level. There must be a level conversion circuit between the two. We use a dedicated chip MAX232 for conversion. Although several transistors can also be used for analog conversion, it is still simpler and more reliable to use a dedicated chip. We use a three-wire connection serial port, that is, only three of the wires are connected to the 9-pin serial port of the computer: GND on the 5th pin, RXD on the 2nd pin, and TXD on the 3rd pin. This is the simplest connection method, but it is enough for us. The circuit is shown in the figure below. The 10th pin of MAX232 is connected to the 11th pin of the microcontroller, the 9th pin is connected to the 10th pin of the microcontroller, and the 15th pin is connected to the 20th pin of the microcontroller. The hardware circuit of serial communication is shown in the figure below.
Keywords:C51
Reference address:Hardware circuit diagram of serial communication of C51 single chip microcomputer
Previous article:Design of Digital Video Monitoring System Using 89C51 Single Chip Microcomputer
Next article:MCU C8051FC40/FM20L08 expansion circuit diagram
- Popular Resources
- Popular amplifiers
Recommended Content
Latest Microcontroller Articles
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
MoreDaily News
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
Guess you like
- Security Technology System of Wireless WLAN
- Looking for some Bluetooth related documentation
- BAW filters help 5G
- When measuring capacitance with a capacitance meter, a negative sign is displayed before the measurement result. I swapped the needles and it still displays a negative sign. Why?
- [Environmental Expert's Smart Watch] Part 3: Project Detailed Design
- It is found that the OPAMP of STM32G474 cannot be internally connected to ADC4
- TI low-power through-glass touch reference design
- In-depth understanding of C language function parameters as pointers
- How to detect if there is water in the pipe?
- Live broadcast at 10 am today [Introduction to TI Jacinto7 Industrial Application Processor] (Entry at 9:30, 200 gifts waiting for you)