An adaptive TTL or RS232 communication circuit
By building a signal detection module and a path selection module through discrete components, the automatic conversion and compatibility of adaptive TTL or RS232 signals is achieved, and the cost is high, the logic is complex and the re-insert peripherals in the existing technology are solved. Problem, low-cost, high-compatibility adaptive communication is achieved.
Patent Information
- Application Number
- CN202111032223.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-03
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2041-09-03
AI Technical Summary
The existing adaptive TTL or RS232 communication circuits have high cost, complex logic, and do not support the host to re-insert the peripherals for adaptive communication when the host is constantly powered.
A discrete component is used to build a signal detection module, which automatically converts the RS232 signal to the TTL signal output, maintains the TTL signal output, realizes adaptive communication through the signal detection module and the path selection module, and supports the reinsertion of peripherals when the host is constantly powered.
Reduces costs, simplifies debugging, improves circuit compatibility, supports adaptive communication when the host is constantly powered, and does not require MCU intervention to detect, protecting the MCU.
Smart Images

Figure CN113791998B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to computer communication technology, in particular to an adaptive TTL or RS232 communication circuit. Background Art
[0002] At present, some peripheral products on the market use TTL or RS232 signals as interface communication. In this case, you need to disassemble the machine to select the communication method between the host and the peripheral. You can do this by soldering a 0Ω resistor, or by turning on a dip switch, or by using some more complex adaptive circuits.
[0003] Existing adaptive circuits have the following disadvantages:
[0004] ① Application number 200810040738.5, patent name "An adaptive circuit and its processing method". The disadvantage of the technical solution of this patent document is that the main control MCU needs to determine the serial communication mode, and the MCU needs to select the serial port TTL or RS232, which not only increases the workload of the software, but also reduces the compatibility of the circuit.
[0005] ② Application number 201610822905.6, patent name "A method for adaptive TTL and RS232 serial communication". The disadvantage of the technical solution of this patent document is that the judgment and selection self-locking circuit of TTL or RS232 are relatively complicated, and a series of ICs are used, which are expensive and have complex logic.
[0006] ③ Application number 201510361884.8, patent name "A serial port TTL / RS232 level adaptive device". The disadvantage of the technical solution of this patent document is that it does not support reinserting external devices for re-adaptive communication without disconnecting the host power. That is, assuming that the peripheral device is TTL or RS232 communication, if the host is powered on and replaced with an RS232 or TTL peripheral, the host will not be able to communicate. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide an adaptive TTL or RS232 communication circuit, which uses discrete components to build a signal detection module. When an RS232 signal input is detected, it is automatically converted into a TTL signal output. When a TTL signal input is detected, the TTL signal output is maintained.
[0008] The present invention is achieved in that a communication circuit of adaptive TTL or RS232 comprises:
[0009] The first communication terminal is used to input TTL signal or RS232 signal;
[0010] The second communication terminal is used to output TTL signal;
[0011] The first signal conversion module is used for converting between TTL signals and RS232 signals;
[0012] A first path selection module, comprising a first signal terminal, a second signal terminal, a third signal terminal and a control terminal, when the control terminal is at a low level, the first signal terminal is connected to the third signal terminal, when the control terminal is at a high level, the second signal terminal is connected to the third signal terminal;
[0013] The first communication terminal is connected to the input terminal of the first signal conversion module and the first signal terminal of the first path selection module, the output terminal of the first signal conversion module is connected to the second signal terminal of the first path selection module, and the third signal terminal of the first path selection module is connected to the second communication terminal;
[0014] The signal detection module includes a collector of an NPN transistor connected to one end of a first resistor and a positive electrode of a diode, the other end of the first resistor connected to a power supply terminal and one end of a second resistor, a base of the NPN transistor connected to the other end of the second resistor and one end of a third resistor, a cathode of the diode connected to one end of a capacitor, one end of a fourth resistor, and a control end of the first path selection module, an emitter of the NPN transistor, the other end of the capacitor, and the other end of the fourth resistor are all grounded, and the other end of the third resistor is connected to the first communication terminal.
[0015] Furthermore, it also includes:
[0016] The third communication terminal is used to output TTL signal or RS232 signal;
[0017] The fourth communication terminal is used to input TTL signals;
[0018] A second signal conversion module, having the same function as the first signal conversion module;
[0019] A second path selection module having the same function as the first path selection module;
[0020] The fourth communication terminal is connected to the input terminal of the second signal conversion module and the first signal terminal of the second path selection module, the output terminal of the second signal conversion module is connected to the second signal terminal of the second path selection module, the third signal terminal of the second path selection module is connected to the third communication terminal, and the control terminal of the second path selection module is connected to the control terminal of the first path selection module.
[0021] Furthermore, it also includes: a peripheral interface, a TX end of the peripheral interface is connected to the first communication end, and a RX end of the peripheral interface is connected to the third communication end.
[0022] Furthermore, the peripheral interface is connected to a fingerprint device module, a camera module or a sensor module.
[0023] Furthermore, it also includes: a host interface, wherein the RX end of the host interface is connected to the second communication end, and the TX end of the host interface is connected to the fourth communication end.
[0024] Furthermore, the host interface is connected to the MCU, the RX end of the host interface is connected to the negative electrode of the first voltage regulator tube and one end of the fifth resistor, the other end of the fifth resistor is connected to the second communication end, the TX end of the host interface is connected to the negative electrode of the second voltage regulator tube and one end of the sixth resistor, the other end of the sixth resistor is connected to the fourth communication end, and the positive electrode of the first voltage regulator tube and the positive electrode of the second voltage regulator tube are both grounded.
[0025] Furthermore, the first signal conversion module and the second signal conversion module are combined into an integral signal conversion module.
[0026] Furthermore, the resistance of the fourth resistor is much greater than the resistance of the first resistor.
[0027] Furthermore, the diode is a light emitting diode.
[0028] Furthermore, the first communication terminal is used to output a TTL signal;
[0029] The second communication terminal is used to input TTL signal or RS232 signal;
[0030] The other end of the third resistor is connected to the second communication end.
[0031] The advantages of the present invention are: 1. The signal detection module is built with discrete components, which is low-cost and easy to debug; when an RS232 signal input is detected, it is automatically converted into a TTL signal output, and when a TTL signal input is detected, the TTL signal output is maintained, and adaptive communication is achieved. 2. The MCU does not need to intervene to detect TTL or RS232 signals, which reduces the software workload and improves the compatibility of the circuit. 3. It supports adaptive communication with peripherals without powering off the host. 4. When it is detected that the peripheral interface is an RS232 signal, the TTL signal of the host interface can be converted into an RS232 signal for the peripheral interface. 5. A voltage regulator is set at the RX and TX ends of the host interface to limit the possible signal levels and protect the MCU. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0033] Figure 1It is a schematic diagram of the adaptive TTL or RS232 communication circuit of the present invention.
[0034] Figure 2 It is a schematic diagram of the signal detection module in the present invention.
[0035] Figure 3 This is a schematic diagram of the connection between the signal conversion module, the path selection module, the peripheral interface and the MCU in the present invention. Figure 1 .
[0036] Figure 4 This is a schematic diagram of the connection between the signal conversion module, the path selection module, the peripheral interface and the MCU in the present invention. Figure 2 . DETAILED DESCRIPTION
[0037] The embodiment of the present invention solves the shortcomings of the three patent documents in the background technology by providing an adaptive TTL or RS232 communication circuit, and achieves the technical effects of low cost, easy debugging, improved circuit compatibility, and support for re-communication with peripherals when the host is not powered off.
[0038] The technical solution in the embodiment of the present invention is to solve the above shortcomings, and the overall idea is as follows:
[0039] According to the communication mode of RS232 signal: -3~-15V is logic "1", 3~15V is logic "0"; the communication mode of TTL signal: 2~5V is logic "1", 0~0.8V is logic "0"; the initial state of external devices of RS232 signal and external devices of TTL signal at power-on is "1", and a signal detection module is built with discrete components. When an external device of RS232 signal is detected, the signal detection module outputs a high level to the control end of the channel selection module, automatically converts the RS232 signal into a TTL signal and transmits it to the host. When an external device of TTL signal is detected, the signal detection module outputs a low level to the control end of the channel selection module, maintains the TTL signal and transmits it to the host, thereby realizing adaptive communication.
[0040] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0041] See also Figures 1 to 3 , Embodiment 1 of the present invention.
[0042] A communication circuit that is adaptive to TTL or RS232, comprising: a first communication terminal A1, used to input a TTL signal or an RS232 signal; a second communication terminal A2, used to output a TTL signal; a first signal conversion module, used to convert between a TTL signal and an RS232 signal; a first path selection module U1, comprising a first signal terminal S1, a second signal terminal S2, a third signal terminal S3 and a control terminal Det, when the control terminal Det is at a low level, the first signal terminal S1 is connected to the third signal terminal S3, when the control terminal Det is at a high level, the second signal terminal S2 is connected to the third signal terminal S3; the ... The communication terminal A1 is connected to the input terminal of the first signal conversion module and the first signal terminal S1 of the first path selection module U1, the output terminal of the first signal conversion module is connected to the second signal terminal S2 of the first path selection module U1, and the third signal terminal S3 of the first path selection module U1 is connected to the second communication terminal A2; that is, when the control terminal Det of the first path selection module U1 is at a low level, the signal of the first communication terminal A1 is directly transmitted to the second communication terminal A2, and when the control terminal Det of the first path selection module U1 is at a high level, the signal of the first communication terminal A1 is converted by the first signal conversion module and then transmitted to the second communication terminal A2. The signal of the first communication terminal A1 comes from the peripheral device, and the second communication terminal A2 transmits the signal to the host.
[0043] The signal detection module U4 includes a collector of an NPN transistor Q1 connected to one end of a first resistor R1 and a positive electrode of a diode D1, the other end of the first resistor R1 connected to a power supply terminal and one end of a second resistor R2, a base of the NPN transistor Q1 connected to the other end of the second resistor R2 and one end of a third resistor R3, a cathode of the diode D1 connected to one end of a capacitor C1, one end of a fourth resistor R4, and a control terminal Det of the first path selection module U1, an emitter of the NPN transistor Q1, the other end of the capacitor C1, and the other end of the fourth resistor R4 are all grounded, and the other end of the third resistor R3 is connected to the first communication terminal A1. The power supply terminal is 5.0V, and the capacitor C1 is not charged yet. According to the communication mode of RS232 signal: -3~-15V is logic "1", 3~15V is logic "0"; the communication mode of TTL signal: 2~5V is logic "1", 0~0.8V is logic "0"; the initial state of RS232 signal external devices and TTL signal external devices at power-on is "1". If the peripheral device is TTL signal communication, the external device first sends the logic "1" of the TTL signal, that is, 2~5V, to the first communication terminal A1, and loads it to the base of the NPN transistor Q1 through the third resistor R3. At this time, the base level of the NPN transistor Q1 is greater than the threshold of the NPN transistor Q1 conduction, so that the NPN transistor Q1 is turned on, the collector of the NPN transistor Q1 becomes a low level, the diode D1 is cut off, and the control terminal Det of the first channel selection module U1 is a low level. The signal of the first communication terminal A1 is directly transmitted to the second communication terminal A2, and the peripheral device and the host perform TTL signal communication. ; During the communication process, the TTL signal is a square wave, and the peripheral device then sends the logic "0" of the TTL signal, i.e., 0~0.8V, to the first communication terminal A1. Since the 5.0V of the power supply terminal acts on the base of the NPN transistor Q1 through the second resistor R2, the base of the NPN transistor Q1 is still at a high level, which is greater than the threshold of the NPN transistor Q1 conduction. The NPN transistor Q1 remains turned on, the collector of the NPN transistor Q1 is still at a low level, the diode D1 remains cut off, and the control terminal Det of the first path selection module U1 remains at a low level, and the peripheral device and the host maintain TTL signal communication.If the peripheral device is RS232 signal communication, the external device first sends the logic "1" of the RS232 signal, that is, -3~-15V, to the first communication terminal A1. At this time, the base level of the NPN transistor Q1 is lower than the threshold of the NPN transistor Q1 conduction, and the NPN transistor Q1 is in the cut-off state. The collector of the NPN transistor Q1 is high level, the diode D1 is turned on, and the capacitor C1 is quickly charged. The charging time of the capacitor C1 is 0.1 seconds. In this way, a high level is output to the control terminal Det of the first path selection module U1, so that the RS232 signal of the first communication terminal A1 is converted into a TTL signal by the first signal conversion module and then transmitted to the second communication terminal A2, and the peripheral device and the host communicate from RS232 signal to TTL signal; during the communication process, the RS232 signal is a square wave, and the peripheral device sends the logic "0" of the RS232 signal, that is, 3~15V, to the first communication terminal A1. At this time, the base level of the NPN transistor Q1 becomes higher than the NPN transistor. The threshold of the conduction of the transistor Q1, the NPN transistor Q1 becomes the on state, the collector of the NPN transistor Q1 becomes the low level, and the diode D1 becomes the off state. At this time, the capacitor C1 can only be discharged through the fourth resistor R4, so that the high level continues to be output to the control terminal Det of the first path selection module U1; the resistance value of the fourth resistor R4 is much greater than the resistance value of the first resistor R1, so that the discharge time of the capacitor C1 is much greater than the charging time. Therefore, before the capacitor C1 is discharged to make the control terminal Det of the first path selection module U1 become the low level, the peripheral device sends the logic "1" of the RS232 signal, that is, -3~-15V, to the first communication terminal A1. At this time, the NPN transistor Q1 becomes the off state, the diode D1 becomes the on state, and the power supply terminal 5.0V charges the capacitor C1 through the first resistor R1 and the diode D1, so that the control terminal Det of the first path selection module U1 is maintained at a high level, and the peripheral device and the host maintain RS232 signal to TTL signal communication.
[0044] When the signal detection module U4 detects the RS232 signal input of the peripheral device, the present invention automatically converts it into a TTL signal and outputs it to the host. When the TTL signal input of the peripheral device is detected, the present invention keeps the TTL signal output to the host for adaptive communication.
[0045] When the first communication terminal A1 is disconnected from the peripheral device, the first communication terminal A1 is suspended, and the power supply terminal 5.0V acts on the base of the NPN transistor Q1 through the second resistor R2, so that the NPN transistor Q1 is turned on, the collector of the NPN transistor Q1 is at a low level, the diode D1 is cut off, and the capacitor C1 can only be discharged through the fourth resistor R4. When the capacitor C1 is discharged to a low level, it provides an initial state judgment for the next insertion of the peripheral device. Therefore, the present invention supports the re-insertion of the peripheral device without powering off the host, and re-adaptive communication with the peripheral device.
[0046] The third communication terminal A3 is used to output TTL signal or RS232 signal; the fourth communication terminal A4 is used to input TTL signal; the second signal conversion module has the same function as the first signal conversion module; the first signal conversion module and the second signal conversion module are combined into an integral signal conversion module U3; the model of the integral signal conversion module U3 is MAX232. The second path selection module U2 has the same function as the first path selection module U1; the models of the first path selection module U1 and the second path selection module U2 are both TMUX7219.
[0047] The fourth communication terminal A4 is connected to the input terminal of the second signal conversion module and the first signal terminal S1 of the second path selection module U2, the output terminal of the second signal conversion module is connected to the second signal terminal S2 of the second path selection module U2, the third signal terminal S3 of the second path selection module U2 is connected to the third communication terminal A3, and the control terminal Det of the second path selection module U2 is connected to the control terminal Det of the first path selection module U1. That is, when the control terminal Det of the second path selection module U2 is at a low level, the signal of the fourth communication terminal A4 is directly transmitted to the third communication terminal A3, and when the control terminal Det of the second path selection module U2 is at a high level, the signal of the fourth communication terminal A4 is converted by the second signal conversion module and then transmitted to the third communication terminal A3. The signal of the fourth communication terminal A4 comes from the host, and the third communication terminal A3 transmits the signal to the peripheral device.
[0048] When the signal detection module U4 detects that the peripheral device uses RS232 signal communication, the present invention automatically converts the host's TTL signal into an RS232 signal and outputs it to the peripheral device. When it is detected that the peripheral device uses TTL signal communication, the present invention maintains TTL signal communication between the host and the peripheral device.
[0049] The peripheral interface J1, the TX end of the peripheral interface J1 is connected to the first communication end A1, and the RX end of the peripheral interface J1 is connected to the third communication end A3. The peripheral interface J1 is connected to the fingerprint module or the camera module or the sensor module.
[0050] The host interface J2, the RX end of the host interface J2 is connected to the second communication end A2, and the TX end of the host interface J2 is connected to the fourth communication end A4. The host interface J2 is connected to the MCU, the RX end of the host interface J2 is connected to the negative electrode of the first voltage regulator tube D2 and one end of the fifth resistor R5, the other end of the fifth resistor R5 is connected to the second communication end A2, the TX end of the host interface J2 is connected to the negative electrode of the second voltage regulator tube D3 and one end of the sixth resistor R6, the other end of the sixth resistor R6 is connected to the fourth communication end A4, and the positive electrode of the first voltage regulator tube D2 and the positive electrode of the second voltage regulator tube D3 are both grounded; a voltage regulator tube is set to limit the possible signal level to -0.6V~5.6V to protect the MCU. Since the initial state of capacitor C1 is low level, when the connected peripheral uses RS232 signal communication, capacitor C1 will be charged for 0.1 second and capacitor C1 will be at a low level for 0.1 second. During this time, the logic "1" of the RS232 signal, i.e. -3~-15V, will be directly transmitted from the first communication terminal A1 to the second communication terminal A2, and the voltage regulator will limit -3~-15V to protect the MCU.
[0051] The diode D1 is a light emitting diode D1. When the first communication terminal A1 inputs an RS232 signal, since the RS232 signal is a square wave, the light emitting diode D1 periodically switches between an on state and an off state, so the light emitting diode D1 will flicker, reminding people that the peripheral device uses RS232 signal communication.
[0052] The working mode of the adaptive TTL or RS232 communication circuit of the present invention is as follows: when the external device is inserted into the peripheral interface J1, if it is detected that the external device uses TTL signal communication, the TTL signal of the external device is directly transmitted to the host, and the TTL signal of the host is directly transmitted to the external device; when it is detected that the external device uses RS232 signal communication, the RS232 signal of the external device is converted into a TTL signal and then transmitted to the host, and the TTL signal of the host is converted into an RS232 signal and then transmitted to the external device; without the need to power off the host, the external device can be reinserted or replaced; the signal detection module U4 uses discrete components, which is low in cost and easy to debug. The MCU does not need to intervene in the detection of TTL signals or RS232 signals, which reduces the software workload in the MCU. At the same time, the MCU does not participate in the control of path selection, which improves the compatibility and adaptability of the circuit.
[0053] See also Figure 4 , Embodiment 2 of the present invention.
[0054] The first communication terminal A1 is used to output TTL signals; the second communication terminal A2 is used to input TTL signals or RS232 signals; the other end of the third resistor R3 is connected to the second communication terminal A2. The signal of the second communication terminal A2 comes from the peripheral device, and the first communication terminal A1 transmits the signal to the host. In the second embodiment of the present invention, if the peripheral device uses RS232 signal communication, the RS232 signal enters the second communication terminal A2, first passes through the first path selection module U1 and then passes through the first signal conversion module to convert it into a TTL signal, and then transmits it to the first communication terminal A1.
[0055] In the second embodiment of the present invention, the third communication terminal A3 is used to input TTL signals; the fourth communication terminal A4 is used to output TTL signals or RS232 signals; the signal of the third communication terminal A3 comes from the host, and the fourth communication terminal A4 transmits the signal to the peripheral. If the peripheral uses RS232 signal communication, the TTL signal of the host enters the third communication terminal A3, first passes through the second path selection module U2 and then passes through the second signal conversion module to convert it into an RS232 signal, and then transmits it to the fourth communication terminal A4.
[0056] In the first embodiment of the present invention, if the peripheral device uses RS232 signal communication, the RS232 signal enters the first communication terminal A1, is first converted into a TTL signal by the first signal conversion module and then by the first path selection module U1, and is transmitted to the second communication terminal A2; the host's TTL signal enters the fourth communication terminal A4, is first converted into an RS232 signal by the second signal conversion module and then by the second path selection module U2, and is transmitted to the third communication terminal A3.
[0057] The peripheral interface J1, the TX end of the peripheral interface J1 is connected to the second communication end A2, and the RX end of the peripheral interface J1 is connected to the fourth communication end A4.
[0058] A host interface J2, wherein the RX end of the host interface J2 is connected to the first communication end A1, and the TX end of the host interface J2 is connected to the third communication end A3.
[0059] The second embodiment of the present invention provides another circuit connection method on the basis of the unchanged technical concept. For other parts not described, please refer to the first embodiment of the present invention.
[0060] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. An adaptive TTL or RS232 communication circuit, It is characterized in that include: The first communication terminal is used to input TTL signal or RS232 signal; The initial state of external devices of RS232 signals and external devices of TTL signals at power-on is "1"; The second communication terminal is used to output TTL signal; The first signal conversion module is used for converting between TTL signals and RS232 signals; A first path selection module, comprising a first signal terminal, a second signal terminal, a third signal terminal and a control terminal, when the control terminal is at a low level, the first signal terminal is connected to the third signal terminal, when the control terminal is at a high level, the second signal terminal is connected to the third signal terminal; The first communication terminal is connected to the input terminal of the first signal conversion module and the first signal terminal of the first path selection module, the output terminal of the first signal conversion module is connected to the second signal terminal of the first path selection module, and the third signal terminal of the first path selection module is connected to the second communication terminal; The signal detection module includes a collector of an NPN transistor connected to one end of a first resistor and a positive electrode of a diode, the other end of the first resistor connected to a power supply end and one end of a second resistor, a base of the NPN transistor connected to the other end of the second resistor and one end of a third resistor, a cathode of the diode connected to one end of a capacitor, one end of a fourth resistor, and a control end of the first path selection module, an emitter of the NPN transistor, the other end of the capacitor, and the other end of the fourth resistor are all grounded, the other end of the third resistor is connected to the first communication end, and the resistance of the fourth resistor is much greater than the resistance of the first resistor.
2. The adaptive TTL or RS232 communication circuit according to claim 1, It is characterized in that Also includes: The third communication terminal is used to output TTL signal or RS232 signal; The fourth communication terminal is used to input TTL signals; A second signal conversion module, having the same function as the first signal conversion module; A second path selection module having the same function as the first path selection module; The fourth communication terminal is connected to the input terminal of the second signal conversion module and the first signal terminal of the second path selection module, the output terminal of the second signal conversion module is connected to the second signal terminal of the second path selection module, the third signal terminal of the second path selection module is connected to the third communication terminal, and the control terminal of the second path selection module is connected to the control terminal of the first path selection module.
3. The adaptive TTL or RS232 communication circuit according to claim 2, It is characterized in that Also includes: A peripheral interface, a TX end of the peripheral interface is connected to the first communication end, and an RX end of the peripheral interface is connected to the third communication end.
4. The adaptive TTL or RS232 communication circuit according to claim 3, Features: The peripheral interface is connected to the fingerprint instrument module or the camera module or the sensor module.
5. The adaptive TTL or RS232 communication circuit according to claim 2, It is characterized in that Also includes: A host interface, wherein the RX end of the host interface is connected to the second communication end, and the TX end of the host interface is connected to the fourth communication end.
6. The adaptive TTL or RS232 communication circuit according to claim 5, Features: The host interface is connected to the MCU, the RX end of the host interface is connected to the negative electrode of the first voltage regulator tube and one end of the fifth resistor, the other end of the fifth resistor is connected to the second communication end, the TX end of the host interface is connected to the negative electrode of the second voltage regulator tube and one end of the sixth resistor, the other end of the sixth resistor is connected to the fourth communication end, and the positive electrode of the first voltage regulator tube and the positive electrode of the second voltage regulator tube are both grounded.
7. The adaptive TTL or RS232 communication circuit according to claim 2, Features: The first signal conversion module and the second signal conversion module are combined into an integral signal conversion module.
8. The adaptive TTL or RS232 communication circuit according to claim 1, Features: The diode is a light emitting diode.
9. The adaptive TTL or RS232 communication circuit according to claim 1, Features: The first communication terminal is used to output a TTL signal; The second communication terminal is used to input TTL signal or RS232 signal; The other end of the third resistor is connected to the second communication end.
Citation Information
Patent Citations
Self-adapting circuit and its processing method
CN101320968B
Serial TTL / RS232 electrical level adaptive apparatus
CN105045751A
Method for self-adapting TTL and RS232 serial port communication mode
CN107818060A
Adaptive TTL or RS232 communication circuit
CN216053015U
