CN215008798U - A waterproof physical interface for RS232 and RS485 port switch - Google Patents

A waterproof physical interface for RS232 and RS485 port switch Download PDF

Info

Publication number
CN215008798U
CN215008798U CN202120733365.0U CN202120733365U CN215008798U CN 215008798 U CN215008798 U CN 215008798U CN 202120733365 U CN202120733365 U CN 202120733365U CN 215008798 U CN215008798 U CN 215008798U
Authority
CN
China
Prior art keywords
interface
port
electromagnet
rotating shaft
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202120733365.0U
Other languages
Chinese (zh)
Inventor
王垦
谭龙
赵兵兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Communication Industry Service Co ltd Science And Technology Branch
Wuhan Data Technology Co ltd
China Telecom Corp Ltd Chengdu Branch
Original Assignee
Sichuan Communication Industry Service Co ltd Science And Technology Branch
Wuhan Data Technology Co ltd
China Telecom Corp Ltd Chengdu Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Communication Industry Service Co ltd Science And Technology Branch, Wuhan Data Technology Co ltd, China Telecom Corp Ltd Chengdu Branch filed Critical Sichuan Communication Industry Service Co ltd Science And Technology Branch
Priority to CN202120733365.0U priority Critical patent/CN215008798U/en
Application granted granted Critical
Publication of CN215008798U publication Critical patent/CN215008798U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Switch Cases, Indication, And Locking (AREA)
  • Push-Button Switches (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model discloses a waterproof physics interface for RS232 and RS485 port switch, including the base plate, its characterized in that, be equipped with switching circuit and interface shell on the base plate, switching circuit comprises development board and two sets of interface circuit, interface circuit comprises change over switch, two interface transceiver chips, AD chip and the RS232 RS485 interface that are used for RS232 and RS485 signal transmission respectively, the RS232 RS485 interface is nine needle ports. The utility model discloses in, merge RS232 and RS 485's signal output and input, reduce RS232 and RS485 to outer tube foot number by 5 for 3, and then judge the interface attribute through AD chip initiative detection interface characteristic, and then select the interface transceiver chip conducting circuit that corresponds, the realization is selected RS232 and RS 485's switching, this design has reduced external tapping quantity in conventional interface relatively, be favorable to doing equipment volume littleer, and can the automatic matching external device port, improve equipment's degree of automation.

Description

A waterproof physical interface for RS232 and RS485 port switch
Technical Field
The utility model relates to a hardware interface technical field especially relates to a waterproof physics interface that is used for RS232 and RS485 port to switch.
Background
Normally, one RS232 or RS485 interface needs to occupy one UART interface of a CPU, and under the condition that the UART interface of the CPU is limited, the equipment needs to be provided with both an RS232 port and an RS485 port, so that the realization is difficult.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a: in order to solve the problems, the waterproof physical interface for switching the RS232 port and the RS485 port is provided.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
a waterproof physical interface for switching RS232 and RS485 ports comprises a substrate and is characterized in that a switching circuit and an interface shell are arranged on the substrate, the switching circuit consists of a development board and two groups of interface circuits, the interface circuits consist of a switch, two interface transceiver chips, an A/D chip and an RS232/RS485 interface, the two interface transceiver chips are respectively used for transmitting RS232 and RS485 signals, the RS232/RS485 interface is a nine-pin port, signal input and signal output pins of the port are respectively connected with the two interface transceiver chips, the switch is connected with a UART and a GPIO port of the development board, the RS232/RS interface is positioned inside the interface shell, a first electromagnet and a second electromagnet are arranged inside the interface shell and are respectively positioned at two sides of the RS232/RS485 interface, a magnetic movable block and a sealing piece are arranged between the first electromagnet and the second electromagnet, and an elastic piece switch is arranged on one side, close to the inlet and the outlet of the plug, in the interface shell, and is electrically connected with the first electromagnet and the second electromagnet.
As a further description of the above technical solution:
the development board is provided with two UART ports which are respectively connected with the two groups of interface circuits.
As a further description of the above technical solution:
both ends all have two archs about the inside of interface housing, are located two bellied intervals of same end and the width of magnetism movable block the same.
As a further description of the above technical solution:
the protrusion is located between the first electromagnet and the second electromagnet, and the magnetic movable block slides along the guide groove formed by the two protrusions.
As a further description of the above technical solution:
the sealing piece is any one of a rubber sheet, a plastic sheet and a metal sheet, a rotating shaft is arranged in the interface shell and is connected with the interface shell through a coil spring rotating shaft, and the sealing piece is wound on the outer side of the rotating shaft.
As a further description of the above technical solution:
the length of the sealing element along the axial direction of the rotating shaft is greater than the distance between the bulges at the upper side and the lower side of the interface shell.
To sum up, owing to adopted above-mentioned technical scheme, the beneficial effects of the utility model are that:
1. the utility model discloses in, the interface is provided with the base plate, be provided with switching circuit on the base plate, switching circuit is last to have two UART ports, the port is connected with the switch respectively, interface transceiver chip, AD chip and interface, through merging RS232 and RS 485's signal output and input, reduce RS232 and RS485 to outer tube foot number by 5 and be 3, and then judge the interface attribute through AD chip initiative detection interface characteristic, and then select the interface transceiver chip conducting circuit that corresponds, realize the switching selection to RS232 and RS485, this design has reduced external tapping quantity in conventional interface relatively, be favorable to doing equipment volume littleer, and can match the external device port automatically, improve equipment's degree of automation.
2. The utility model discloses in, be provided with the interface housing on the base plate, be provided with two electro-magnets, magnetism movable block, sealing member and shell fragment switch in the interface housing, when the plug, make two electro-magnets circular telegrams respectively through the shell fragment switch, and then make the magnetism movable block toward the direction of difference remove, realize opening and shutting of sealing member to make the interface seal when not using the interface, strengthen the waterproof dustproof performance of interface.
Drawings
Fig. 1 is a schematic diagram illustrating an overall structure of an interface according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a switching circuit structure provided according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an interior front view structure of an interface housing according to an embodiment of the present invention;
fig. 4 shows a schematic diagram of a side view structure inside an interface housing according to an embodiment of the present invention.
Illustration of the drawings:
1. a substrate; 2. a switching circuit; 3. an interface housing; 4. a first electromagnet; 5. a second electromagnet; 6. a magnetic movable block; 7. a seal member; 8. a rotating shaft; 9. a dome switch; 10. and (4) protruding.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.
Referring to fig. 1-4, the present invention provides a technical solution: a waterproof physical interface for switching RS232 and RS485 ports comprises a substrate 1, and is characterized in that a switching circuit 2 and an interface shell 3 are arranged on the substrate 1, the switching circuit 2 consists of a development board and two groups of interface circuits, each interface circuit consists of a switch, two interface transceiver chips for RS232 and RS485 signal transmission respectively, an A/D chip and an RS232/RS485 interface, the RS232/RS485 interface is a nine-pin port, signal input and signal output pins of the port are connected with the two interface transceiver chips respectively, the switch is connected with a UART port and a GPIO port of the development board, the RS232/RS485 interface is positioned in the interface shell 3, a first electromagnet 4 and a second electromagnet 5 are arranged in the interface shell 3 and are positioned on two sides of the RS232/RS485 interface respectively, a magnetic movable block 6 and a sealing piece 7 are arranged between the first electromagnet 4 and the second electromagnet 5, one side of the inside of the interface housing 3, which is close to the inlet and outlet of the plug, is provided with a spring switch 9, and the spring switch 9 is electrically connected with the first electromagnet 4 and the second electromagnet 5.
Specifically, as shown in fig. 2, the development board has two UART ports, and the two UART ports are respectively connected to the two sets of interface circuits.
Specifically, as shown in fig. 4, the upper end and the lower end of the interior of the interface housing 3 are both provided with two protrusions 10, and the distance between the two protrusions 10 at the same end is the same as the width of the magnetic movable block 6. The protrusion 10 is located between the first electromagnet 4 and the second electromagnet 5, and the magnetic movable block 6 slides along a guide groove formed by the two protrusions 10. The length of the seal 7 in the axial direction of the rotary shaft 8 is greater than the pitch of the projections 10 on the upper and lower sides of the interface housing 3.
Specifically, as shown in fig. 3, the sealing member 7 is any one of a rubber sheet, a plastic sheet, and a metal sheet, the interface housing 3 is provided with a rotating shaft 8 inside, the rotating shaft 8 is connected with the interface housing 3 through a coil spring rotating shaft, and the sealing member 7 is wound on the outer side of the rotating shaft 8.
The working principle is as follows: when the plug is used, when the plug is inserted, the plug enters the interface shell 3, firstly, the plug can contact the elastic sheet switch 9 to enable the elastic sheet to move upwards, the first electromagnet 4 is electrified, the second electromagnet 5 is powered off, the magnetic movable block 6 is attracted by the first electromagnet 4 to move, meanwhile, the sealing element 7 is wound on the outer side of the rotating shaft 8 under the action of the torque of the rotating shaft of the coil spring, the interface is opened at the moment, the plug can be plugged, after the plug is connected, the interface is detected through the A/D chip to judge whether RS232 or RS485, and then the corresponding circuit is conducted through the switch SW; after the plug is taken down, the elastic sheet of the elastic sheet switch 9 is reset, the first electromagnet 4 is powered off, the second electromagnet 5 is powered on, and the magnetic movable block 6 pulls out the sealing piece 7 under the attraction of the second electromagnet 5 to seal the interface.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.

Claims (6)

1. A waterproof physical interface for switching RS232 and RS485 ports comprises a substrate (1) and is characterized in that a switching circuit (2) and an interface shell (3) are arranged on the substrate (1), the switching circuit (2) consists of a development board and two groups of interface circuits, each interface circuit consists of a switch, two interface transceiver chips, an A/D chip and an RS232/RS485 interface, the interface is used for transmitting RS232 and RS485 signals, the RS232/RS485 interface is a nine-pin port, signal input and signal output pins of the port are respectively connected with the two interface transceiver chips, the switch is connected with UART and GPIO ports of the development board, the RS232/RS485 interface is positioned in the interface shell (3), a first electromagnet (4) and a second electromagnet (5) are arranged in the interface shell (3), and the two electromagnets are respectively positioned at two sides of the RS232/RS485 interface, be equipped with magnetism movable block (6) and sealing member (7) between first electro-magnet (4) and second electro-magnet (5), the inside one side of being close to the plug exit of interface housing (3) is equipped with shell fragment switch (9), and shell fragment switch (9) and the equal electric connection of first electro-magnet (4) and second electro-magnet (5).
2. The physical interface of claim 1, wherein the development board has two UART ports, and the two UART ports are respectively connected to the two sets of interface circuits.
3. The waterproof physical interface for switching the RS232 port and the RS485 port of claim 1, wherein the upper end and the lower end of the inside of the interface housing (3) are both provided with two protrusions (10), and the distance between the two protrusions (10) at the same end is the same as the width of the magnetic movable block (6).
4. The waterproof physical interface for RS232 and RS485 port switching according to claim 3, characterized in that the protrusion (10) is located between the first electromagnet (4) and the second electromagnet (5), and the magnetic movable block (6) slides along the guide groove formed by the two protrusions (10).
5. The waterproof physical interface for RS232 and RS485 port switching according to claim 1, wherein the sealing member (7) is any one of a rubber sheet, a plastic sheet and a metal sheet, the inside of the interface housing (3) is provided with a rotating shaft (8), the rotating shaft (8) is connected with the interface housing (3) through a coil spring rotating shaft, and the sealing member (7) is wound outside the rotating shaft (8).
6. The waterproof physical interface for RS232 and RS485 port switching according to claim 3, wherein the length of the sealing element (7) along the axial direction of the rotating shaft (8) is larger than the distance between the protrusions (10) on the upper and lower sides of the interface housing (3).
CN202120733365.0U 2021-04-09 2021-04-09 A waterproof physical interface for RS232 and RS485 port switch Active CN215008798U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120733365.0U CN215008798U (en) 2021-04-09 2021-04-09 A waterproof physical interface for RS232 and RS485 port switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120733365.0U CN215008798U (en) 2021-04-09 2021-04-09 A waterproof physical interface for RS232 and RS485 port switch

Publications (1)

Publication Number Publication Date
CN215008798U true CN215008798U (en) 2021-12-03

Family

ID=79136274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120733365.0U Active CN215008798U (en) 2021-04-09 2021-04-09 A waterproof physical interface for RS232 and RS485 port switch

Country Status (1)

Country Link
CN (1) CN215008798U (en)

Similar Documents

Publication Publication Date Title
CN204905623U (en) Independent adapter and switching subassembly that charges
CN104218398A (en) Double-control socket applicable to intelligent home and manufacturing method thereof
CN215008798U (en) A waterproof physical interface for RS232 and RS485 port switch
CN204857507U (en) Digital sulfur hexafluoride density relay that possesses teletransmission monitoring function
CN200941362Y (en) Normally closed dry reed magnetic controlled switch
CN109000743A (en) A kind of sender circle of the forward and reverse Hall metering of water meter band
CN207457318U (en) A kind of modular electric energy meter
CN208623058U (en) A kind of carrying magnetic touches the connector of needle connection male and female module
CN204905166U (en) Magnetic latching relay for electric energy meter
CN210721964U (en) Graphical programming electronic building block
CN201060808Y (en) Novel three-phase magnetic retaining relay with connecting terminal
CN204793463U (en) Data line
CN209706875U (en) Novel high-precision intelligent electromagnetic flowmeter
CN208568893U (en) It is a kind of for the communication connecting system of multimeter, USB device and multimeter
CN207572953U (en) External interface standardized feeder protection device
CN206271978U (en) Input/output port
CN212138083U (en) Screw-free intelligent switch for bathroom
CN215679179U (en) PogoPin bidirectional connecting component
CN209311891U (en) A kind of low-power consumption and the Intellective Communication System for stablizing data transmission
CN106571853B (en) Control terminal based on power line carrier communication
CN214411090U (en) Leakage protection device for external power supply of electronic engineering
CN210981445U (en) Hall switch type multi-section liquid level sensing device
CN221127271U (en) Touch device with physical switch
CN210603337U (en) Application circuit of Hall IC element
CN218676167U (en) Switching device for internal and external antennas of POS terminal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant