CN206178799U - RS485 and RS232 communication adaptive hardware circuit - Google Patents

RS485 and RS232 communication adaptive hardware circuit Download PDF

Info

Publication number
CN206178799U
CN206178799U CN201620935747.0U CN201620935747U CN206178799U CN 206178799 U CN206178799 U CN 206178799U CN 201620935747 U CN201620935747 U CN 201620935747U CN 206178799 U CN206178799 U CN 206178799U
Authority
CN
China
Prior art keywords
circuit
interfaces
switching circuit
level shifting
level
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
CN201620935747.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.)
Beijing Etrol Oil And Gas Technology Co ltd
Original Assignee
BEIJING ANKONG TECHNOLOGY 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 BEIJING ANKONG TECHNOLOGY Co Ltd filed Critical BEIJING ANKONG TECHNOLOGY Co Ltd
Priority to CN201620935747.0U priority Critical patent/CN206178799U/en
Application granted granted Critical
Publication of CN206178799U publication Critical patent/CN206178799U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

The application discloses a RS485 and RS232 communication adaptive hardware circuit, its circuit structure is simple, has realized two kinds of communication mode's of RS232 and RS485 automatic switch -over, and the shell that need not to open the controller just can carry out the selection of wire jumper, and the reliability is higher, and it is more convenient that the user uses. This kind of RS485 and RS232 communication adaptive hardware circuit, it includes microprocessor, switching circuit, RS232 level shifting circuit, RS232 interface, RS485 level shifting circuit, RS485 interface, wherein be connected through the switching circuit between RS232 level shifting circuit and the RS485 level shifting circuit, the switching circuit with microprocessor connects, communication data channel RS232 interface or RS485 interface are selected according to the height of level to the switching circuit.

Description

A kind of RS485 and RS232 communicates the hardware circuit of self adaptation
Technical field
The utility model belongs to the technical field of serial communication, more particularly to a kind of RS485 and RS232 communicates self adaptation Hardware circuit.
Background technology
Existing serial ports RS232 and the connection between RS485 and microprocessor are corresponding to select by way of wire jumper RS485 and RS232 data transmission channels, the method needs artificial operation, and its reliability is low, using dumb, and operates When need to open the shell of controller to carry out the selection of wire jumper, bother very much when in use.
The content of the invention
The technical problems to be solved in the utility model is the defect for overcoming prior art, there is provided a kind of RS485 and RS232 leads to The hardware circuit of self adaptation is interrogated, its circuit structure is simple, realizes two kinds of automatic switchovers of communication modes of RS232 and RS485, nothing The shell that controller need to be opened can be carried out the selection of wire jumper, and reliability is higher, and it is more convenient that user uses.
The technical scheme for solving the above problems is:This RS485 and RS232 communicates the hardware circuit of self adaptation, and it includes Microprocessor, switching circuit, RS232 level shifting circuits, RS232 interfaces, RS485 level shifting circuits, RS485 interfaces;Its It is connected by switching circuit between middle RS232 level shifting circuits and RS485 level shifting circuits, the switching circuit and institute Microprocessor connection is stated, the switching circuit selects communication data passage RS232 interfaces or RS485 to connect according to the height of level Mouthful.
It is connected by switching circuit between the utility model RS232 level shifting circuits and RS485 level shifting circuits, The switching circuit is connected with the microprocessor, and the switching circuit selects communication data passage according to the height of level RS232 interfaces or RS485 interfaces, therefore circuit structure is simple, realizes the automatic of two kinds of communication modes of RS232 and RS485 and cuts Change, the shell without opening controller can be carried out the selection of wire jumper, reliability is higher, it is more convenient that user uses.
Brief description of the drawings
Fig. 1 is RS485 of the present utility model and the circuit block diagram of the hardware circuit of RS232 communication self adaptations;
Fig. 2 be RS485 of the present utility model and one of switching circuit of the hardware circuit of RS232 communication self adaptations preferably The schematic diagram of embodiment;
Fig. 3 is the circuit diagram of RS232 level shifting circuits in the utility model;
Fig. 4 is the circuit diagram of RS485 level shifting circuits in the utility model.
Specific embodiment
As shown in figure 1, this RS485 and RS232 communicates the hardware circuit of self adaptation, it includes microprocessor, switching electricity Road, RS232 level shifting circuits, RS232 interfaces, RS485 level shifting circuits, RS485 interfaces;Wherein RS232 level conversions It is connected by switching circuit between circuit and RS485 level shifting circuits, the switching circuit is connected with the microprocessor, The switching circuit selects communication data passage RS232 interfaces or RS485 interfaces according to the height of level.
It is connected by switching circuit between the utility model RS232 level shifting circuits and RS485 level shifting circuits, The switching circuit is connected with the microprocessor, and the switching circuit selects communication data passage according to the height of level RS232 interfaces or RS485 interfaces, therefore circuit structure is simple, realizes the automatic of two kinds of communication modes of RS232 and RS485 and cuts Change, the shell without opening controller can be carried out the selection of wire jumper, reliability is higher, it is more convenient that user uses.
In addition, as shown in Fig. 2 the switching circuit include SN74LVC08ADBR chips, when RS485 interfaces or RS232 connect When mouth has request of data to transmit, corresponding RS232 interfaces or RS485 interfaces is selected to go forward side by side by SN74LVC08ADBR chips Row data transfer.
The utility model realizes data receiver and sends automatic shunt by the design of logic circuit, so as to realize with for the moment Carve and use a kind of communication modes.Its reliability is higher, and it is more convenient that user uses.Implementing the beneficial effects of the utility model is, Circuit structure is simple, and two kinds of automatic switchovers of communication modes of RS232 and RS485 are realized by the logic judgment of circuit, without Opening the shell of controller carries out the selection of wire jumper.
The above, is only preferred embodiment of the present utility model, and any formal limit is not made to the utility model System.It will be apparent to an ordinarily skilled person in the art that every made according to technical spirit of the present utility model to above example Any simple modification, equivalent variations and modification, still belong to the protection domain of technical solutions of the utility model.

Claims (2)

1. a kind of RS485 and RS232 communicates the hardware circuit of self adaptation, it is characterised in that:It includes microprocessor, switching electricity Road, RS232 level shifting circuits, RS232 interfaces, RS485 level shifting circuits, RS485 interfaces;Wherein RS232 level conversions It is connected by switching circuit between circuit and RS485 level shifting circuits, the switching circuit is connected with the microprocessor, The switching circuit selects communication data passage RS232 interfaces or RS485 interfaces according to the height of level.
2. RS485 according to claim 1 and RS232 communicates the hardware circuit of self adaptation, it is characterised in that:The switching Circuit includes SN74LVC08ADBR chips, when RS485 interfaces or RS232 interfaces have request of data to transmit, passes through SN74LVC08ADBR chips select corresponding RS232 interfaces or RS485 interfaces and carry out data transmission.
CN201620935747.0U 2016-08-24 2016-08-24 RS485 and RS232 communication adaptive hardware circuit Active CN206178799U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620935747.0U CN206178799U (en) 2016-08-24 2016-08-24 RS485 and RS232 communication adaptive hardware circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620935747.0U CN206178799U (en) 2016-08-24 2016-08-24 RS485 and RS232 communication adaptive hardware circuit

Publications (1)

Publication Number Publication Date
CN206178799U true CN206178799U (en) 2017-05-17

Family

ID=60240465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620935747.0U Active CN206178799U (en) 2016-08-24 2016-08-24 RS485 and RS232 communication adaptive hardware circuit

Country Status (1)

Country Link
CN (1) CN206178799U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182166A (en) * 2018-01-25 2018-06-19 深圳市朗仁科技有限公司 Serial ports channel selection circuit and with its vehicular data acquisition box
CN109388600A (en) * 2018-09-21 2019-02-26 深圳市亿威源科技有限公司 Adaptive approach that is a kind of while supporting communication
CN110188061A (en) * 2019-06-10 2019-08-30 上海乾申软件科技有限公司 RS485 interface and RS232 interface automatic switch-over circuit and electronic equipment
CN110399326A (en) * 2019-08-02 2019-11-01 沈阳民航东北凯亚有限公司 A kind of data conversion equipment
CN112865984A (en) * 2020-12-31 2021-05-28 深圳市共济科技股份有限公司 Communication interface switching circuit and switching method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182166A (en) * 2018-01-25 2018-06-19 深圳市朗仁科技有限公司 Serial ports channel selection circuit and with its vehicular data acquisition box
CN109388600A (en) * 2018-09-21 2019-02-26 深圳市亿威源科技有限公司 Adaptive approach that is a kind of while supporting communication
CN109388600B (en) * 2018-09-21 2022-10-18 深圳市亿威源科技有限公司 Self-adaptive method for simultaneously supporting multiple communication modes
CN110188061A (en) * 2019-06-10 2019-08-30 上海乾申软件科技有限公司 RS485 interface and RS232 interface automatic switch-over circuit and electronic equipment
CN110399326A (en) * 2019-08-02 2019-11-01 沈阳民航东北凯亚有限公司 A kind of data conversion equipment
CN112865984A (en) * 2020-12-31 2021-05-28 深圳市共济科技股份有限公司 Communication interface switching circuit and switching method thereof

Similar Documents

Publication Publication Date Title
CN206178799U (en) RS485 and RS232 communication adaptive hardware circuit
CN106383800A (en) Intelligent serial interface equipment switching device and method
CN206517411U (en) A kind of dual-mode communication system wireless based on power line carrier and micropower
CN203027245U (en) RS232 and RS485 adaptive interface circuit
CN107070445A (en) A kind of serial communication interface function switching circuit and method
CN205142257U (en) 485 communication interface circuit of two compatible opto -couplers and control of three opto -couplers
CN205648151U (en) Touch switch is controlled in two accuses of single live wire more
CN202374297U (en) Serial port and Ethernet interface multiplexing structure
CN202649998U (en) RS232/RS485/RS422 comprehensive test interface circuit
CN204839172U (en) Water dispenser control system
CN209044590U (en) Multiple serial communication switching device
CN203996287U (en) The aobvious interface box of a kind of lamp of shunting
CN201622783U (en) LED module communication circuit and LED display screen
CN209170052U (en) A kind of multi-level communication conversion module that 10kV switch controller is embedded
CN206178790U (en) Serial communication port conversion equipment
CN208127983U (en) Two lines bus communicates fire-fighting emergency power supply
CN203606824U (en) Circuit achieving intelligent serial port multiplexing through multi-way switch
CN102613929A (en) Touch control type shower room
CN202519750U (en) Touch control shower room
CN206948592U (en) Multichannel for handling more radio signals inputs gates public address set circuit
CN201467234U (en) 485 communication circuit capable of automatically controlling transmitting and receiving
CN205541403U (en) Drive -by -wire ware power line carrier communication structure
CN218212964U (en) Improved RS485 serial port circuit of water quality multi-parameter online monitor
CN206164537U (en) Infrared transmission device of high -speed remote directional data
CN206036646U (en) LNG adds unibus controlling means of mechanism of qi multimachine interconnection

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 644000 Building 9, Jinrun Industrial Park, Xuzhou District, Yibin City, Sichuan Province

Patentee after: Sichuan Security Control Technology Co.,Ltd.

Address before: 100095 building 6, yard 9, Dijin Road, Haidian District, Beijing

Patentee before: BEIJING ECHO TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220926

Address after: Room 101-10, 4th Floor, Building 5, Yard 9, Dijin Road, Haidian District, Beijing 100089

Patentee after: BEIJING ETROL OIL AND GAS TECHNOLOGY Co.,Ltd.

Address before: 644000 Building 9, Jinrun Industrial Park, Xuzhou District, Yibin City, Sichuan Province

Patentee before: Sichuan Security Control Technology Co.,Ltd.