Conversion device for 485 communication

By designing a conversion device for 485 communication, the communication efficiency reduction caused by the increase in 485 communication channels is solved, and efficient data transmission and communication quality are achieved.

CN222621037UActive Publication Date: 2025-03-14GUANGZHOU SAIKE AUTOMATION CONTROL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420901480.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2025-03-14
Estimated Expiration
2034-04-28

AI Technical Summary

Technical Problem

As the data transmission volume increases, the number of 485 communication channels increases, resulting in a decrease in communication efficiency and affecting communication quality.

Method used

A conversion device for 485 communication is designed, including a main control circuit, a power supply circuit, a dial switch circuit, a mode selection circuit, A1B1, A2B2, A3B3 communication circuit and a status display circuit, through which data reception, output path selection, voltage conversion, address setting, mode selection and communication functions are realized.

Benefits of technology

Through this conversion device, the data received by the main control chip is transmitted through the designated communication channel, which improves communication efficiency and ensures communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222621037U_ABST
    Figure CN222621037U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of 485 communication, and discloses a conversion device for 485 communication, which comprises a main control chip, a power supply, a 6-bit dial switch circuit, a mode selection circuit, an A1B1 communication circuit, an A2B2 communication circuit, an A3B3 communication circuit and a state display circuit. The power supply, the 6-bit dial switch, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the state display circuit are all connected with the main control chip. According to the 485 communication conversion device, the function of transmitting the data received by the main control chip through the specified communication channel is realized, the communication efficiency is improved, and the communication quality is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of 485 communication, and in particular to a conversion device for 485 communication. Background Art

[0002] 485 communication technology is widely used in various communication environments due to its strong anti-interference ability, long transmission distance, support for multi-point communication, high transmission rate, stable system operation and good flexibility. However, with the increasing amount of data transmission, the number of communication channels between devices is also increasing, which reduces the efficiency of communication and affects the quality of communication. Utility Model Content

[0003] The purpose of this application is to provide a conversion device for 485 communication to solve the technical problems raised in the above background technology.

[0004] To achieve the above objectives, this application discloses the following technical solutions:

[0005] A conversion device for 485 communication, comprising:

[0006] A main control circuit for receiving data and selecting an output path;

[0007] A power supply circuit for converting the voltage into +5V or +3.3V and supplying power;

[0008] DIP switch circuit for setting output address;

[0009] a mode selection circuit for selecting download or run mode;

[0010] A1B1 communication circuit for communicating with the connected 485 communication circuit via the serial port A1B1;

[0011] A2B2 communication circuit for communicating with a connected 485 communication circuit via serial port A2B2;

[0012] A3B3 communication circuit for communicating with a connected 485 communication circuit via serial port A3B3;

[0013] A status display circuit for displaying the working status of the conversion device for 485 communication;

[0014] The power supply circuit, the dip switch circuit, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the status display circuit are all connected to the main control circuit;

[0015] The mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the main control circuit are all connected to the power supply circuit;

[0016] The A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the DIP switch circuit are all connected to the mode selection circuit.

[0017] Preferably, the main control circuit includes a mainboard U1 and a reset circuit;

[0018] Pin 1 of the mainboard U1 is connected to the power supply circuit, pin 5 of the mainboard U1 is connected to pin 1 of the crystal oscillator X1, pin 6 of the mainboard U1 is connected to pin 2 of the crystal oscillator X1, pin 1 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C1, pin 2 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C2, pin 2 of the capacitor C1 is connected to pin 2 of the capacitor C2 and then grounded; pin 7 of the mainboard U1 is connected to the reset circuit, the reset circuit includes a resistor RR1 and a capacitor RC1, pin 1 of the resistor RR1 is connected to the power supply circuit, pin 7 of the mainboard U1 and pin 1 of the capacitor RC1 are both connected to the resistor R Pin 2 of the motherboard U1 is connected to pin R1, and pin 2 of the capacitor RC1 is grounded; pin 8 of the motherboard U1 is grounded, pin 9 of the motherboard U1 is connected to the power supply circuit, pin 12 of the motherboard U1 is connected to the voltage regulator RP4, pin 13 of the motherboard U1 is connected to the motherboard U6, pin 14 of the motherboard U1 is connected to PA4, pin 15 of the motherboard U1 is connected to pin 1 of the resistor RP4, pin 16 of the motherboard U1 is connected to pin 1 of the resistor RP2, pin 19 of the motherboard U1 is connected to the motherboard U8, pin 20 of the motherboard U1 is connected to pin 6 of the switch DIP1, pin 21 of the motherboard U1 is connected to the motherboard U8, and the Pin 22 of the mainboard U1 is connected to the mainboard U8, pin 23 of the mainboard U1 is grounded, pin 24 of the mainboard U1 is connected to the power supply circuit, pin 25 of the mainboard U1 is connected to the dip switch circuit, pin 26 of the mainboard U1 is connected to the dip switch circuit, pin 27 of the mainboard U1 is connected to the dip switch circuit, pin 28 of the mainboard U1 is connected to the dip switch circuit, pin 29 of the mainboard U1 is connected to the mainboard U2, pin 30 of the mainboard U1 is connected to pin 3 of the plug-in P1 and then connected to switch DIP1, pin 31 of the mainboard U1 is connected to pin 4 of the plug-in P1 and then connected to switch DIP1 is connected, pin 2 of the plug-in P1 is grounded, pin 1 of the plug-in P1 is connected to the power supply circuit, pin 32 of the mainboard U1 is connected to the DIP switch circuit, pin 33 of the mainboard U1 is connected to the DIP switch circuit, pin 34 of the mainboard U1 is connected to pin 1 of resistor RP5, pin 35 of the mainboard U1 is grounded, pin 36 of the mainboard U1 is connected to the power supply circuit, pin 37 of the mainboard U1 is connected to pin 1 of resistor RP3, pin 44 of the mainboard U1 is connected to switch DIP1, pin 47 of the mainboard U1 is grounded, and pin 48 of the mainboard U1 is connected to the power supply circuit.

[0019] Preferably, the power supply circuit includes a converter and a voltage regulator U5;

[0020] The cathode of the diode D1, the anode of the polar capacitor and the pin 1 of the capacitor PC2 are all connected to the pin 1 of the converter, the cathode of the polar capacitor is connected to the pin 2 of the capacitor PC2 and then grounded, the anode of the diode D1 is connected to the pin 1 of the pin JP2, the pin 2 of the pin JP2 is connected to the cathode of the diode D3, and the anode of the diode D3 is grounded; the pin 1 of the inductor L1 and the cathode of the diode D2 are all connected to the pin 2 of the converter, the anode of the diode D2 is grounded, the pin 2 of the inductor L1, the pin 1 of the capacitor PC1 and the anode of the polar capacitor PC3 are all connected to the pin 3 of the converter, and after being connected, a +5V voltage is output; the pin 2 of the capacitor PC1 and the cathode of the polar capacitor PC3 are connected to the ground; the pin 4 of the converter is grounded, and the pins 5-8 of the converter are connected and then grounded;

[0021] The input end of the voltage regulator U5 is connected to +5V; pin 1 of capacitor PC5 and the positive electrode of polar capacitor PC6 are both connected to the output end of the voltage regulator U5, and after being connected, they output +3.3V; pin 2 of capacitor PC5, the negative electrode of polar capacitor PC6 and the ground end of the voltage regulator U5 are connected and then grounded.

[0022] Preferably, the dip switch circuit comprises a 6-bit dip switch DIP2:

[0023] Pins 1-6 of the 6-bit dip switch DIP2 are connected and then grounded, pin 7 of the 6-bit dip switch DIP2 is connected to pin 33 of the main board U1, pin 8 of the 6-bit dip switch DIP2 is connected to pin 32 of the main board U1, pin 9 of the 6-bit dip switch DIP2 is connected to pin 28 of the main board, pin 10 of the 6-bit dip switch DIP2 is connected to pin 27 of the main board U1, pin 11 of the 6-bit dip switch DIP2 is connected to pin 26 of the main board U1, and pin 12 of the 6-bit dip switch DIP2 is connected to pin 25 of the main board U1.

[0024] Preferably, the mode selection circuit includes a plug-in RP2, a plug-in RP3, a plug-in RP9 and a switch DIP1:

[0025] Pins 5-8 of the plug-in RP2 and pins 5-8 of the plug-in RP3 are connected to the power supply circuit, pin 9 of the 6-bit DIP switch DIP2 and pin 28 of the mainboard U1 are connected to pin 1 of the plug-in RP2, pin 10 of the 6-bit DIP switch DIP2 and pin 27 of the mainboard U1 are connected to pin 2 of the plug-in RP2, pin 11 of the 6-bit DIP switch DIP2 and pin 26 of the mainboard U1 are connected to pin 3 of the plug-in RP2, and pin 12 of the 6-bit DIP switch DIP2 and pin 25 of the mainboard U1 are connected to pin 4 of the plug-in RP2;

[0026] Pin 7 of the 6-bit DIP switch DIP2 and pin 33 of the mainboard U1 are both connected to pin 1 of the plug-in RP3, and pin 8 of the 6-bit DIP switch DIP2 and pin 32 of the mainboard U1 are both connected to pin 2 of the plug-in RP3;

[0027] Pin 1 of the switch DIP1 is connected to the voltage regulator RP1, pin 2 of the switch DIP1 is connected to the voltage regulator RP1, pin 3 of the switch DIP1 is connected to pin 4 of the switch DIP1 and then grounded, pin 5 of the switch DIP1 is connected to pin 44 of the mainboard U1, pin 6 of the switch DIP1 is connected to pin 20 of the mainboard U1, pin 30 of the mainboard U1 and pin 3 of the plug-in P1 are both connected to pin 7 of the switch DIP1, and pin 31 of the mainboard U1 and pin 4 of the plug-in P1 are both connected to pin 8 of the switch DIP1;

[0028] Pins 5-8 of the plug-in RP9 are connected to the power supply circuit, pin 5 of the switch DIP1 and pin 44 of the mainboard U1 are connected to pin 1 of the plug-in RP9, and pin 6 of the switch DIP1 and pin 20 of the mainboard U1 are connected to pin 4 of the plug-in RP9.

[0029] Preferably, the A1B1 communication circuit includes a mainboard U2 and a power chip U4:

[0030] The VDD1 end of the motherboard U2 is connected to the power supply circuit, the 2nd pin of the motherboard U2 is grounded, the 7th pin of the voltage regulator RP1 and the 1st pin of the switch DIP1 are both connected to the 3rd pin of the motherboard U2, the 4th pin of the motherboard U2 is connected to the 5th pin of the motherboard U2 and then connected to the voltage regulator RP1, and then connected to the 29th pin of the motherboard U1, the 6th pin of the motherboard U2 and the 2nd pin of the switch DIP1 are both connected to the voltage regulator RP1, the 7th pin of the motherboard U2 and the 8th pin of the motherboard U2 are both grounded, the GND2 end of the motherboard U2, the NC end of the motherboard U2 and the GND2 end of the motherboard U2 are all connected to the GND1 end of the motherboard U2, and the VDD2 end of the motherboard U2 is connected to the VDD1 end of the motherboard U2 , pin 1 of the resistor UR1 and pin 1 of the resistor UR2 are both connected to the A end of the mainboard U2, pin 2 of the resistor UR1 is connected to VDD1, pin 2 of the resistor UR2 and the positive electrode of the voltage regulator diode DW1 are both connected to pin 2 of the pin JP1, pin 1 of the resistor UR3 and pin 1 of the resistor UR4 are both connected to the B end of the mainboard U2, pin 2 of the resistor UR4 is connected to GND1, pin 2 of the resistor UR3 and pin 1 of the pin JP1 are both connected to the positive electrode of the voltage regulator diode DW2, the negative electrode of the voltage regulator diode DW1 is connected to the negative electrode of the voltage regulator diode DW2 and then connected to GND1, pin 1 of the voltage regulator RP1 is grounded, and pin 3 of the voltage regulator RP1 is connected to pin 4 of the voltage regulator RP1 and then connected to the power supply circuit;

[0031] Pin 1 of the power chip U4 is grounded, pin 2 of the power chip U4 is connected to the power supply circuit, pin 3 of the power chip U4 is connected to GND1, and pin 4 of the power chip U4 is connected to VDD1; pin 1 of capacitor UC1 is connected to VDD1, and pin 2 of the capacitor UC1 is connected to GND1; pin 1 of the capacitor UC2 is connected to +3.3V, and pin 2 of the capacitor UC2 is grounded.

[0032] Preferably, the A2B2 communication circuit includes a mainboard U6 and a power chip U7:

[0033] The VDD1 end of the motherboard U6 is connected to the power supply circuit, the 2nd pin of the motherboard U6 is grounded, the 7th pin of the voltage regulator RP4 and the 13th pin of the motherboard U1 are both connected to the motherboard U6, the 4th pin of the motherboard U6 and the 5th pin of the motherboard U6 are connected to the voltage regulator RP4, and after being connected, they are connected to the 11th pin of the motherboard U1, the 6th pin of the motherboard U6 and the 12th pin of the motherboard U1 are both connected to the voltage regulator RP4, the 7th pin of the motherboard U6 and the 8th pin of the motherboard U6 are both grounded, the GND2 end of the motherboard U6 and the NC end of the motherboard U6 are both connected to GND2, the VDD2 end of the motherboard U6 is connected to VDD2, the 1st pin of the resistor UR5 and the 1st pin of the resistor UR5 The pins of the resistor UR5 are connected to the A end of the motherboard U6, the pin 2 of the resistor UR5 is connected to VDD2, the pin 2 of the resistor UR6 and the positive electrode of the voltage regulator diode DW3 are connected to the pin 2 of the pin JP3, the pin 1 of the resistor UR7 and the pin 1 of the resistor UR8 are connected to the B end of the motherboard U6, the pin 2 of the resistor UR8 is connected to GND2, the pin 2 of the resistor UR7 and the pin 1 of the pin JP3 are connected to the positive electrode of the voltage regulator diode DW4, the cathode of the voltage regulator diode DW3 is connected to the cathode of the voltage regulator diode DW4 and then connected to GND2, the pin 1 of the voltage regulator RP4 is grounded, the pin 3 of the voltage regulator RP4 is connected to the pin 4 of the voltage regulator RP4 and then connected to the power supply circuit;

[0034] Pin 1 of the power chip U7 is grounded, pin 2 of the power chip U7 is connected to the power supply circuit, pin 3 of the power chip U7 is connected to GND2, and pin 4 of the power chip U7 is connected to VDD2; pin 1 of capacitor UC3 is connected to VDD2, and pin 2 of the capacitor UC3 is connected to GND2; pin 1 of the capacitor UC4 is connected to +3.3V, and pin 2 of the capacitor UC4 is grounded.

[0035] Preferably, the A3B3 communication circuit includes a plug-in RP5, a mainboard U8 and a power chip U9:

[0036] Pin 1 of the motherboard U8 is connected to the power supply circuit, pin 2 of the motherboard U8 is grounded, pin 3 of the motherboard U8 is connected to pin 22 of the motherboard U1, pin 4 of the motherboard U8 is connected to pin 5 of the motherboard U8 and then to pin 19 of the motherboard U1, pin 6 of the motherboard U8 is connected to pin 21 of the motherboard U1, pin 7 of the motherboard U8 is grounded, pin 8 of the motherboard U8 is grounded, GND2 of the motherboard U8 and NC of the motherboard U8 are connected to GND3, VDD2 of the motherboard U8 is connected to VDD3, pin 1 of resistor UR9 and resistor UR The 1st pin of the resistor UR10 is connected to the A terminal of the motherboard U8, the 2nd pin of the resistor UR9 is connected to VDD3, the 2nd pin of the resistor UR10 and the positive electrode of the voltage-stabilizing diode DW5 are connected to the 2nd pin of the pin JP4, the 1st pin of the resistor UR11 and the 1st pin of the resistor UR12 are connected to the B terminal of the motherboard U8, the 2nd pin of the resistor UR12 is connected to GND3, the 2nd pin of the resistor UR11 and the 1st pin of the pin JP4 are connected to the positive electrode of the voltage-stabilizing diode DW6, and the negative electrode of the voltage-stabilizing diode DW5 is connected to the negative electrode of the voltage-stabilizing diode DW6 and then connected to GND3;

[0037] Pin 1 of the plug-in RP5 is connected to pin 2 of the plug-in RP5 and then connected to the power supply circuit, pin 4 of the plug-in RP5 is grounded, pin 5 of the plug-in RP5 is connected to pin 19 of the mainboard U1, pin 7 of the plug-in RP5 is connected to pin 22 of the mainboard U1, and pin 8 of the plug-in RP5 is connected to pin 21 of the mainboard U1;

[0038] Pin 1 of the power chip U9 is grounded, pin 2 of the power chip U9 is connected to the power supply circuit, pin 3 of the power chip U9 is connected to GND3, and pin 4 of the power chip U9 is connected to VDD3; pin 1 of the capacitor UC5 is connected to VDD3, and pin 2 of the capacitor UC5 is connected to GND3; pin 1 of the capacitor UC6 is connected to +3.3V, and pin 2 of the capacitor UC4 is grounded.

[0039] Preferably, the status display circuit includes a resistor RP5, a resistor RP3, a resistor RP4, a resistor RP2, a light emitting diode LED4, a light emitting diode LED2, a light emitting diode LED3 and a light emitting diode LED1:

[0040] Pin 1 of the resistor RP5 is connected to pin 34 of the mainboard U1, pin 2 of the resistor RP5 is connected to the positive electrode of the light emitting diode LED4, and the negative electrode of the light emitting diode LED4 is grounded;

[0041] Pin 1 of the resistor RP3 is connected to pin 37 of the mainboard U1, pin 2 of the resistor RP3 is connected to the positive electrode of the light emitting diode LED2, and the negative electrode of the light emitting diode LED2 is grounded;

[0042] Pin 1 of the resistor RP4 is connected to pin 15 of the mainboard U1, pin 2 of the resistor RP4 is connected to the positive electrode of the light emitting diode LED3, and the negative electrode of the light emitting diode LED3 is grounded;

[0043] Pin 1 of the resistor RP2 is connected to pin 16 of the mainboard U1 , pin 2 of the resistor RP2 is connected to the positive electrode of the light emitting diode LED1 , and the negative electrode of the light emitting diode LED1 is grounded.

[0044] Beneficial effect: The conversion device for 485 communication of the present application comprises a main control chip, a power supply, a 6-bit dial switch circuit, a mode selection circuit, an A1B1 communication circuit, an A2B2 communication circuit, an A3B3 communication circuit and a status display circuit. The power supply, the 6-bit dial switch, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the status display circuit are all connected to the main control chip. The conversion device for 485 communication realizes the function of transmitting the data received by the main control chip through the designated communication channel, thereby improving the efficiency of communication and ensuring the quality of communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 A circuit schematic diagram of a main control chip of a conversion device for 485 communication provided in an embodiment of the present application;

[0047] Figure 2 A circuit schematic diagram of a power supply for a conversion device for 485 communication provided in an embodiment of the present application;

[0048] Figure 3 A circuit diagram of a 6-position DIP switch of a conversion device for 485 communication provided in an embodiment of the present application;

[0049] Figure 4 A circuit schematic diagram of a mode selection circuit of a conversion device for 485 communication provided in an embodiment of the present application;

[0050] Figure 5A circuit schematic diagram of an A1B1 communication circuit of a conversion device for 485 communication provided in an embodiment of the present application;

[0051] Figure 6 A circuit schematic diagram of an A2B2 communication circuit of a conversion device for 485 communication provided in an embodiment of the present application;

[0052] Figure 7 A circuit schematic diagram of an A3B3 communication circuit of a conversion device for 485 communication provided in an embodiment of the present application;

[0053] Figure 8 A circuit schematic diagram of a status display circuit of a conversion device for 485 communication provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0055] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0056] This embodiment discloses a conversion device for 485 communication, including:

[0057] A main control circuit for receiving data and selecting an output path;

[0058] A power supply circuit for converting the voltage into +5V or +3.3V and supplying power;

[0059] DIP switch circuit for setting output address;

[0060] a mode selection circuit for selecting download or run mode;

[0061] A1B1 communication circuit for communicating with the connected 485 communication circuit via the serial port A1B1;

[0062] A2B2 communication circuit for communicating with a connected 485 communication circuit via serial port A2B2;

[0063] A3B3 communication circuit for communicating with a connected 485 communication circuit via serial port A3B3;

[0064] A status display circuit for displaying the working status of the conversion device for 485 communication;

[0065] The power supply circuit, the DIP switch circuit, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the status display circuit are all connected to the main control circuit;

[0066] The mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the main control circuit are all connected to the power supply circuit;

[0067] The A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the DIP switch circuit are all connected to the mode selection circuit.

[0068] Specifically, Figure 1 The main control chip includes a mainboard U1 and a reset circuit;

