CN1842091A - Automatic switching device of serial port RS232 and RS485 - Google Patents

Automatic switching device of serial port RS232 and RS485 Download PDF

Info

Publication number
CN1842091A
CN1842091A CN200510038579.1A CN200510038579A CN1842091A CN 1842091 A CN1842091 A CN 1842091A CN 200510038579 A CN200510038579 A CN 200510038579A CN 1842091 A CN1842091 A CN 1842091A
Authority
CN
China
Prior art keywords
circuit device
level shifting
automatic switch
automatic switching
serial port
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.)
Pending
Application number
CN200510038579.1A
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.)
WUXI BRIGHTSKY ELECTRONIC CO Ltd
Original Assignee
WUXI BRIGHTSKY ELECTRONIC CO Ltd
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 WUXI BRIGHTSKY ELECTRONIC CO Ltd filed Critical WUXI BRIGHTSKY ELECTRONIC CO Ltd
Priority to CN200510038579.1A priority Critical patent/CN1842091A/en
Publication of CN1842091A publication Critical patent/CN1842091A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention relates to an automatic switch device of the serial port RS232 and RS485. It comprises a RS232 electrical level transformation circuit device and a RS232 interface circuit device, a RS485 electrical level transformation circuit device and RS485 interface circuit device and a UART controller, wherein it is characterized in that it uses the automatic switch circuit device to connect the RS232 electrical level transformation circuit device and the RS485 electrical level transformation circuit device; the automatic switch circuit device is connected with the controller.

Description

The automatic switching control equipment of serial ports RS232 and RS485
(1) technical field
The present invention relates to the automatic switching control equipment of serial ports RS232 and RS485.
(2) background technology
Between existing serial ports RS232 and the RS485 is to select corresponding RS323 or RS485 data transmission channel by the hard wire jumper of wire jumper selector switch CN3, when selecting the RS232 communication, use and jump the 1.2 pin closures of cap CN3, reach the purpose of direct selection RS232 channel data transmission, when selecting the RS485 communication, use and jump the 3.4 pin closures of cap CN3, reach the purpose of selecting the transmission of RS485 channel data with this, though can reach the purpose that realizes switching with jumping cap like this, but still exist reliability low, use shortcomings such as dumb.
(3) summary of the invention
At being to select corresponding RS323 or RS485 data transmission channel between existing serial ports RS232 and the RS485 by adjusting the hard wire jumper of jumping cap selector switch CN3, its reliability is low, use shortcomings such as dumb, the invention provides the automatic switching control equipment of a kind of serial ports RS232 and RS485, its reliability height, the user is easy to use.
Its technical scheme is such: it comprises RS232 level shifting circuit device and RS232 interface circuit device, RS485 level shifting circuit device and RS485 interface circuit device, the UART controller, it is characterized in that: be connected with the automatic switch-over circuit device between RS232 level shifting circuit device and the RS485 level shifting circuit device, described automatic switch-over circuit device is connected with described controller.
The present invention adopts after the said structure, by of the identification of automatic switch-over circuit device to signal, realize the automatic switchover of RS232 and RS485, its reliability height, also do not need dependent manual operation, the user is easy to use, thereby to avoid between existing serial ports RS232 and the RS485 be to select corresponding RS323 or RS485 data transmission channel by adjusting the hard wire jumper of jumping cap selector switch CN3, its reliability is low, uses shortcomings such as dumb.
(4) description of drawings
Fig. 1 is a block diagram of the present invention;
Fig. 2 RS232 and RS485 automatic switch-over circuit schematic diagram of device;
Fig. 3 is RS232 interface circuit figure;
Fig. 4 is the two-way UART controller circuitry figure that is integrated in the ALIM5113 superI/O chip
Fig. 5 is RS232 level shifting circuit figure;
Fig. 6 is RS485 level shifting circuit and RS485 interface circuit figure.
(5) embodiment
See Fig. 1, it comprises RS232 level shifting circuit device and RS232 interface circuit device, RS485 level shifting circuit device and RS485 interface circuit device the present invention, the UART controller, be connected with the automatic switch-over circuit device between RS232 level shifting circuit device and the RS485 level shifting circuit device, described automatic switch-over circuit device is connected with described controller.Below in conjunction with Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6 describes control procedure of the present invention: the D1 of automatic switch-over circuit device, R1 discern automatically U1 (RS232) the data application reception and the transmission situation of U2 (RS485) passage, under the situation of free of data transmitting-receiving, the state of U1.26 (COM2-232-RXD signal) and U2.1 (485RXD2D signal) passage is a high level, this two-way gating signal is sent to 1.2 pin of D1 respectively, this moment and the not conducting of automatic switch-over circuit device, D1.3 (RXD2D signal) keeps and draws the VCC+5V high level, show that current RS232 and the RS485 passage channel that gating is not relevant there is no any data and carries out communication this moment, but when U1.26 (COM2-232-RXD signal) or U2.1485RXD2D signal) when passage has the request of data transmission, just can be by making D1.3 (RXD2D signal) select the go forward side by side line data transmission of corresponding RS232 or RS485 passage to low level with the automatic switch-over circuit device, and with the purpose of this realize automaticallying switch RS232 and RS485 passage.

Claims (1)

1, the automatic switching control equipment of serial ports RS232 and RS485, it comprises RS232 level shifting circuit device and RS232 interface circuit device, RS485 level shifting circuit device and RS485 interface circuit device, the UART controller, it is characterized in that: be connected with the automatic switch-over circuit device between RS232 level shifting circuit device and the RS485 level shifting circuit device, described automatic switch-over circuit device is connected with described controller.
CN200510038579.1A 2005-03-28 2005-03-28 Automatic switching device of serial port RS232 and RS485 Pending CN1842091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510038579.1A CN1842091A (en) 2005-03-28 2005-03-28 Automatic switching device of serial port RS232 and RS485

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510038579.1A CN1842091A (en) 2005-03-28 2005-03-28 Automatic switching device of serial port RS232 and RS485

Publications (1)

Publication Number Publication Date
CN1842091A true CN1842091A (en) 2006-10-04

Family

ID=37030931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510038579.1A Pending CN1842091A (en) 2005-03-28 2005-03-28 Automatic switching device of serial port RS232 and RS485

Country Status (1)

Country Link
CN (1) CN1842091A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708823A (en) * 2012-06-01 2012-10-03 天马微电子股份有限公司 Automatic switching circuit for RS232 interface and RS485 interface and serial port liquid crystal display module
CN101609313B (en) * 2009-07-16 2012-10-10 北京亚博瑞思科技开发有限责任公司 Control circuit for switching communication interface in operating device of automatic parking equipment and method therefor
CN103257610A (en) * 2012-02-16 2013-08-21 西门子公司 Programmable logic controller (PLC) switching device and PLC thereof
CN103677838A (en) * 2013-12-17 2014-03-26 北京奥特美克科技股份有限公司 RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer
CN105069878A (en) * 2015-08-06 2015-11-18 重庆多创电子技术有限公司 Gate inhibition controller
CN106649177A (en) * 2016-12-29 2017-05-10 上海贝电实业(集团)股份有限公司 Device for automatic identification and switching of port of universal serial interface and working method thereof
CN109902047A (en) * 2019-02-22 2019-06-18 广州开信通讯系统有限公司 A kind of serial communication interface multiplex circuit and application method
CN114003455A (en) * 2021-12-31 2022-02-01 广州鲁邦通物联网科技股份有限公司 Serial port automatic test system, interface automatic test method and test platelet

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609313B (en) * 2009-07-16 2012-10-10 北京亚博瑞思科技开发有限责任公司 Control circuit for switching communication interface in operating device of automatic parking equipment and method therefor
CN103257610A (en) * 2012-02-16 2013-08-21 西门子公司 Programmable logic controller (PLC) switching device and PLC thereof
CN102708823A (en) * 2012-06-01 2012-10-03 天马微电子股份有限公司 Automatic switching circuit for RS232 interface and RS485 interface and serial port liquid crystal display module
CN103677838A (en) * 2013-12-17 2014-03-26 北京奥特美克科技股份有限公司 RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer
CN105069878A (en) * 2015-08-06 2015-11-18 重庆多创电子技术有限公司 Gate inhibition controller
CN105069878B (en) * 2015-08-06 2018-07-06 重庆多创电子技术有限公司 Access controller
CN106649177A (en) * 2016-12-29 2017-05-10 上海贝电实业(集团)股份有限公司 Device for automatic identification and switching of port of universal serial interface and working method thereof
CN106649177B (en) * 2016-12-29 2023-06-09 上海贝电实业(集团)股份有限公司 Automatic port identification switching device of universal serial port and working method thereof
CN109902047A (en) * 2019-02-22 2019-06-18 广州开信通讯系统有限公司 A kind of serial communication interface multiplex circuit and application method
CN114003455A (en) * 2021-12-31 2022-02-01 广州鲁邦通物联网科技股份有限公司 Serial port automatic test system, interface automatic test method and test platelet
CN114003455B (en) * 2021-12-31 2022-04-08 广州鲁邦通物联网科技股份有限公司 Serial port automatic test system, interface automatic test method and test platelet

Similar Documents

Publication Publication Date Title
CN1842091A (en) Automatic switching device of serial port RS232 and RS485
CN203466798U (en) Serial-port switching device based on electronic switch
CN203026432U (en) Manual and electric control dual-purpose switch
CN203276125U (en) Double-screen display mobile information device
CN103654257A (en) Curtain intelligent control system based on ZigBee
CN201892942U (en) Universal serial port adapter
CN202075964U (en) Light-emitting diode (LED) control board based on embedded micro controller unit (MCU)
CN101609313B (en) Control circuit for switching communication interface in operating device of automatic parking equipment and method therefor
CN208459976U (en) The keyboard of light-operated automatic adjustment backlight
CN202796074U (en) USB flash disk with double interfaces of serial port and USB
CN202444784U (en) Mower
CN102340569A (en) Mobile phone with LED (Light-emitting Diode) backlight flickering by touch control
CN202075571U (en) Touch intelligent home control switch
CN204538394U (en) Socket
CN201489329U (en) Valve control keyboard
CN203931942U (en) Relay
CN205485508U (en) Electricity strength magnets controlling means
CN211699044U (en) ETC liquid crystal control box
CN203026740U (en) Intelligent socket
CN201943930U (en) Large power electronic pressure controller for water supplying system of water pump
CN202818264U (en) Capacitive touch switch
CN201654065U (en) Positive-share and negative-share port switching device of current equipment
CN204086228U (en) A kind of Novel liquid-phase chromatographic component gatherer
CN201563245U (en) Switching module for multiple 3G operator UIM cards
CN200947385Y (en) Main contact with small contact resistance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication