IO control board for RS232 serial communication
By designing an RS232 serial communication IO control board, which directly connects the main control chip and serial port chip to the PC, the problems of large size, complex installation, and high cost of existing IO control cards are solved, and a simple, small-sized, and low-cost IO control effect is achieved in small devices.
Patent Information
- Application Number
- CN202422730888.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2034-11-11
AI Technical Summary
Existing I/O control cards and Ethernet I/O modules need to be connected to the PC motherboard or communicate via Ethernet through the PCI or PCI-E bus, resulting in large size, complex installation and high cost, which limits their application in small devices or embedded systems.
Design an RS232 serial communication IO control board. It uses a main control chip and a serial port chip to connect directly to a PC through an RS232 interface. It integrates IO input acquisition and output control unit to realize signal reading and writing, simplifying the structure and installation process.
It realizes simple, small-sized, and low-cost IO control in small devices, meeting the usage requirements of small devices.
Smart Images

Figure CN223513533U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of IO control technology and relates to an IO control board for RS232 serial communication. Background Technology
[0002] RS232 is a common serial communication standard widely used for low-speed data transmission between devices and computers. It is characterized by low cost, ease of use, and good anti-interference capabilities. Therefore, in industrial control and automation applications, RS232 serial ports are often used to connect peripheral devices such as sensors, actuators, and controllers to communicate with computer systems.
[0003] In the current market, many manufacturers produce I / O control cards (such as PCI or PCI-E cards) and Ethernet I / O modules, which are usually connected to the PC motherboard via the PCI or PCI-E bus, or communicate with the PC via Ethernet to read or write signals. However, I / O control cards or Ethernet I / O modules usually require a large size and installation space, occupy the internal expansion slots of the PC, have a relatively complex installation process, and have high production costs, which limits their application in small devices or embedded systems.
[0004] Therefore, it is necessary to design an RS232 serial communication I / O control board to provide a low-cost, compact, and simple solution. Utility Model Content
[0005] This utility model provides an RS232 serial communication IO control board, which aims to solve the problem that existing communication read or write signals can only be realized by connecting to the PC motherboard via PCI or PCI-E bus, or via Ethernet to the PC, resulting in a large size and installation space, a complicated installation process, and high production costs.
[0006] To achieve the above objectives, this utility model provides an RS232 serial communication IO control board, including a base plate. The base plate is provided with a main control chip, a power adapter, an IO input acquisition unit, an IO output control unit, and an RS232 serial port unit. The main control chip is electrically connected to the power adapter, the IO input acquisition unit, the IO output control unit, and the RS232 serial port unit. The RS232 serial port unit includes a serial port chip and an RS232 interface. The two ends of the serial port chip are electrically connected to the main control chip and the RS232 interface, respectively.
[0007] Preferably, the IO input acquisition unit includes a J1 input terminal, a first resistor, and a diode. The main control chip is electrically connected to the diode, the other end of the diode is electrically connected to the first resistor, and the other end of the first resistor is electrically connected to the J1 input terminal.
[0008] Preferably, the IO output control unit includes a second resistor, a transistor, a relay, an output terminal, and an indicator light. The main control chip is electrically connected to the second resistor, the base of the transistor is electrically connected to the second resistor, the collector of the transistor is grounded, the emitter of the transistor is electrically connected to the relay and the indicator light respectively, and the other end of the relay is electrically connected to the output terminal.
[0009] Preferably, the output terminals include J2, J3, J4, J5, J6, J7, J8, and J9.
[0010] Preferably, the power adapter is adapted to a voltage of 5V.
[0011] Preferably, the main control chip is a 15W204S main control chip.
[0012] Preferably, the serial port chip is a MAX232 serial port chip.
[0013] The advantages of this utility model over the prior art are:
[0014] This utility model provides an RS232 serial communication IO control board. The main control chip acquires high and low level signals from the IO input acquisition unit and converts them into 0 or 1 values, which are then output through the IO output control unit to realize communication reading or writing signals, as well as IO on / off control with peripheral devices. The entire IO control board has the advantages of simple structure, small size and low cost, meeting the needs of small devices.
[0015] To more clearly illustrate the structural features and effects of this utility model, the following detailed description of this utility model is provided in conjunction with the accompanying drawings and specific embodiments. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of this utility model.
[0017] Figure 2 This is a circuit diagram of the present invention;
[0018] Figure 3 for Figure 2 Enlarged schematic diagram of the main control chip, IO input acquisition unit, and RS232 serial port unit;
[0019] Figure 4 for Figure 2 Enlarged schematic diagram of the main control chip, J2 output terminal, J3 output terminal, J4 output terminal, J5 output terminal, and J6 output terminal;
[0020] Figure 5 for Figure 2Enlarged schematic diagram of J7, J8 and J9 output terminals;
[0021] Figure label:
[0022] 1. Baseboard; 2. Main control chip; 3. Power adapter; 4. IO input acquisition unit; 5. IO output control unit; 6. RS232 serial port unit; 7. Serial port chip; 8. RS232 interface. Detailed Implementation
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0024] To achieve the above objectives, this utility model provides an RS232 serial communication IO control board, see reference. Figure 1-5 As shown, the system includes a substrate 1, on which a main control chip 2, a power adapter 3, an IO input acquisition unit 4, an IO output control unit 5, and an RS232 serial port unit 6 are provided. The main control chip 2 is electrically connected to the power adapter, the IO input acquisition unit 4, the IO output control unit 5, and the RS232 serial port unit 6. The RS232 serial port unit 6 includes a serial port chip 7 and an RS232 interface 8. The two ends of the serial port chip 7 are electrically connected to the main control chip 2 and the RS232 interface 8, respectively.
[0025] This embodiment differs from the traditional combination of connecting to the PC motherboard via PCI or PCI-E bus, or communicating with the PC via Ethernet. It uses a main control chip 2 and a serial port chip 7, and connects directly to the PC via an RS232 interface 8 to read or write signals. This eliminates the need for excessive design of card slots, bus connections, Ethernet connections, etc., integrating application functional requirements and a simple and efficient usage method. Specifically, the main control chip 2 acquires high and low level signals through the IO input acquisition unit 4, and then converts them into 0 or 1 values for corresponding output through the IO output control unit 5, realizing communication read or write signals, as well as IO on / off control of peripheral devices. The entire IO control board has the advantages of simple structure, small size, and low cost.
[0026] Furthermore, the IO input acquisition unit 4 includes an input terminal J1, a first resistor, and a diode. The main control chip 2 is electrically connected to the diode, the other end of the diode is electrically connected to the first resistor, and the other end of the first resistor is electrically connected to the input terminal J1.
[0027] For example, pin 27 of the main control chip 2 is connected to diode D5, one end of the first resistor R6 is connected to the other end of diode D5, and the other end of the first resistor R6 is connected to pin 7 of the J1 input terminal. In this way, when the J1 input terminal receives a high-level signal, it passes through the first resistor R6 and diode D5 to pin 27 of the main control chip 2. At this time, the main control chip 2 obtains the high-level signal and converts it into the value 1. Conversely, when the J1 input terminal receives a low-level signal, the main control chip 2 obtains the low-level signal and converts it into the value 0.
[0028] Furthermore, the IO output control unit 5 includes a second resistor, a transistor, a relay, an output terminal, and an indicator light. The main control chip 2 is electrically connected to the second resistor. The base of the transistor is electrically connected to the second resistor. The collector of the transistor is grounded. The emitter of the transistor is electrically connected to the relay and the indicator light, respectively. The other end of the relay is electrically connected to the output terminal. The output terminal includes J2, J3, J4, J5, J6, J7, J8, and J9.
[0029] Specifically, at the J2 output terminal: pin 3 of the main control chip 2 is connected to resistor R10, resistor R10 is connected to the base of transistor Q1, the emitter of transistor Q1 is connected to relay K1 and indicator light D10 respectively, and the other end of relay K1 is connected to the J2 output terminal. When the main control chip 2 receives a low-level signal, transistor Q1 is turned on, relay K1 is closed and turned on, and the J2 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0030] At the J3 output terminal: Pin 4 of the main control chip 2 is connected to resistor R12, resistor R12 is connected to the base of transistor Q2, the emitter of transistor Q2 is connected to relay K2 and indicator light D12 respectively, and the other end of relay K2 is connected to the J3 output terminal. When the main control chip 2 receives a low level signal, transistor Q2 is turned on, relay K2 is closed and turned on, and the J3 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0031] At the J4 output terminal: Pin 5 of the main control chip 2 is connected to resistor R14, resistor R14 is connected to the base of transistor Q3, the emitter of transistor Q3 is connected to relay K3 and indicator light D14 respectively, and the other end of relay K3 is connected to the J4 output terminal. When the main control chip 2 receives a low level signal, transistor Q3 is turned on, relay K3 is closed and turned on, and the J4 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0032] At the J5 output terminal: pin 6 of the main control chip 2 is connected to resistor R16, resistor R16 is connected to the base of transistor Q4, the emitter of transistor Q4 is connected to relay K4 and indicator light D16 respectively, and the other end of relay K4 is connected to the J5 output terminal. When the main control chip 2 receives a low level signal, transistor Q4 is turned on, relay K4 is closed and turned on, and the J5 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0033] At the J6 output terminal: Pin 7 of the main control chip 2 is connected to resistor R18, resistor R18 is connected to the base of transistor Q5, the emitter of transistor Q5 is connected to relay K5 and indicator light D18 respectively, and the other end of relay K5 is connected to the J6 output terminal. When the main control chip 2 receives a low level signal, transistor Q5 is turned on, relay K5 is closed and turned on, and the J6 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0034] At the J7 output terminal: Pin 8 of the main control chip 2 is connected to resistor R20, resistor R20 is connected to the base of transistor Q6, the emitter of transistor Q6 is connected to relay K6 and indicator light D20 respectively, and the other end of relay K6 is connected to the J7 output terminal. When the main control chip 2 receives a low level signal, transistor Q6 is turned on, relay K6 is closed and turned on, and the J7 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0035] At the J8 output terminal: pin 9 of the main control chip 2 is connected to resistor R22, resistor R22 is connected to the base of transistor Q7, the emitter of transistor Q7 is connected to relay K7 and indicator light D22 respectively, and the other end of relay K1 is connected to the J8 output terminal. When the main control chip 2 receives a low level signal, transistor Q7 is turned on, relay K7 is closed and turned on, and the J8 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0036] At the J9 output terminal: Pin 10 of the main control chip 2 is connected to resistor R24, resistor R24 is connected to the base of transistor Q8, the emitter of transistor Q8 is connected to relay K8 and indicator light D24 respectively, and the other end of relay K8 is connected to the J9 output terminal. When the main control chip 2 receives a low level signal, transistor Q8 is turned on, relay K8 is closed and turned on, and the J9 output terminal outputs a control mode with a value of 0; otherwise, it outputs a control mode with a value of 1.
[0037] Furthermore, the power adapter 3 has an adapter voltage of 5V, the main control chip 2 is a 15W204S main control chip 2, and the serial port chip 7 is a MAX232 serial port chip 7.
[0038] In summary, this utility model provides an RS232 serial communication IO control board. A PC (computer terminal or software control terminal) is connected via an RS232 interface. High and low level signals are input to the IO input acquisition unit 4 for communication reading or writing signals. The main control chip 2 receives a high-level signal from the IO input acquisition unit 4 and outputs a value of 1 through the IO output control unit 5. Conversely, the main control chip 2 receives a low-level signal from the IO input acquisition unit 4 and outputs a value of 0 through the IO output control unit 5. This enables IO on / off control with peripheral devices. The entire IO control board has the advantages of simple structure, small size, and low cost, meeting the needs of small devices.
[0039] The technical principles of this utility model have been described above with reference to specific embodiments, which are merely preferred embodiments of this utility model. The protection scope of this utility model is not limited to the above embodiments; all technical solutions falling within the scope of this utility model's concept are protected. Other specific embodiments of this utility model that can be conceived by those skilled in the art without creative effort will also fall within the protection scope of this utility model.
Claims
1. An RS232 serial communication I / O control board, comprising a base plate, characterized in that, The substrate is provided with a main control chip, a power adapter, an IO input acquisition unit, an IO output control unit, and an RS232 serial port unit. The main control chip is electrically connected to the power adapter, the IO input acquisition unit, the IO output control unit, and the RS232 serial port unit. The RS232 serial port unit includes a serial port chip and an RS232 interface. The two ends of the serial port chip are electrically connected to the main control chip and the RS232 interface, respectively.
2. The RS232 serial communication IO control board according to claim 1, characterized in that, The IO input acquisition unit includes a J1 input terminal, a first resistor, and a diode. The main control chip is electrically connected to the diode, the other end of the diode is electrically connected to the first resistor, and the other end of the first resistor is electrically connected to the J1 input terminal.
3. The RS232 serial communication IO control board according to claim 1, characterized in that, The IO output control unit includes a second resistor, a transistor, a relay, an output terminal, and an indicator light. The main control chip is electrically connected to the second resistor, the base of the transistor is electrically connected to the second resistor, the collector of the transistor is grounded, the emitter of the transistor is electrically connected to the relay and the indicator light respectively, and the other end of the relay is electrically connected to the output terminal.
4. The RS232 serial communication IO control board according to claim 3, characterized in that, The output terminals include J2, J3, J4, J5, J6, J7, J8, and J9.
5. The RS232 serial communication IO control board according to claim 1, characterized in that, The power adapter is designed for a voltage of 5V.
6. The RS232 serial communication IO control board according to claim 1, characterized in that, The main control chip is a 15W204S main control chip.
7. The RS232 serial communication IO control board according to claim 1, characterized in that, The serial port chip is a MAX232 serial port chip.