CN202815827U - Switchable serial port device capable of receiving and sending - Google Patents
Switchable serial port device capable of receiving and sending Download PDFInfo
- Publication number
- CN202815827U CN202815827U CN 201220402717 CN201220402717U CN202815827U CN 202815827 U CN202815827 U CN 202815827U CN 201220402717 CN201220402717 CN 201220402717 CN 201220402717 U CN201220402717 U CN 201220402717U CN 202815827 U CN202815827 U CN 202815827U
- Authority
- CN
- China
- Prior art keywords
- triode
- signal
- serial port
- emitter
- collector
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The utility model discloses a switchable serial port device capable of receiving and sending. The switchable serial port device capable of receiving and sending is respectively connected with a signal sending end and a signal receiving end through a serial port connecting line. The serial port device comprises a control circuit used for controlling the switching between a sending signal of the signal sending end and a receiving signal of the signal receiving end according to an electrical level of an input control signal. With the help of the increase of corresponding control circuit on the serial port connecting line, the signal sending end and the signal receiving end which are arranged at two ends of the serial port connecting line can be intelligently controlled, and a parallel mode and an intersecting mode can be switched according to actual needs and therefore the parallel mode and the intersecting mode become one is achieved.
Description
Technical field
The utility model relates to the serial communication field, relates in particular to the switchable serial port device of a kind of transmitting-receiving.
Background technology
As everyone knows, serial ports is a kind of very general communication protocol on the computing machine, and generally speaking, computing machine comprises two based on the serial ports of RS232, and serial ports also is the communication protocol of instrument and meter Device-General.Easy to use, the advantages such as transmission is reliable, number of signals is few, technology maturation that the serial communication mode has, thereby widely apply in various electronic products.In addition, serial communication protocol also can be used for obtaining the data of remote collection equipment.Serial communication as the term suggests be exactly data be to transmit by the mode of serial, what be used for data transmission only has Tx and Rx two data lines, be responsible for respectively sending and receiving, that is to say, be connected all between equipment and the equipment and realize by data connecting line, because the difference of equipment room serial ports transmitting-receiving line order, connecting line is divided into cross spider and parallel lines, only has the proper communication of selecting correct connecting line guarantee data.
During the equipment room serial data communication, need to connect by serial port connecting wire, and connecting line is divided into cross spider and parallel lines, common a kind of connecting line only possesses a kind of function, when realizing that unknown device connects, need to prepare two kinds of connecting lines, like this, bring a lot of inconvenience to data transmission.
The utility model content
The technical problems to be solved in the utility model is, for the not convenient defective of prior art data transmission, provides the switchable serial port device of transmitting-receiving that switches between a kind of cross-mode that realizes serial port connecting wire and the parallel model.
The technical scheme that its technical matters that solves the utility model adopts is: provide a kind of transmitting-receiving switchable serial port device, it is connected with signal receiving end with signal sending end respectively by serial port connecting wire, and described serial port device comprises according to the level of the control signal of inputting controls the control circuit that switches between the reception signal of the transmitted signal of described signal sending end and described signal receiving end.
Preferably, described serial port connecting wire comprises cross-connect cable and parallel connecting line.
Preferably, described control circuit specifically comprises control signal, first signal, secondary signal, the 3rd signal, the 4th signal, the first triode Q11, the second triode Q12, the 3rd triode Q21, the 4th triode Q22, the 5th triode Q31, the 6th triode Q32, the 7th triode Q41, the 8th triode Q42, the 9th triode Q5, the first resistance R 106, the second resistance R 107 and the 3rd resistance R 108; Wherein, described control signal respectively with an end of the first resistance R 106 be connected an end of resistance R 107 and be connected, the other end of the first resistance R 106 respectively with the base stage of the first triode Q11, the base stage of the second triode Q12, the base stage of the base stage of the 7th triode Q41 and the 8th triode Q42 connects, the other end of the second resistance R 107 is connected with the base stage of the 9th triode Q5, the grounded emitter of the 9th triode Q5, the collector of the 9th triode Q5 respectively with an end of the 3rd resistance R 108, the base stage of the 3rd triode Q21, the base stage of the 4th triode Q22, the base stage of the base stage of the 5th triode Q31 and the 6th triode Q32 connects, the other end of the 3rd resistance R 108 is connected with power supply, the collector of the 3rd triode Q21, the emitter of the 4th triode Q22, the emitter of the collector of the 7th triode Q41 and the 8th triode Q42 is connected with first signal A respectively, the collector of the first triode Q11, the emitter of the second triode Q12, the emitter of the collector of the 5th triode Q31 and the 6th triode Q32 is connected with secondary signal B respectively, the emitter of the first triode Q11, the collector of the second triode Q12, the collector of the emitter of the 3rd triode Q21 and the 4th triode Q22 is connected with the 3rd signal C respectively, the emitter of the 5th triode Q31, the collector of the 6th triode Q32, the collector of the emitter of the 7th triode Q41 and the 8th triode Q42 is connected with the 4th signal respectively.
Preferably, first signal and the 4th signal connect respectively the transmission pin of described signal sending end; Secondary signal and the 3rd signal connect respectively the reception pin of described signal receiving end.
Preferably, first signal and the 4th signal connect respectively the reception pin of described signal receiving end; Secondary signal and the 3rd signal connect respectively the transmission pin of described signal sending end.
Preferably, first signal and the 3rd signal connect respectively the transmission pin of described signal sending end; Secondary signal and the 4th signal connect respectively the reception pin of described signal receiving end.
Preferably, first signal and the 3rd signal connect respectively the reception pin of described signal receiving end; Secondary signal and the 4th signal connect respectively the transmission pin of described signal sending end.
Implement the technical solution of the utility model, has following beneficial effect: by increasing corresponding control circuit in serial port connecting wire, signal sending end and the signal receiving end at these serial port connecting wire two ends are carried out Based Intelligent Control, and switch according to the actual requirements parallel model and cross-mode, thereby realize that parallel model and cross-mode unite two into one.
Description of drawings
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the physical circuit figure of the utility model control circuit.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
In this scheme, this is received and dispatched switchable serial port device and is connected with signal receiving end with signal sending end respectively by serial port connecting wire, in the present embodiment, described serial port connecting wire comprises cross-connect cable and parallel connecting line, need to prove, this serial port connecting wire is can a line dual-purpose, that is to say, article one, serial port connecting wire can realize two kinds of functions, a kind of cross-mode function for adopting cross-connect cable to realize, another kind of parallel model function for adopting parallel connecting line to realize, like this, provide convenience for the debugging of serial communication, realized the intellectuality of serial port connecting wire, do not repeat them here.
It should be noted that described serial port device comprises according to the level of the control signal of inputting controls the control circuit that switches between the reception signal of the transmitted signal of described signal sending end and described signal receiving end.See also Fig. 1, Fig. 1 is the physical circuit figure of the utility model control circuit, as shown in Figure 1, described control circuit specifically comprises control signal CTRL, first signal A, secondary signal B, the 3rd signal C, the 4th signal D, the first triode Q11, the second triode Q12, the 3rd triode Q21, the 4th triode Q22, the 5th triode Q31, the 6th triode Q32, the 7th triode Q41, the 8th triode Q42, the 9th triode Q5, the first resistance R 106, the second resistance R 107 and the 3rd resistance R 108; Wherein, described control signal CTRL respectively with an end of the first resistance R 106 be connected an end of resistance R 107 and be connected, the other end of the first resistance R 106 respectively with the base stage of the first triode Q11, the base stage of the second triode Q12, the base stage of the base stage of the 7th triode Q41 and the 8th triode Q42 connects, the other end of the second resistance R 107 is connected with the base stage of the 9th triode Q5, the grounded emitter of the 9th triode Q5, the emitter of the 9th triode Q5 respectively with an end of the 3rd resistance R 108, the base stage of the 3rd triode Q21, the base stage of the 4th triode Q22, the base stage of the base stage of the 5th triode Q31 and the 6th triode Q32 connects, the other end of the 3rd resistance R 108 is connected with power supply VCC, the collector of the 3rd triode Q21, the emitter of the 4th triode Q22, the emitter of the collector of the 7th triode Q41 and the 8th triode Q42 is connected with first signal A respectively, the collector of the first triode Q11, the emitter of the second triode Q12, the emitter of the collector of the 5th triode Q31 and the 6th triode Q32 is connected with secondary signal B respectively, the emitter of the first triode Q11, the collector of the second triode Q12, the collector of the emitter of the 3rd triode Q21 and the 4th triode Q22 is connected with the 3rd signal C respectively, the emitter of the 5th triode Q 31, the collector of the 6th triode Q 32, the collector of the emitter of the 7th triode Q41 and the 8th triode Q42 is connected with the 4th signal D respectively.
Sketch the principle of work of this control circuit in conjunction with Fig. 1: if control signal CTRL input low level, the first triode Q11, the second triode Q12, the 7th triode Q41 and the 8th triode Q42 all are in conducting state, the 3rd triode Q21, the 4th triode Q22, the 5th triode Q31 and the 6th triode Q32 all are in cut-off state, thereby realize that first signal A is connected with the 3rd signal C, secondary signal B is connected with the 4th signal D, the above-mentioned parallel model function that realizes serial port connecting wire that belongs to, should be noted that, this parallel model function has following two kinds of situations, if first signal A and the 4th signal D connect respectively the transmission pin of described signal sending end, then secondary signal B and the 3rd signal C connect respectively the reception pin of described signal receiving end; If first signal A and the 4th signal D connect respectively the reception pin of described signal receiving end; Secondary signal B and the 3rd signal C connect respectively the transmission pin of described signal sending end, and those skilled in the art should know, not repeat them here.If control signal CTRL input high level, the first triode Q11, the second triode Q12, the 7th triode Q41 and the 8th triode Q42 all are in cut-off state, the 3rd triode Q21, the 4th triode Q22, the 5th triode Q31 and the 6th triode Q32 all are in conducting state, thereby realize that first signal A is connected with the 4th signal D, secondary signal B is connected with the 3rd signal C, the above-mentioned cross-mode function that realizes serial port connecting wire that belongs to, should be noted that, this cross-mode function has following two kinds of situations, if first signal A and the 3rd signal C connect respectively the transmission pin of described signal sending end, then secondary signal B and the 4th signal D connect respectively the reception pin of described signal receiving end; If first signal A and the 3rd signal C connect respectively the reception pin of described signal receiving end, then secondary signal B and the 4th signal D connect respectively the transmission pin of described signal sending end.Those skilled in the art should know, not repeat them here.
Therefore, switching by above-mentioned control signal CTRL high-low level, just reached the purpose of switching parallel model and cross-mode, in addition, it is parallel model or cross-mode that general serial port connecting wire does not mark this connecting line in appearance yet, connects communication to serial ports and has brought unnecessary trouble, adopts the serial port connecting wire in this scheme just needn't be concerned about this problem, greatly improve work efficiency, reduced unnecessary waste.
The above is preferred embodiment of the present utility model only, is not limited to the utility model, and for a person skilled in the art, the utility model can have various modifications and variations.All within spirit of the present utility model and principle, any modification of doing, be equal to replacement, improvement etc., all should be included within the claim scope of the present utility model.
Claims (7)
1. receive and dispatch switchable serial port device for one kind, it is connected with signal receiving end with signal sending end respectively by serial port connecting wire, it is characterized in that described serial port device comprises according to the level of the control signal of inputting controls the control circuit that switches between the reception signal of the transmitted signal of described signal sending end and described signal receiving end.
2. device according to claim 1 is characterized in that, described serial port connecting wire comprises cross-connect cable and parallel connecting line.
3. device according to claim 2, it is characterized in that described control circuit specifically comprises control signal (CTRL), first signal (A), secondary signal (B), the 3rd signal (C), the 4th signal (D), the first triode (Q11), the second triode (Q12), the 3rd triode (Q21), the 4th triode (Q22), the 5th triode (Q31), the 6th triode (Q32), the 7th triode (Q41), the 8th triode (Q42), the 9th triode (Q5), the first resistance (R106), the second resistance (R107) and the 3rd resistance (R108); Wherein, described control signal (CTRL) respectively with an end of the first resistance (R106) be connected an end of resistance (R107) and be connected, the other end of the first resistance (R106) respectively with the base stage of the first triode (Q11), the base stage of the second triode (Q12), the base stage of the base stage of the 7th triode (Q41) and the 8th triode (Q42) connects, the other end of the second resistance (R107) is connected with the base stage of the 9th triode (Q5), the grounded emitter of the 9th triode (Q5), the collector of the 9th triode (Q5) respectively with an end of the 3rd resistance (R108), the base stage of the 3rd triode (Q21), the base stage of the 4th triode (Q22), the base stage of the base stage of the 5th triode (Q31) and the 6th triode (Q32) connects, the other end of the 3rd resistance (R108) is connected with power supply (VCC), the collector of the 3rd triode (Q21), the emitter of the 4th triode (Q22), the emitter of the collector of the 7th triode (Q41) and the 8th triode (Q42) is connected with first signal (A) respectively, the collector of the first triode (Q11), the emitter of the second triode (Q12), the emitter of the collector of the 5th triode (Q31) and the 6th triode (Q32) is connected with secondary signal (B) respectively, the emitter of the first triode (Q11), the collector of the second triode (Q12), the collector of the emitter of the 3rd triode (Q21) and the 4th triode (Q22) is connected with the 3rd signal (C) respectively, the emitter of the 5th triode (Q31), the collector of the 6th triode (Q32), the collector of the emitter of the 7th triode (Q41) and the 8th triode (Q42) is connected with the 4th signal (D) respectively.
4. device according to claim 3 is characterized in that, first signal (A) and the 4th signal (D) connect respectively the transmission pin of described signal sending end; Secondary signal (B) and the 3rd signal (C) connect respectively the reception pin of described signal receiving end.
5. device according to claim 3 is characterized in that, first signal (A) and the 4th signal (D) connect respectively the reception pin of described signal receiving end; Secondary signal (B) and the 3rd signal (C) connect respectively the transmission pin of described signal sending end.
6. device according to claim 3 is characterized in that, first signal (A) and the 3rd signal (C) connect respectively the transmission pin of described signal sending end; Secondary signal (B) and the 4th signal (D) connect respectively the reception pin of described signal receiving end.
7. device according to claim 3 is characterized in that, first signal (A) and the 3rd signal (C) connect respectively the reception pin of described signal receiving end; Secondary signal (B) and the 4th signal (D) connect respectively the transmission pin of described signal sending end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220402717 CN202815827U (en) | 2012-08-15 | 2012-08-15 | Switchable serial port device capable of receiving and sending |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220402717 CN202815827U (en) | 2012-08-15 | 2012-08-15 | Switchable serial port device capable of receiving and sending |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202815827U true CN202815827U (en) | 2013-03-20 |
Family
ID=47874675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220402717 Expired - Fee Related CN202815827U (en) | 2012-08-15 | 2012-08-15 | Switchable serial port device capable of receiving and sending |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202815827U (en) |
-
2012
- 2012-08-15 CN CN 201220402717 patent/CN202815827U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN208092477U (en) | A kind of intelligent multi-channel data conversion device | |
CN203851126U (en) | Circuit realizing two-way communication by using single line | |
CN107204992B (en) | Multifunctional serial server and data transmission method | |
CN105472782B (en) | A kind of wireless communication terminal | |
CN204946336U (en) | The metering communication module of intelligent electric energy meter | |
CN202475477U (en) | Transmit-receive automatic switching circuit for converting RS485 interface into serial port | |
CN202815827U (en) | Switchable serial port device capable of receiving and sending | |
CN206741692U (en) | The energy data extraction element of electric energy meter | |
CN203606725U (en) | Control board card with RS232 communication interface and RS485 communication interface | |
CN210804414U (en) | Circuit with reusable communication interface | |
CN204423022U (en) | Can general purpose transducer opertaing device and system | |
CN204117347U (en) | The device that a kind of on-the-spot ammeter based on mobile phone and electric power terminal are safeguarded | |
CN204044808U (en) | The device that a kind of RS232 of realization, RS485 and USB turn mutually | |
CN201869212U (en) | Two-wire-system host computer circuit | |
CN103634028B (en) | A kind of PLC household electrical appliance communication terminal system | |
CN101859285B (en) | Method for transmitting status data of controlled self-service device to serial port of control host | |
CN201774527U (en) | Wireless transceiving module connected with USB interface and based on virtual COM interface | |
CN202103909U (en) | Automatic luminaire photometric characteristic monitoring device with Modbus communication function | |
CN202600934U (en) | Smart acquisition terminal with multiple communication modes | |
CN206249048U (en) | A kind of intelligent DTU equipment for being applied to Internet of Things field | |
CN204538419U (en) | A kind of compatible switching interface | |
CN207559989U (en) | Dismantled and assembled data transmission module circuit and device | |
CN205942681U (en) | Serial communication interface that can dispose | |
CN202649368U (en) | Network cable detection apparatus | |
CN203406861U (en) | Communication conversion tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130320 Termination date: 20200815 |
|
CF01 | Termination of patent right due to non-payment of annual fee |