[0069] Pin 1 of the mainboard U1 is connected to the power supply circuit, pin 5 of the mainboard U1 is connected to pin 1 of the crystal oscillator X1, pin 6 of the mainboard U1 is connected to pin 2 of the crystal oscillator X1, pin 1 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C1, pin 2 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C2, pin 2 of the capacitor C1 is connected to pin 2 of the capacitor C2 and then grounded; pin 7 of the mainboard U1 is connected to the reset circuit, the reset circuit includes resistor RR1 and capacitor RC1, pin 1 of the resistor RR1 is connected to the power supply circuit, pin 7 of the mainboard U1 and pin 1 of the capacitor RC1 are both connected to resistor RR1 The 2nd pin of the motherboard U1 is connected to the 1st pin of the resistor RP4, the 16th pin of the motherboard U1 is connected to the 1st pin of the resistor RP2, the 19th pin of the motherboard U1 is connected to the motherboard U8, the 20th pin of the motherboard U1 is connected to the 6th pin of the switch DIP1, and the 21st pin of the motherboard U1 is connected to the motherboard U8. The 22nd pin of the motherboard U1 is connected to the motherboard U8, the 23rd pin of the motherboard U1 is grounded, the 24th pin of the motherboard U1 is connected to the power supply circuit, the 25th pin of the motherboard U1 is connected to the dip switch circuit, the 26th pin of the motherboard U1 is connected to the dip switch circuit, the 27th pin of the motherboard U1 is connected to the dip switch circuit, the 28th pin of the motherboard U1 is connected to the dip switch circuit, the 29th pin of the motherboard U1 is connected to the motherboard U2, the 30th pin of the motherboard U1 is connected to the 3rd pin of the plug-in P1 and then connected to the switch DIP1, the 31st pin of the motherboard U1 is connected to the 4th pin of the plug-in P1 and then connected to The switch DIP1 is connected, pin 2 of the plug-in P1 is grounded, pin 1 of the plug-in P1 is connected to the power supply circuit, pin 32 of the mainboard U1 is connected to the dip switch circuit, pin 33 of the mainboard U1 is connected to the dip switch circuit, pin 34 of the mainboard U1 is connected to pin 1 of the resistor RP5, pin 35 of the mainboard U1 is grounded, pin 36 of the mainboard U1 is connected to the power supply circuit, pin 37 of the mainboard U1 is connected to pin 1 of the resistor RP3, pin 44 of the mainboard U1 is connected to the switch DIP1, pin 47 of the mainboard U1 is grounded, and pin 48 of the mainboard U1 is connected to the power supply circuit.

[0070] In this embodiment, the main control chip realizes the function of receiving numbers and selecting the output path, wherein the specification of the crystal oscillator X1 is 8MHz, the model of the mainboard U1 can be but is not limited to STM32F100, the specification of the capacitor C1 is 20p, the specification of the capacitor C2 is 20p, the specification of the resistor RR1 is 10K, and the specification of the capacitor RC1 is 105.

[0071] Specifically, Figure 2 As shown, the power supply circuit includes a converter and a voltage regulator U5;

[0072] The cathode of diode D1, the anode of polar capacitor and pin 1 of capacitor PC2 are all connected to pin 1 of converter, the cathode of polar capacitor and pin 2 of capacitor PC2 are connected to ground, the anode of diode D1 is connected to pin 1 of pin JP2, pin 2 of pin JP2 is connected to the cathode of diode D3, and the anode of diode D3 is grounded; pin 1 of inductor L1 and the cathode of diode D2 are all connected to pin 2 of converter, the anode of diode D2 is grounded, pin 2 of inductor L1, pin 1 of capacitor PC1 and the anode of polar capacitor PC3 are all connected to pin 3 of converter, and after being connected, a +5V voltage is output; pin 2 of capacitor PC1 and the cathode of polar capacitor PC3 are connected to ground; pin 4 of converter is grounded, and pins 5-8 of converter are connected to ground;

[0073] The input end of the voltage regulator U5 is connected to +5V; pin 1 of capacitor PC5 and the positive electrode of polar capacitor PC6 are both connected to the output end of the voltage regulator U5, and after being connected, they output +3.3V; pin 2 of capacitor PC5, the negative electrode of polar capacitor PC6 and the ground end of the voltage regulator U5 are connected to ground.

[0074] In this embodiment, the power supply circuit realizes converting the voltage into +5V or +3.3V and supplying power, wherein the model of the voltage regulator U5 can be but is not limited to ASM1117, the model of the converter can be but is not limited to XL1509, the specification of the diode D1 is M7, the specification of the diode D3 is M7, the specification of the polar capacitor PC4 is 100u / 35V, the specification of the capacitor PC2 is 105, the specification of the diode D2 is SS14, the specification of the inductor L1 is 101 inductor, the specification of the capacitor PC1 is 104, the specification of the polar capacitor PC3 is 100u / 35V, the specification of the capacitor PC5 is 104, and the specification of the polar capacitor PC3 is 106C.

[0075] Specifically, Figure 3 As shown, the dip switch circuit includes a 6-bit dip switch DIP2:

[0076] Pins 1-6 of the 6-bit dip switch DIP2 are connected and then grounded, pin 7 of the 6-bit dip switch DIP2 is connected to pin 33 of the mainboard U1, pin 8 of the 6-bit dip switch DIP2 is connected to pin 32 of the mainboard U1, pin 9 of the 6-bit dip switch DIP2 is connected to pin 28 of the mainboard, pin 10 of the 6-bit dip switch DIP2 is connected to pin 27 of the mainboard U1, pin 11 of the 6-bit dip switch DIP2 is connected to pin 26 of the mainboard U1, and pin 12 of the 6-bit dip switch DIP2 is connected to pin 25 of the mainboard U1.

[0077] In this embodiment, the 6-bit DIP switch circuit realizes the function of setting the output address.

[0078] Specifically, Figure 4As shown, the mode selection circuit includes plug-in RP2, plug-in RP3, plug-in RP9 and switch DIP1:

[0079] Pins 5-8 of plug-in RP2 and pins 5-8 of plug-in RP3 are connected to the power supply circuit, pin 9 of the 6-position dip switch DIP2 and pin 28 of the main board U1 are connected to pin 1 of plug-in RP2, pin 10 of the 6-position dip switch DIP2 and pin 27 of the main board U1 are connected to pin 2 of plug-in RP2, pin 11 of the 6-position dip switch DIP2 and pin 26 of the main board U1 are connected to pin 3 of plug-in RP2, pin 12 of the 6-position dip switch DIP2 and pin 25 of the main board U1 are connected to pin 4 of plug-in RP2;

[0080] Pin 7 of the 6-bit DIP switch DIP2 and pin 33 of the mainboard U1 are both connected to pin 1 of the plug-in RP3, and pin 8 of the 6-bit DIP switch DIP2 and pin 32 of the mainboard U1 are both connected to pin 2 of the plug-in RP3;

[0081] Pin 1 of switch DIP1 is connected to voltage regulator RP1, pin 2 of switch DIP1 is connected to voltage regulator RP1, pin 3 of switch DIP1 is connected to pin 4 of switch DIP1 and then grounded, pin 5 of switch DIP1 is connected to pin 44 of mainboard U1, pin 6 of switch DIP1 is connected to pin 20 of mainboard U1, pin 30 of mainboard U1 and pin 3 of plug-in P1 are both connected to pin 7 of switch DIP1, pin 31 of mainboard U1 and pin 4 of plug-in P1 are both connected to pin 8 of switch DIP1;

[0082] Pins 5-8 of plug-in RP9 are connected to the power supply circuit, pin 5 of switch DIP1 and pin 44 of mainboard U1 are connected to pin 1 of plug-in RP9, and pin 6 of switch DIP1 and pin 20 of mainboard U1 are connected to pin 4 of plug-in RP9.

[0083] In this embodiment, the mode selection circuit realizes the function of selecting the download or run mode.

[0084] Specifically, Figure 5 As shown, the A1B1 communication circuit includes a mainboard U2 and a power chip U4:

[0085] The VDD1 end of the motherboard U2 is connected to the power supply circuit, the 2nd pin of the motherboard U2 is grounded, the 7th pin of the voltage regulator RP1 and the 1st pin of the switch DIP1 are both connected to the 3rd pin of the motherboard U2, the 4th pin of the motherboard U2 is connected to the 5th pin of the motherboard U2 and then connected to the voltage regulator RP1, and after being connected, they are connected to the 29th pin of the motherboard U1, the 6th pin of the motherboard U2 and the 2nd pin of the switch DIP1 are both connected to the voltage regulator RP1, the 7th pin of the motherboard U2 and the 8th pin of the motherboard U2 are both grounded, the GND2 end of the motherboard U2, the NC end of the motherboard U2 and the GND2 end of the motherboard U2 are all connected to the GND1 end of the motherboard U2, the VDD2 end of the motherboard U2 is connected to the VDD1 end of the motherboard U2, the resistor UR1 Pin 1 and pin 1 of resistor UR2 are both connected to the A terminal of the motherboard U2, pin 2 of resistor UR1 is connected to VDD1, pin 2 of resistor UR2 and the positive electrode of the voltage regulator diode DW1 are both connected to pin 2 of pin JP1, pin 1 of resistor UR3 and pin 1 of resistor UR4 are both connected to the B terminal of the motherboard U2, pin 2 of resistor UR4 is connected to GND1, pin 2 of resistor UR3 and pin 1 of pin JP1 are both connected to the positive electrode of the voltage regulator diode DW2, the negative electrode of the voltage regulator diode DW1 is connected to the negative electrode of the voltage regulator diode DW2 and then connected to GND1, pin 1 of the voltage regulator RP1 is grounded, pin 3 of the voltage regulator RP1 is connected to pin 4 of the voltage regulator RP1 and then connected to the power supply circuit;

[0086] Pin 1 of the power chip U4 is grounded, pin 2 of the power chip U4 is connected to the power supply circuit, pin 3 of the power chip U4 is connected to GND1, and pin 4 of the power chip U4 is connected to VDD1; pin 1 of capacitor UC1 is connected to VDD1, and pin 2 of capacitor UC1 is connected to GND1; pin 1 of capacitor UC2 is connected to +3.3V, and pin 2 of capacitor UC2 is grounded.

[0087] In this embodiment, the A1B1 communication circuit realizes the function of communicating with the connected 485 communication circuit through the serial port A1B1, wherein the model of the mainboard U2 can be but not limited to CA-IS3082WE, the model of the power chip U4 can be but not limited to B0505S, the model of the Zener diode DW1 and the Zener diode DW2 can be but not limited to P6SMB6.8CA, the specification of the resistor UR2 is 10, the specification of the resistor UR3 is 10, the specification of the resistor UR1 is 10K, the specification of the resistor UR4 is 10K, the specification of the capacitor UC1 is 104, the specification of the capacitor UC2 is 104, and the specification of the voltage regulator RP1 is RP103.

[0088] Specifically, Figure 6 As shown, the A2B2 communication circuit includes a mainboard U6 and a power chip U7:

[0089] The VDD1 end of the motherboard U6 is connected to the power supply circuit, the 2nd pin of the motherboard U6 is grounded, the 7th pin of the voltage regulator RP4 and the 13th pin of the motherboard U1 are both connected to the motherboard U6, the 4th pin of the motherboard U6 and the 5th pin of the motherboard U6 are connected to the voltage regulator RP4, and then connected to the 11th pin of the motherboard U1, the 6th pin of the motherboard U6 and the 12th pin of the motherboard U1 are both connected to the voltage regulator RP4, the 7th pin of the motherboard U6 and the 8th pin of the motherboard U6 are both grounded, the GND2 end of the motherboard U6 and the NC end of the motherboard U6 are both connected to GND2, the VDD2 end of the motherboard U6 is connected to VDD2, the 1st pin of the resistor UR5 and the 1st pin of the resistor UR5 are both connected to the main The A end of the board U6 is connected, the 2nd foot of the resistor UR5 is connected to VDD2, the 2nd foot of the resistor UR6 and the positive electrode of the voltage regulator diode DW3 are both connected to the 2nd foot of the pin JP3, the 1st foot of the resistor UR7 and the 1st foot of the resistor UR8 are both connected to the B end of the motherboard U6, the 2nd foot of the resistor UR8 is connected to GND2, the 2nd foot of the resistor UR7 and the 1st foot of the pin JP3 are both connected to the positive electrode of the voltage regulator diode DW4, the negative electrode of the voltage regulator diode DW3 is connected to the negative electrode of the voltage regulator diode DW4 and then connected to GND2, the 1st foot of the voltage regulator RP4 is grounded, the 3rd foot of the voltage regulator RP4 is connected to the 4th foot of the voltage regulator RP4 and then connected to the power supply circuit;

[0090] Pin 1 of the power chip U7 is grounded, pin 2 of the power chip U7 is connected to the power supply circuit, pin 3 of the power chip U7 is connected to GND2, and pin 4 of the power chip U7 is connected to VDD2; pin 1 of capacitor UC3 is connected to VDD2, and pin 2 of capacitor UC3 is connected to GND2; pin 1 of capacitor UC4 is connected to +3.3V, and pin 2 of capacitor UC4 is grounded.

[0091] In this embodiment, the A2B2 communication circuit realizes the function of communicating with the connected 485 communication circuit through the serial port A2B2, wherein the model of the mainboard U6 can be but not limited to CA-IS3082WE, the model of the power chip U7 can be but not limited to B0505S, the model of the Zener diode DW3 and the Zener diode DW4 can be but not limited to P6SMB6.8CA, the specification of the resistor UR6 is 10, the specification of the resistor UR7 is 10, the specification of the resistor UR5 is 10K, the specification of the resistor UR8 is 10K, the specification of the capacitor UC3 is 104, the specification of the capacitor UC4 is 104, and the specification of the voltage regulator RP4 is RP103.

[0092] Specifically, Figure 7 As shown, the A3B3 communication circuit includes a plug-in RP5, a mainboard U8 and a power chip U9:

[0093] Pin 1 of the motherboard U8 is connected to the power supply circuit, pin 2 of the motherboard U8 is grounded, pin 3 of the motherboard U8 is connected to pin 22 of the motherboard U1, pin 4 of the motherboard U8 is connected to pin 5 of the motherboard U8 and then connected to pin 19 of the motherboard U1, pin 6 of the motherboard U8 is connected to pin 21 of the motherboard U1, pin 7 of the motherboard U8 is grounded, pin 8 of the motherboard U8 is grounded, GND2 of the motherboard U8 and NC of the motherboard U8 are connected to GND3, VDD2 of the motherboard U8 is connected to VDD3, pin 1 of the resistor UR9 and pin 1 of the resistor UR10 are both Connected to the A terminal of the motherboard U8, the 2nd pin of the resistor UR9 is connected to VDD3, the 2nd pin of the resistor UR10 and the positive electrode of the voltage-stabilizing diode DW5 are both connected to the 2nd pin of the pin JP4, the 1st pin of the resistor UR11 and the 1st pin of the resistor UR12 are both connected to the B terminal of the motherboard U8, the 2nd pin of the resistor UR12 is connected to GND3, the 2nd pin of the resistor UR11 and the 1st pin of the pin JP4 are both connected to the positive electrode of the voltage-stabilizing diode DW6, the negative electrode of the voltage-stabilizing diode DW5 is connected to the negative electrode of the voltage-stabilizing diode DW6 and then connected to GND3;

[0094] Pin 1 of plug-in RP5 and pin 2 of plug-in RP5 are connected to the power supply circuit, pin 4 of plug-in RP5 is grounded, pin 5 of plug-in RP5 is connected to pin 19 of mainboard U1, pin 7 of plug-in RP5 is connected to pin 22 of mainboard U1, and pin 8 of plug-in RP5 is connected to pin 21 of mainboard U1;

[0095] Pin 1 of the power chip U9 is grounded, pin 2 of the power chip U9 is connected to the power supply circuit, pin 3 of the power chip U9 is connected to GND3, and pin 4 of the power chip U9 is connected to VDD3; pin 1 of capacitor UC5 is connected to VDD3, and pin 2 of capacitor UC5 is connected to GND3; pin 1 of capacitor UC6 is connected to +3.3V, and pin 2 of capacitor UC4 is grounded.

[0096] In this embodiment, the A3B3 communication circuit realizes the function of communicating with the connected 485 communication circuit through the serial port A3B3, wherein the model of the mainboard U8 can be but is not limited to CA-IS3082WE, the model of the power chip U9 can be but is not limited to B0505S, the model of the Zener diode DW5 and the Zener diode DW6 can be but is not limited to P6SMB6.8CA, the specification of the resistor UR10 is 10, the specification of the resistor UR11 is 10, the specification of the resistor UR9 is 10K, the specification of the resistor UR12 is 10K, the specification of the capacitor UC5 is 104, the specification of the capacitor UC6 is 104, and the specification of the voltage regulator RP5 is RP103.

[0097] Specifically, Figure 8 As shown, the status display circuit includes a resistor RP5, a resistor RP3, a resistor RP4, a resistor RP2, a light emitting diode LED4, a light emitting diode LED2, a light emitting diode LED3 and a light emitting diode LED1:

[0098] Pin 1 of the resistor RP5 is connected to pin 34 of the mainboard U1, pin 2 of the resistor RP5 is connected to the positive electrode of the light-emitting diode LED4, and the negative electrode of the light-emitting diode LED4 is grounded;

[0099] Pin 1 of the resistor RP3 is connected to pin 37 of the mainboard U1, pin 2 of the resistor RP3 is connected to the positive electrode of the light-emitting diode LED2, and the negative electrode of the light-emitting diode LED2 is grounded;

[0100] Pin 1 of the resistor RP4 is connected to pin 15 of the mainboard U1, pin 2 of the resistor RP4 is connected to the positive electrode of the light-emitting diode LED3, and the negative electrode of the light-emitting diode LED3 is grounded;

[0101] Pin 1 of the resistor RP2 is connected to pin 16 of the mainboard U1, pin 2 of the resistor RP2 is connected to the positive electrode of the light emitting diode LED1, and the negative electrode of the light emitting diode LED1 is grounded.

[0102] In this embodiment, the state display circuit realizes the function of displaying the working state of the conversion device of 485 communication. The specification of the resistor RR5 is 1K, the specification of the resistor RR2 is 1K, the specification of the resistor RR4 is 1K, and the specification of the resistor RR2 is 1K.

[0103] In summary, the conversion device for 485 communication of this embodiment includes a main control chip, a power supply, a 6-bit dial switch circuit, a mode selection circuit, an A1B1 communication circuit, an A2B2 communication circuit, an A3B3 communication circuit and a status display circuit. The power supply, the 6-bit dial switch, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the status display circuit are all connected to the main control chip. The conversion device for 485 communication realizes the function of transmitting the data received by the main control chip through the designated communication channel, thereby improving the efficiency of communication and ensuring the quality of communication.

[0104] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A conversion device for 485 communication, characterized in that: include: A main control circuit for receiving data and selecting an output path; A power supply circuit for converting the voltage into +5V or +3.3V and supplying power; DIP switch circuit for setting output address; a mode selection circuit for selecting download or run mode; A1B1 communication circuit for communicating with the connected 485 communication circuit via the serial port A1B1; A2B2 communication circuit for communicating with a connected 485 communication circuit via serial port A2B2; A3B3 communication circuit for communicating with a connected 485 communication circuit via serial port A3B3; A status display circuit for displaying the working status of the conversion device for 485 communication; The power supply circuit, the dip switch circuit, the mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the status display circuit are all connected to the main control circuit; The mode selection circuit, the A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the main control circuit are all connected to the power supply circuit; The A1B1 communication circuit, the A2B2 communication circuit, the A3B3 communication circuit and the DIP switch circuit are all connected to the mode selection circuit.

2. The conversion device for 485 communication according to claim 1, characterized in that: The main control circuit includes a main board U1 and a reset circuit; Pin 1 of the mainboard U1 is connected to the power supply circuit, pin 5 of the mainboard U1 is connected to pin 1 of the crystal oscillator X1, pin 6 of the mainboard U1 is connected to pin 2 of the crystal oscillator X1, pin 1 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C1, pin 2 of the crystal oscillator X1 is also connected to pin 1 of the capacitor C2, pin 2 of the capacitor C1 is connected to pin 2 of the capacitor C2 and then grounded; pin 7 of the mainboard U1 is connected to the reset circuit, the reset circuit includes a resistor RR1 and a capacitor RC1, pin 1 of the resistor RR1 is connected to the power supply circuit, pin 7 of the mainboard U1 and pin 1 of the capacitor RC1 are both connected to the power supply circuit. The 2nd pin of the resistor RR1 is connected, the 2nd pin of the capacitor RC1 is grounded; the 8th pin of the mainboard U1 is grounded, the 9th pin of the mainboard U1 is connected to the power supply circuit, the 12th pin of the mainboard U1 is connected to the voltage regulator RP4, the 13th pin of the mainboard U1 is connected to the mainboard U6, the 14th pin of the mainboard U1 is connected to PA4, the 15th pin of the mainboard U1 is connected to the 1st pin of the resistor RP4, the 16th pin of the mainboard U1 is connected to the 1st pin of the resistor RP2, the 19th pin of the mainboard U1 is connected to the mainboard U8, the 20th pin of the mainboard U1 is connected to the 6th pin of the switch DIP1, the 21st pin of the mainboard U1 is connected to the mainboard U8, and the The 22nd pin of the mainboard U1 is connected to the mainboard U8, the 23rd pin of the mainboard U1 is grounded, the 24th pin of the mainboard U1 is connected to the power supply circuit, the 25th pin of the mainboard U1 is connected to the dip switch circuit, the 26th pin of the mainboard U1 is connected to the dip switch circuit, the 27th pin of the mainboard U1 is connected to the dip switch circuit, the 28th pin of the mainboard U1 is connected to the dip switch circuit, the 29th pin of the mainboard U1 is connected to the mainboard U2, the 30th pin of the mainboard U1 is connected to the 3rd pin of the plug-in P1 and then connected to the switch DIP1, the 31st pin of the mainboard U1 is connected to the 4th pin of the plug-in P1 and then connected to the switch The pin 2 of the plug-in P1 is connected to the switch DIP1, the pin 1 of the plug-in P1 is connected to the power supply circuit, the pin 32 of the mainboard U1 is connected to the dip switch circuit, the pin 33 of the mainboard U1 is connected to the dip switch circuit, the pin 34 of the mainboard U1 is connected to the pin 1 of the resistor RP5, the pin 35 of the mainboard U1 is grounded, the pin 36 of the mainboard U1 is connected to the power supply circuit, the pin 37 of the mainboard U1 is connected to the pin 1 of the resistor RP3, the pin 44 of the mainboard U1 is connected to the switch DIP1, the pin 47 of the mainboard U1 is grounded, and the pin 48 of the mainboard U1 is connected to the power supply circuit.

