This article introduces the design and application of a serial port expander system, using the ATMEL89C2051 single-chip microcomputer as the MCU and the dual-quad channel multiplexer 4052. The software design is divided into three modules: initialization, serial interrupt service program, and serial port selection. The serial port expander uses the information sent by the listening terminal to connect to devices with different baud rates. It is small and flexible, simple in structure, short in program, fast in speed, and low in cost, and is widely used in banks. In bank transaction operations, the terminals used by tellers need to communicate with the bank database, magnetic card reader, password keypad, printer, etc. respectively, and data communication often uses serial ports. There are many devices to be connected to the terminal, and the serial ports are often not enough. With a serial port expander, this problem can be solved well, as shown in Figure 1. This article introduces the design ideas, hardware structure, and some program modules of a serial expander with ATMEL89C2051 as the MCU.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore