Universal interface conversion circuit of fire-fighting printer
By designing a general interface conversion circuit for fire printers, the problem of traditional connection methods destroying the integrity of the connection line and posing a security risk is solved, and compatibility with TTL signals and RS232 signal printers is achieved, and operational safety and adaptability are enhanced.
Patent Information
- Application Number
- CN202421847043.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2034-08-01
AI Technical Summary
Most of the connection interfaces between traditional firefighting hosts and user transmission devices use the method of cutting off the printer cable and then leading the wire out from the middle, resulting in the integrity of the original printer connection cable being destroyed, and there are security risks. In addition, the purchased TTL to 232 module has adaptation problems, and some modules cannot be used normally.
Design a general interface conversion circuit for fire printers, including printer pin line interface, 10P dual pin line, TTL to 232 circuit and RS232 interface. By converting the printer pin line interface to RS232 interface output, it realizes compatibility with TTL signal and RS232 signal printer.
This design can eliminate on-site line breaking operations, increase operation safety and operability, and achieve compatibility with different signal printers, avoiding the adaptation problem of purchased modules.
Smart Images

Figure CN223024406U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of electronic circuits, and particularly relates to a general interface conversion circuit for a fire printer. Background Art
[0002] In the field of intelligent fire protection, in order to upload the alarm events of traditional fire protection hosts to cloud platforms and user terminal devices, such as mobile phones. It is usually necessary to connect the traditional fire protection host to the user transmission device, and then upload the alarm events of the traditional fire protection host to the cloud platform and user terminal devices through the user transmission device. Among the connection interfaces between the traditional fire protection host and the user transmission device, the printer interface is the most economical and direct way.
[0003] At present, most methods involve cutting the printer cable and then leading out wires from the middle. However, this method destroys the integrity of the original printer connection cable and poses certain safety risks. For printers with TTL signals, a separate TTL to 232 module needs to be added, but there are still compatibility problems with the externally purchased TTL to 232 modules, and some TTL to 232 modules cannot be used normally.
[0004] Therefore, in view of the above situation, the utility model designs a general interface conversion circuit for a fire printer. Summary of the Utility Model
[0005] The purpose of the utility model is to provide a general interface conversion circuit for a fire printer. The utility model aims to solve the problem that most of the current connection interfaces between traditional fire protection hosts and user transmission devices involve cutting the printer cable and then leading out wires from the middle. However, this method destroys the integrity of the original printer connection cable and poses certain safety risks.
[0006] To achieve the above purpose, the utility model provides the following technical solutions:
[0007] A general interface conversion circuit for a fire printer, which includes a printer pin header interface, a pin header input end, a pin header output end, a 10P double-row pin 1, a 10P double-row pin 2, a TTL to 232 circuit, an RS232 interface 1, and an RS232 interface 2. The printer pin header interface is the printer interface on the main board of the fire control host. The printer pin header interface is connected to the pin header input end through a cable. The pin header input end is then connected to the corresponding printer interface through the pin header output end. All the connecting wires between the pin header input end and the pin header output end are electrically connected to the upper end of the 10P double-row pin 1. The upper end of the 10P double-row pin 1 is also electrically connected to the upper end of the 10P double-row pin 2.
[0008] As a preferred solution of the present utility model, the printer pin header interface is divided into a 5P interface printer, a 6P interface printer, and a 10P interface printer. The type of the printer pin header interface matches the pin header input end. The pin header input end is divided into 5P input, 6P input, and 10P input. The interface type of the pin header input end matches the pin header output end. The pin header output end is 5P output, 6P output, and 10P output.
[0009] As a preferred solution of the present utility model, the 5 output wire rows of the 5P input are sequentially connected in series with the 5 output wire rows of the 6P input and the 10P input, and then electrically connected to the upper end of the 10P double-row pin 1. The output wire rows of the 6P input that are not connected to the 5P input are connected in series with the corresponding output wire rows of the 10P input and then connected to the upper end of the 10P double-row pin 1. The output wire rows of the 10P input that are not connected to the 6P input are also all connected to the upper end of the 10P double-row pin 1.
[0010] As a preferred solution of the present utility model, the 10P double-row pin 1 leads out the data output pin and the GND pin in the circuit by means of short-circuit ring short connection, and makes them respectively connected to the TTL to RS232 circuit and the RS232 interface 1. The output end of the TTL to RS232 circuit is electrically connected with an RS232 interface 2.
[0011] As a preferred solution of the present utility model, when the printer pin header interface level is RS232 level, according to the corresponding relationship between the data output pin and the GND pin, the RS232 interface 1 is the data output pin and the GND pin of the printer.
[0012] As a preferred solution of the present utility model, when the printer pin header interface level is TTL level, according to the corresponding relationship between the data output pin and the GND pin, the data output pin and the GND pin of the TTL level signal are connected to the TTL input end of the TTL to RS232 circuit, and the converted RS232 level signal will be obtained at the RS232 interface 2.
[0013] Compared with the prior art, the beneficial effects of the present utility model are:
[0014] By designing a general interface conversion circuit for the fire printer, on-site wire-breaking operations can be eliminated, and the safety and operability of on-site operations are increased. By converting the printer pin header interface and uniformly converting it into an RS232 interface output, printers compatible with TTL signals and RS232 signals can be realized. Description of the Drawings
[0015] The accompanying drawings are used to provide a further understanding of the present utility model and constitute a part of the specification. Together with the embodiments of the present utility model, they are used to explain the present utility model and do not constitute a limitation to the present utility model. In the accompanying drawings:
[0016] Figure 1 It is a schematic diagram of a general interface conversion circuit for a fire printer of the present utility model. Specific embodiments
[0017] The technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present utility model without creative efforts shall fall within the protection scope of the present utility model.
[0018] Embodiment
[0019] Please refer to Figure 1 , the present utility model provides the following technical solutions:
[0020] A general interface conversion circuit for a fire printer, which is used to detect the fault status and fault type of the light source of a lighting fixture in real time. It includes a printer pin header interface, a pin header input end, a pin header output end, a 10P double-row pin 1, a 10P double-row pin 2, a TTL to 232 circuit, an RS232 interface 1, and an RS232 interface 2. The printer pin header interface is the printer interface on the main board of a fire control host. The printer pin header interface is connected to the pin header input end through a cable, and the pin header input end is then connected to the corresponding printer interface through the pin header output end. All the connecting wires between the pin header input end and the pin header output end are electrically connected to the upper end of the 10P double-row pin 1, and the upper end of the 10P double-row pin 1 is also electrically connected to the upper end of the 10P double-row pin 2.
[0021] Specifically, the printer pin header interface is divided into a 5P interface printer, a 6P interface printer, and a 10P interface printer. The type of the printer pin header interface matches the pin input end. The pin input end is divided into 5P input, 6P input, and 10P input. The interface type of the pin input end matches the pin output end. The pin output end is 5P output, 6P output, and 10P output. The five output wires of the 5P input are sequentially connected in series with the five output wires of the 6P input and the 10P input and then electrically connected to the upper end of the 10P double-row pin 1. The output wires of the 6P input that are not connected to the 5P input are connected in series with the corresponding output wires of the 10P input and then connected to the upper end of the 10P double-row pin 1. The output wires of the 10P input that are not connected to the 6P input are also all connected to the upper end of the 10P double-row pin 1. The 10P double-row pin 1 leads out the data output pin and the GND pin in the circuit by short-circuiting with a short-circuit ring and connects them to the TTL-to-RS232 circuit and the RS232 interface 1 respectively. The output end of the TTL-to-RS232 circuit is electrically connected to an RS232 interface 2. When the level of the printer pin header interface is RS232, according to the corresponding relationship between the data output pin and the GND pin, the RS232 interface 1 is the data output pin and the GND pin of the printer. When the level of the printer pin header interface is TTL, according to the corresponding relationship between the data output pin and the GND pin, the data output pin and the GND pin of the TTL level signal are connected to the TTL input end of the TTL-to-RS232 circuit, and the converted RS232 level signal will be obtained at the RS232 interface 2.
[0022] In specific applications, disconnect the connection between the motherboard of the original fire control host and the printer. Among them, the 5P interface printer, 6P interface printer, or 10P interface printer are respectively the printer interfaces on the motherboard of the fire control host, and are respectively connected to the 5P input, 6P input, or 10P input of the circuit of this solution through the corresponding 5P cable, 6P cable, or 10P cable. Then, connect to the corresponding printer interface through the 5P output, 6P output, or 10P output. This connection method ensures the original line connection relationship of the printer and thus ensures the normal operation of the printer. After connecting the printer port through this circuit, connect the original 5P, 6P, or 10P cable of the printer to the 10P double-row pins 1 and 10P double-row pins 2. According to the wire sequence of the data output pin and the GND pin in the circuit, short-circuit the upper and lower ends of the corresponding 10P double-row pins through a shorting ring. If the printer pin interface level is RS232 level, then according to the corresponding relationship between the data output pin and the GND pin, that is, RS232 interface 1 is the data output pin and the GND pin of the printer. If the printer pin interface level is TTL level, then according to the corresponding relationship between the data output pin and the GND pin, connect the data output pin and the GND pin of the TTL level signal to the TTL input of the TTL to 232 circuit, and at the same time obtain the converted RS232 level signal at the RS232 interface 2. Sample the data by connecting the RS232 interface 1 or interface 2 to the RS232 input port of the user information transmission device.
[0023] Finally, it should be noted that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A universal interface conversion circuit for a fire printer, characterized in that: include: Printer pin header interface, pin header input end, pin header output end, 10P double pin row 1, 10P double pin row 2, TTL to 232 circuit, RS232 interface 1, RS232 interface 2, the printer pin header interface is the printer interface on the main board of the fire control host, the printer pin header interface is connected to the pin header input end through a cable, and the pin header input end is then connected to the corresponding printer interface through the pin header output end, the connecting lines between the pin header input end and the pin header output end are all electrically connected to the upper end of the 10P double pin row 1, and the upper end of the 10P double pin row 1 is also electrically connected to the upper end of the 10P double pin row 2.
2. A universal interface conversion circuit for a fire printer according to claim 1, characterized in that: The printer pin header interface is divided into 5P interface printer, 6P interface printer, and 10P interface printer. The type of the printer pin header interface matches the pin header input end. The pin header input end is divided into 5P input, 6P input, and 10P input. The interface type of the pin header input end matches the pin header output end. The pin header output end is 5P output, 6P output, and 10P output.
3. A universal interface conversion circuit for a fire printer according to claim 2, characterized in that: The 5 output cables of the 5P input are connected in series with the 5 output cables of the 6P input and the 10P input in sequence and then electrically connected to the upper end of the 10P double-row pin 1. The output cables of the 6P input that are not connected to the 5P input are connected in series with the corresponding output cables of the 10P input and then connected to the upper end of the 10P double-row pin 1. The output cables of the 10P input that are not connected to the 6P input are also all connected to the upper end of the 10P double-row pin 1.
4. A universal interface conversion circuit for a fire printer according to claim 3, characterized in that: The 10P double-row pin 1 leads out the data output pin and the GND pin in the circuit by short-circuiting through a short-circuit ring so that they are connected to the TTL to RS232 circuit and the RS232 interface 1 respectively. The output end of the TTL to RS232 circuit is electrically connected to the RS232 interface 2.
5. A universal interface conversion circuit for a fire printer according to claim 4, characterized in that: When the level of the printer pin header interface is the RS232 level, according to the corresponding relationship between the data output pin and the GND pin, the RS232 interface 1 is the data output pin and the GND pin of the printer.
6. A universal interface conversion circuit for a fire printer according to claim 5, characterized in that: When the printer pin interface level is TTL level, the data output pin and GND pin of the TTL level signal are connected to the TTL input end of the TTL to RS232 circuit according to the corresponding relationship between the data output pin and the GND pin, and the RS232 interface 2 will obtain the converted RS232 level signal.