3. The conversion device for 485 communication according to claim 2, characterized in that: The power supply circuit includes a converter and a voltage regulator U5; The cathode of the diode D1, the anode of the polar capacitor and the pin 1 of the capacitor PC2 are all connected to the pin 1 of the converter, the cathode of the polar capacitor is connected to the pin 2 of the capacitor PC2 and then grounded, the anode of the diode D1 is connected to the pin 1 of the pin JP2, the pin 2 of the pin JP2 is connected to the cathode of the diode D3, and the anode of the diode D3 is grounded; the pin 1 of the inductor L1 and the cathode of the diode D2 are all connected to the pin 2 of the converter, the anode of the diode D2 is grounded, the pin 2 of the inductor L1, the pin 1 of the capacitor PC1 and the anode of the polar capacitor PC3 are all connected to the pin 3 of the converter, and after being connected, a +5V voltage is output; the pin 2 of the capacitor PC1 and the cathode of the polar capacitor PC3 are connected to the ground; the pin 4 of the converter is grounded, and the pins 5-8 of the converter are connected and then grounded; The input end of the voltage regulator U5 is connected to +5V; pin 1 of capacitor PC5 and the positive electrode of polar capacitor PC6 are both connected to the output end of the voltage regulator U5, and after being connected, they output +3.3V; pin 2 of capacitor PC5, the negative electrode of polar capacitor PC6 and the ground end of the voltage regulator U5 are connected and then grounded.

4. The conversion device for 485 communication according to claim 2, characterized in that: The dip switch circuit includes a 6-bit dip switch DIP2: Pins 1-6 of the 6-bit dip switch DIP2 are connected and then grounded, pin 7 of the 6-bit dip switch DIP2 is connected to pin 33 of the main board U1, pin 8 of the 6-bit dip switch DIP2 is connected to pin 32 of the main board U1, pin 9 of the 6-bit dip switch DIP2 is connected to pin 28 of the main board, pin 10 of the 6-bit dip switch DIP2 is connected to pin 27 of the main board U1, pin 11 of the 6-bit dip switch DIP2 is connected to pin 26 of the main board U1, and pin 12 of the 6-bit dip switch DIP2 is connected to pin 25 of the main board U1.

5. The conversion device for 485 communication according to claim 4, characterized in that: The mode selection circuit includes a plug-in RP2, a plug-in RP3, a plug-in RP9 and a switch DIP1: Pins 5-8 of the plug-in RP2 and pins 5-8 of the plug-in RP3 are connected to the power supply circuit, pin 9 of the 6-bit DIP switch DIP2 and pin 28 of the mainboard U1 are connected to pin 1 of the plug-in RP2, pin 10 of the 6-bit DIP switch DIP2 and pin 27 of the mainboard U1 are connected to pin 2 of the plug-in RP2, pin 11 of the 6-bit DIP switch DIP2 and pin 26 of the mainboard U1 are connected to pin 3 of the plug-in RP2, and pin 12 of the 6-bit DIP switch DIP2 and pin 25 of the mainboard U1 are connected to pin 4 of the plug-in RP2; Pin 7 of the 6-bit DIP switch DIP2 and pin 33 of the mainboard U1 are both connected to pin 1 of the plug-in RP3, and pin 8 of the 6-bit DIP switch DIP2 and pin 32 of the mainboard U1 are both connected to pin 2 of the plug-in RP3; Pin 1 of the switch DIP1 is connected to the voltage regulator RP1, pin 2 of the switch DIP1 is connected to the voltage regulator RP1, pin 3 of the switch DIP1 is connected to pin 4 of the switch DIP1 and then grounded, pin 5 of the switch DIP1 is connected to pin 44 of the mainboard U1, pin 6 of the switch DIP1 is connected to pin 20 of the mainboard U1, pin 30 of the mainboard U1 and pin 3 of the plug-in P1 are both connected to pin 7 of the switch DIP1, and pin 31 of the mainboard U1 and pin 4 of the plug-in P1 are both connected to pin 8 of the switch DIP1; Pins 5-8 of the plug-in RP9 are connected to the power supply circuit, pin 5 of the switch DIP1 and pin 44 of the mainboard U1 are connected to pin 1 of the plug-in RP9, and pin 6 of the switch DIP1 and pin 20 of the mainboard U1 are connected to pin 4 of the plug-in RP9.

6. The conversion device for 485 communication according to claim 2, characterized in that: The A1B1 communication circuit includes a mainboard U2 and a power chip U4: The VDD1 end of the motherboard U2 is connected to the power supply circuit, the 2nd pin of the motherboard U2 is grounded, the 7th pin of the voltage regulator RP1 and the 1st pin of the switch DIP1 are both connected to the 3rd pin of the motherboard U2, the 4th pin of the motherboard U2 is connected to the 5th pin of the motherboard U2 and then connected to the voltage regulator RP1, and then connected to the 29th pin of the motherboard U1, the 6th pin of the motherboard U2 and the 2nd pin of the switch DIP1 are both connected to the voltage regulator RP1, the 7th pin of the motherboard U2 and the 8th pin of the motherboard U2 are both grounded, the GND2 end of the motherboard U2, the NC end of the motherboard U2 and the GND2 end of the motherboard U2 are all connected to the GND1 end of the motherboard U2, and the VDD2 end of the motherboard U2 is connected to the VDD1 end of the motherboard U2 , pin 1 of the resistor UR1 and pin 1 of the resistor UR2 are both connected to the A end of the mainboard U2, pin 2 of the resistor UR1 is connected to VDD1, pin 2 of the resistor UR2 and the positive electrode of the voltage regulator diode DW1 are both connected to pin 2 of the pin JP1, pin 1 of the resistor UR3 and pin 1 of the resistor UR4 are both connected to the B end of the mainboard U2, pin 2 of the resistor UR4 is connected to GND1, pin 2 of the resistor UR3 and pin 1 of the pin JP1 are both connected to the positive electrode of the voltage regulator diode DW2, the negative electrode of the voltage regulator diode DW1 is connected to the negative electrode of the voltage regulator diode DW2 and then connected to GND1, pin 1 of the voltage regulator RP1 is grounded, and pin 3 of the voltage regulator RP1 is connected to pin 4 of the voltage regulator RP1 and then connected to the power supply circuit; Pin 1 of the power chip U4 is grounded, pin 2 of the power chip U4 is connected to the power supply circuit, pin 3 of the power chip U4 is connected to GND1, and pin 4 of the power chip U4 is connected to VDD1; Pin 1 of the capacitor UC1 is connected to VDD1, and pin 2 of the capacitor UC1 is connected to GND1; pin 1 of the capacitor UC2 is connected to +3.3V, and pin 2 of the capacitor UC2 is grounded.

7. The conversion device for 485 communication according to claim 2, characterized in that: The A2B2 communication circuit includes a mainboard U6 and a power chip U7: The VDD1 end of the motherboard U6 is connected to the power supply circuit, the 2nd pin of the motherboard U6 is grounded, the 7th pin of the voltage regulator RP4 and the 13th pin of the motherboard U1 are both connected to the motherboard U6, the 4th pin of the motherboard U6 and the 5th pin of the motherboard U6 are connected to the voltage regulator RP4, and after being connected, they are connected to the 11th pin of the motherboard U1, the 6th pin of the motherboard U6 and the 12th pin of the motherboard U1 are both connected to the voltage regulator RP4, the 7th pin of the motherboard U6 and the 8th pin of the motherboard U6 are both grounded, the GND2 end of the motherboard U6 and the NC end of the motherboard U6 are both connected to GND2, the VDD2 end of the motherboard U6 is connected to VDD2, the 1st pin of the resistor UR5 and the 1st pin of the resistor UR5 The pins of the resistor UR5 are connected to the A end of the motherboard U6, the pin 2 of the resistor UR5 is connected to VDD2, the pin 2 of the resistor UR6 and the positive electrode of the voltage regulator diode DW3 are connected to the pin 2 of the pin JP3, the pin 1 of the resistor UR7 and the pin 1 of the resistor UR8 are connected to the B end of the motherboard U6, the pin 2 of the resistor UR8 is connected to GND2, the pin 2 of the resistor UR7 and the pin 1 of the pin JP3 are connected to the positive electrode of the voltage regulator diode DW4, the cathode of the voltage regulator diode DW3 is connected to the cathode of the voltage regulator diode DW4 and then connected to GND2, the pin 1 of the voltage regulator RP4 is grounded, the pin 3 of the voltage regulator RP4 is connected to the pin 4 of the voltage regulator RP4 and then connected to the power supply circuit; Pin 1 of the power chip U7 is grounded, pin 2 of the power chip U7 is connected to the power supply circuit, pin 3 of the power chip U7 is connected to GND2, and pin 4 of the power chip U7 is connected to VDD2; pin 1 of capacitor UC3 is connected to VDD2, and pin 2 of the capacitor UC3 is connected to GND2; pin 1 of the capacitor UC4 is connected to +3.3V, and pin 2 of the capacitor UC4 is grounded.

8. The conversion device for 485 communication according to claim 2, characterized in that: The A3B3 communication circuit includes a plug-in RP5, a mainboard U8 and a power chip U9: Pin 1 of the motherboard U8 is connected to the power supply circuit, pin 2 of the motherboard U8 is grounded, pin 3 of the motherboard U8 is connected to pin 22 of the motherboard U1, pin 4 of the motherboard U8 is connected to pin 5 of the motherboard U8 and then to pin 19 of the motherboard U1, pin 6 of the motherboard U8 is connected to pin 21 of the motherboard U1, pin 7 of the motherboard U8 is grounded, pin 8 of the motherboard U8 is grounded, GND2 of the motherboard U8 and NC of the motherboard U8 are connected to GND3, VDD2 of the motherboard U8 is connected to VDD3, pin 1 of resistor UR9 and resistor UR The 1st pin of the resistor UR10 is connected to the A terminal of the motherboard U8, the 2nd pin of the resistor UR9 is connected to VDD3, the 2nd pin of the resistor UR10 and the positive electrode of the voltage-stabilizing diode DW5 are connected to the 2nd pin of the pin JP4, the 1st pin of the resistor UR11 and the 1st pin of the resistor UR12 are connected to the B terminal of the motherboard U8, the 2nd pin of the resistor UR12 is connected to GND3, the 2nd pin of the resistor UR11 and the 1st pin of the pin JP4 are connected to the positive electrode of the voltage-stabilizing diode DW6, and the negative electrode of the voltage-stabilizing diode DW5 is connected to the negative electrode of the voltage-stabilizing diode DW6 and then connected to GND3; Pin 1 of the plug-in RP5 is connected to pin 2 of the plug-in RP5 and then connected to the power supply circuit, pin 4 of the plug-in RP5 is grounded, pin 5 of the plug-in RP5 is connected to pin 19 of the mainboard U1, pin 7 of the plug-in RP5 is connected to pin 22 of the mainboard U1, and pin 8 of the plug-in RP5 is connected to pin 21 of the mainboard U1; Pin 1 of the power chip U9 is grounded, pin 2 of the power chip U9 is connected to the power supply circuit, pin 3 of the power chip U9 is connected to GND3, and pin 4 of the power chip U9 is connected to VDD3; pin 1 of the capacitor UC5 is connected to VDD3, and pin 2 of the capacitor UC5 is connected to GND3; pin 1 of the capacitor UC6 is connected to +3.3V, and pin 2 of the capacitor UC4 is grounded.

9. The conversion device for 485 communication according to claim 2, characterized in that: The state display circuit includes a resistor RP5, a resistor RP3, a resistor RP4, a resistor RP2, a light emitting diode LED4, a light emitting diode LED2, a light emitting diode LED3 and a light emitting diode LED1: Pin 1 of the resistor RP5 is connected to pin 34 of the mainboard U1, pin 2 of the resistor RP5 is connected to the positive electrode of the light emitting diode LED4, and the negative electrode of the light emitting diode LED4 is grounded; Pin 1 of the resistor RP3 is connected to pin 37 of the mainboard U1, pin 2 of the resistor RP3 is connected to the positive electrode of the light emitting diode LED2, and the negative electrode of the light emitting diode LED2 is grounded; Pin 1 of the resistor RP4 is connected to pin 15 of the mainboard U1, pin 2 of the resistor RP4 is connected to the positive electrode of the light emitting diode LED3, and the negative electrode of the light emitting diode LED3 is grounded; Pin 1 of the resistor RP2 is connected to pin 16 of the mainboard U1 , pin 2 of the resistor RP2 is connected to the positive electrode of the light emitting diode LED1 , and the negative electrode of the light emitting diode LED1 is grounded.