Device for realizing dual DMX signal switching
Through the combination of components such as MCU and controller U1, the switching of dual DMX signals is achieved, solving the problem that dual DMX signal switching requires two sets of serial ports, saving MCU resources and reducing costs.
Patent Information
- Application Number
- CN202420346097.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2034-02-26
AI Technical Summary
In the prior art, dual DMX signal switching requires two sets of serial ports, which occupies MCU resources, resulting in waste of resources and high costs.
Design a dual DMX signal switching device. Through the MCU, controller U1, wired DMX signal transceiver module and wireless DMX signal reception module, only one set of serial ports can be used to switch the dual DMX signal, and use controller U1, MCU, wired The combination of the DMX signal transceiver module and the wireless DMX signal receiving module realizes the reception and transmission of signals.
The switching of dual DMX signals is realized, saving MCU resources, reducing production costs, and improving the reliability and anti-interference ability of the system.
Smart Images

Figure CN222283418U_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of lamps, and in particular to a device for realizing dual DMX signal switching. Background Art
[0002] In the field of LED lighting, DMX (Digital Multiplex) controllers are generally used to control LED lights. DMX consoles and buttons are mainly used to control the brightness and color of lights at all levels, and they have been widely used.
[0003] Currently, the switching of dual DMX signals needs to be realized through two groups of serial ports, which will occupy MCU resources. Therefore, the present invention proposes a technical concept of realizing the switching of dual DMX signals with only one group. Summary of the invention
[0004] The present invention is to solve one of the above technical problems and provide a dual DMX signal switching device, which only needs one set to switch the dual DMX signals, thereby saving MCU resources and reducing costs.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] A device for realizing dual DMX signal switching comprises an MCU, a controller U1, a wired DMX signal transceiver module, a wireless DMX signal receiving module, a wired DMX signal interface end and a wireless DMX signal interface end; the MCU controls the wired DMX signal transceiver module to receive or send DMX signals, the wired DMX signal transceiver module receives the DMX signal of the MCU through the controller U1 or sends the DMX signal to the MCU through the controller U1, the wireless DMX signal receiving module sends the DMX signal to the MCU through the controller U1 or sends the DMX signal to the wired DMX signal transceiver module through the controller U1, the wired DMX signal transceiver module receives or sends the DMX signal of the wired DMX signal interface end, the wireless DMX signal receiving module receives the DMX signal of the wireless DMX signal interface end, the wired DMX signal interface end is used to connect lamps and / or consoles; the wireless DMX signal interface end is used to receive a terminal for wireless signals.
[0007] As a preferred implementation, it is further defined as further comprising a switch control module for controlling the wireless DMX signal interface to be turned on or off.
[0008] As a preferred implementation, it is further defined as: pin 2 of the controller U1 is connected to the first control end of the MCU, pin 3, pin 11 and pin 13 of the controller U1 are connected to form a node and electrically connected to the wireless DMX signal receiving module, pin 7 of the controller U1 is connected to the signal input end of the wired DMX signal transceiver module, pin 9 of the controller U1 is connected to the RXD end of the MCU, pin 10 of the controller U1 is connected to the signal output end of the wired DMX signal transceiver module, pin 14 of the controller U1 is respectively connected to the second control end of the MCU and the switch control module, pin 16 of the controller U1 is connected to the power supply VCC1, the power supply VCC1 is grounded through capacitor C116, and pin 1, pin 4, pin 5, pin 8, pin 12 and pin 15 of the controller U1 are all grounded.
[0009] As a preferred embodiment, it is further defined that the wired DMX signal transceiver module includes a controller U2, pin 1 of the controller U2 is connected to the power supply VCC2, the power supply VCC2 is grounded through a capacitor C113, pin 2 of the controller U2 is grounded, pin 3 of the controller U2 is connected to pin 7 of the controller U1, pin 4 of the controller U2 is connected to pin 10 of the controller U2, pin 5 of the controller U2 is connected to the third control terminal of the MCU, the VO node after pin 7 of the controller U2 is connected to resistor R82 is grounded through a capacitor C114, and pin 8 of the controller U2 is respectively connected to the cathode of diode D8 and voltage regulator diode D7 The cathode of the diode D8, one end of the resistor R85, one end of the resistor R81 and one end of the fuse F2 are connected, the pin 9 of the controller U2 is respectively connected to the anode of the voltage stabilizing diode D7, the cathode of the diode D9, the other end of the resistor R82, the other end of the resistor R81 and one end of the fuse F1, the node where the cathode of the diode D8, the cathode of the diode D9, the other end of the resistor R85 and one end of the resistor R86 are connected is grounded, the wired DMX signal interface end is the terminal J13, the other end of the fuse F1 is connected to the pin 1 of the terminal J13, the other end of the fuse F2 is connected to the pin 2 of the terminal J13, and the other end of the resistor R86 is connected to the pin 3 of the terminal J13.
[0010] As a preferred embodiment, it is further defined that the wireless DMX signal receiving module includes a controller U3, pin 1 of the controller U3 is connected to the collection node, pin 2, pin 3 and pin 5 of the controller U3 are connected and then grounded, pin 6 of the controller U3 is respectively connected to one end of resistor R89, one end of resistor R87 and one end of fuse F4, pin 7 of the controller U3 is respectively connected to one end of resistor R91, the other end of resistor R87 and one end of fuse F5, pin 8 of the controller U3 and the other end of resistor R89 are connected to power supply VCC4, the power supply VCC4 is grounded through capacitor C115, the other end of the resistor R91 is grounded, the wireless DMX signal interface end is terminal J14, the other end of the fuse F4 is connected to pin 2 of terminal J14, the other end of the fuse F5 is connected to pin 3 of terminal J14, pin 1 of terminal J14 is connected to power supply VCC3 through fuse F3, and pin 4 of terminal J14 is grounded.
[0011] As a preferred embodiment, it is further defined that the switch control module includes a field effect transistor Q2 and a transistor Q3, the base of the transistor Q3 is respectively connected to one end of a resistor R94 and one end of a resistor R95, the other end of the resistor R94 is respectively connected to the second control end and the pin 14 of the controller U1, the other end of the resistor R95 is connected to the emitter of the transistor Q3 and then grounded, the collector of the transistor Q3 is respectively connected to the G pole of the field effect transistor Q2 and one end of the resistor R93, the node where the S pole of the field effect transistor Q2 is respectively connected to one end of the resistor R92 and the other end of the resistor R93 is connected to the power supply VCC4, and the node where the D pole of the field effect transistor Q2 is connected to the other end of the resistor R92 is connected to the power supply VCC3.
[0012] As a preferred implementation manner, it is further defined that the model of the controller U1 is SN74HCT153.
[0013] As a preferred implementation manner, it is further defined that the model of the controller U2 is DMX485-05VH.
[0014] As a preferred implementation manner, it is further defined that the model of the controller U3 is TP8485E.
[0015] After adopting the above technical scheme, the invention has at least the following beneficial effects: a device for realizing dual DMX signal switching, comprising an MCU, a controller U1, a wired DMX signal transceiver module, a wireless DMX signal receiving module, a wired DMX signal interface end and a wireless DMX signal interface end; the MCU controls the wired DMX signal transceiver module to receive or send a DMX signal, the MCU receives or sends a DMX signal to the wired DMX signal transceiver module through the controller U1, the MCU receives the DMX signal of the wireless DMX signal receiving module through the controller U1, the wired DMX signal transceiver module receives or sends the DMX signal of the wired DMX signal interface end, the wireless DMX signal receiving module receives the DMX signal of the wireless DMX signal interface end, the wired DMX signal interface end is used to connect lamps and / or consoles; the wireless DMX signal interface end is used to receive a terminal for wireless signals, the technical scheme created by the invention can realize dual DMX512 signal switching by combining an MCU, a group of serial ports and a logic chip U1, thereby replacing the mutual switching of the dual serial ports, thereby saving MCU resources and reducing production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a circuit principle block diagram created by the present invention;
[0017] Figure 2 It is a circuit diagram created by the present invention. DETAILED DESCRIPTION
[0018] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0019] As attached Figure 1 and attached Figure 2As shown, a dual DMX signal switching device is characterized in that it includes an MCU, a controller U1, a wired DMX signal transceiver module 1, a wireless DMX signal receiving module 2, a wired DMX signal interface terminal 3 and a wireless DMX signal interface terminal 4; it also includes a switch control module 5 for controlling the wireless DMX signal interface terminal 4 to be turned on or off, the MCU controls the wired DMX signal transceiver module 1 to receive or send a DMX signal, and the wired DMX signal transceiver module 1 receives the DMX signal of the MCU through the controller U1 or receives the DMX signal of the wireless DMX signal through the controller U1. 1 sends a DMX signal to the MCU, the wireless DMX signal receiving module 2 sends a DMX signal to the MCU through the controller U1 or sends a DMX signal to the wired DMX signal transceiver module 1 through the controller U1, the wired DMX signal transceiver module 1 receives or sends the DMX signal of the wired DMX signal interface terminal 3, the wireless DMX signal receiving module 2 receives the DMX signal of the wireless DMX signal interface terminal 4, the wired DMX signal interface terminal 3 is used to connect lamps and / or consoles; the wireless DMX signal interface terminal 4 is a terminal for receiving wireless signals.
[0020] Specifically, the model of the controller U1 is SN74HCT153, the pin 2 of the controller U1 is connected to the first control end of the MCU, the pin 3, pin 11 and pin 13 of the controller U1 are connected to form a node and electrically connected to the wireless DMX signal receiving module 2, the pin 7 of the controller U1 is connected to the signal input end of the wired DMX signal transceiver module 1, the pin 9 of the controller U1 is connected to the RXD end of the MCU, the pin 10 of the controller U1 is connected to the signal output end of the wired DMX signal transceiver module 1, the pin 14 of the controller U1 is respectively connected to the second control end of the MCU and the switch control module 5, the pin 16 of the controller U1 is connected to the power supply VCC1, the power supply VCC1 is grounded through the capacitor C116, and the pin 1, pin 4, pin 5, pin 8, pin 12 and pin 15 of the controller U1 are all grounded.
[0021] Specifically, the wired DMX signal transceiver module 1 includes a controller U2, the model of the controller U2 is DMX485-05VH, the pin 1 of the controller U2 is connected to the power supply VCC2, the power supply VCC2 is grounded through the capacitor C113, the pin 2 of the controller U2 is grounded, the pin 3 of the controller U2 is connected to the pin 7 of the controller U1, the pin 4 of the controller U2 is connected to the pin 10 of the controller U2, the pin 5 of the controller U2 is connected to the third control terminal of the MCU, the VO node after the pin 7 of the controller U2 is connected to the resistor R82 is grounded through the capacitor C114, and the pin 8 of the controller U2 is respectively connected to the cathode of the diode D8, the cathode of the voltage regulator diode D7, one end of the resistor R85, and the cathode of the resistor R81. One end of the wired DMX signal interface is connected to one end of the fuse F2, the pin 9 of the controller U2 is respectively connected to the positive electrode of the voltage stabilizing diode D7, the negative electrode of the diode D9, the other end of the resistor R82, the other end of the resistor R81 and one end of the fuse F1, the node after the negative electrode of the diode D8, the negative electrode of the diode D9, the other end of the resistor R85 and one end of the resistor R86 are connected is grounded, the wired DMX signal interface end 3 is the terminal J13, the other end of the fuse F1 is connected to the pin 1 of the terminal J13, the other end of the fuse F2 is connected to the pin 2 of the terminal J13, and the other end of the resistor R86 is connected to the pin 3 of the terminal J13; multiple terminals J13 can be connected in parallel to realize the connection of multiple lamps or consoles, so as to achieve the effect of the console controlling multiple lamps together.
[0022] Specifically, the wireless DMX signal receiving module 2 includes a controller U3, the model of the controller U3 is TP8485E, the pin 1 of the controller U3 is connected to the collection node, the pins 2, 3 and 5 of the controller U3 are connected and then grounded, the pin 6 of the controller U3 is respectively connected to one end of the resistor R89, one end of the resistor R87 and one end of the fuse F4, the pin 7 of the controller U3 is respectively connected to one end of the resistor R91, the other end of the resistor R87 and one end of the fuse F5, and the pin 8 of the controller U3 is respectively connected to one end of the resistor R91, the other end of the resistor R87 and one end of the fuse F5. , the other end of the resistor R89 is connected to the power supply VCC4, the power supply VCC4 is grounded through the capacitor C115, the other end of the resistor R91 is grounded, the wireless DMX signal interface terminal 4 is the terminal J14, the other end of the fuse F4 is connected to the pin 2 of the terminal J14, the other end of the fuse F5 is connected to the pin 3 of the terminal J14, the pin 1 of the terminal J14 is connected to the power supply VCC3 through the fuse F3, the pin 4 of the terminal J14 is grounded, and the terminal J14 is plugged into a wireless receiver to serve as a wireless signal terminal receiving end.
[0023] Specifically, the switch control module 5 includes a field effect transistor Q2 and a triode Q3, the base of the triode Q3 is respectively connected to one end of a resistor R94 and one end of a resistor R95, the other end of the resistor R94 is respectively connected to the second control end and the pin 14 of the controller U1, the other end of the resistor R95 is connected to the emitter of the triode Q3 and then grounded, the collector of the triode Q3 is respectively connected to the G pole of the field effect transistor Q2 and one end of the resistor R93, the S pole of the field effect transistor Q2 is respectively connected to one end of the resistor R92 and the other end of the resistor R93, and the node after the S pole of the field effect transistor Q2 is connected to the power supply VCC4, and the node after the D pole of the field effect transistor Q2 is connected to the other end of the resistor R92 is connected to the power supply VCC3. This module improves the output level of the collector circuit, improves the anti-interference ability of the circuit, and makes the circuit more reliable.
[0024] Working principle:
[0025] 1. When both the first control terminal and the second control terminal of the MCU send a low level "0", if the third control terminal of the MCU sends a high level "1", the wired DMX signal transceiver module 1 receives the DMX signal of the lamp or console and sends the DMX signal to the MCU through the controller U1; if the third control terminal of the MCU sends a high level "0", the wired DMX signal transceiver module 1 receives the DMX signal sent by the MCU to the controller U1, and sends it to the lamp or console through the wired DMX signal interface terminal 3. At this time, the wireless DMX signal receiving module 2 does not work.
[0026] 2. When the first control terminal of the MCU sends a low level "0" and the second control terminal of the MCU sends a high level "1", at the same time, the third control terminal of the MCU sends a high level "0", the switch control module 5 controls the wireless DMX signal interface terminal 4 to turn on, the wireless DMX signal receiving module 2 receives the wireless DMX signal of the terminal, and sends it to the MCU through the controller U1. The DMX signal processed by the MCU is sequentially output to the lamp or console through the controller U1, the wired DMX signal transceiver module 1 and the wired DMX signal interface terminal 3;
[0027] If the third control terminal of the MCU sends a high level "1", the wired DMX signal transceiver module 1 receives the DMX signal of the lamp or console and sends the DMX signal to the MCU through the controller U1.
[0028] 3. When both the first control terminal and the second control terminal of the MCU send a high level "1", at the same time, the third control terminal of the MCU sends a high level "0", the switch control module 5 controls the wireless DMX signal interface terminal 4 to turn on, the wireless DMX signal receiving module 2 receives the wireless DMX signal of the terminal, and feeds it back to the MCU through the controller U1. At the same time, the wireless DMX signal receiving module 2 can also output the received wireless DMX signal to the lamp or console through the controller U1, the wired DMX signal transceiver module 1 and the wired DMX signal interface terminal 3 in sequence; in addition, the MCU can output the processed DMX signal to the lamp or console through the controller U1, the wired DMX signal transceiver module 1 and the wired DMX signal interface terminal 3 in sequence;
[0029] If the third control terminal of the MCU sends a high level "1", the wired DMX signal transceiver module 1 receives the DMX signal of the lamp or console and sends the DMX signal to the MCU through the controller U1.
[0030] The technical solution created by the present invention can realize dual DMX512 signal switching by combining an MCU, a group of serial ports and a logic chip, thereby replacing the mutual switching of the dual serial ports, thereby saving MCU resources and reducing production costs.
[0031] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various equivalent changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A device for implementing dual DMX signal switching, characterized in that: It includes an MCU, a controller U1, a wired DMX signal transceiver module, a wireless DMX signal receiving module, a wired DMX signal interface end and a wireless DMX signal interface end; the MCU controls the wired DMX signal transceiver module to receive or send DMX signals, the wired DMX signal transceiver module receives the DMX signal of the MCU through the controller U1 or sends the DMX signal to the MCU through the controller U1, the wireless DMX signal receiving module sends the DMX signal to the MCU through the controller U1 or sends the DMX signal to the wired DMX signal transceiver module through the controller U1, the wired DMX signal transceiver module receives or sends the DMX signal of the wired DMX signal interface end, the wireless DMX signal receiving module receives the DMX signal of the wireless DMX signal interface end, the wired DMX signal interface end is used to connect lamps and / or consoles; the wireless DMX signal interface end is used to receive a terminal for wireless signals.
2. The dual DMX signal switching device according to claim 1, characterized in that: It also includes a switch control module for controlling the wireless DMX signal interface to be turned on or off.
3. The dual DMX signal switching device according to claim 2, characterized in that: Pin 2 of the controller U1 is connected to the first control end of the MCU, pin 3, pin 11 and pin 13 of the controller U1 are connected to form a node and are electrically connected to the wireless DMX signal receiving module, pin 7 of the controller U1 is connected to the signal input end of the wired DMX signal transceiver module, pin 9 of the controller U1 is connected to the RXD end of the MCU, pin 10 of the controller U1 is connected to the signal output end of the wired DMX signal transceiver module, pin 14 of the controller U1 is respectively connected to the second control end of the MCU and the switch control module, pin 16 of the controller U1 is connected to the power supply VCC1, and the power supply VCC1 is grounded through capacitor C116, and pin 1, pin 4, pin 5, pin 8, pin 12 and pin 15 of the controller U1 are all grounded.
4. The dual DMX signal switching device according to claim 3, characterized in that: The wired DMX signal transceiver module includes a controller U2, wherein pin 1 of the controller U2 is connected to a power supply VCC2, and the power supply VCC2 is grounded through a capacitor C113, pin 2 of the controller U2 is grounded, pin 3 of the controller U2 is connected to pin 7 of the controller U1, pin 4 of the controller U2 is connected to pin 10 of the controller U2, pin 5 of the controller U2 is connected to a third control terminal of the MCU, a VO node after pin 7 of the controller U2 is connected to resistor R82 is grounded through a capacitor C114, and pin 8 of the controller U2 is respectively connected to the cathode of a diode D8, the cathode of a voltage regulator diode D7, and a resistor R85. The wired DMX signal interface end is terminal J13, the other end of the fuse F1 is connected to pin 1 of terminal J13, the other end of the fuse F2 is connected to pin 2 of terminal J13, and the other end of the resistor R86 is connected to pin 3 of terminal J13.
5. The dual DMX signal switching device according to claim 3, characterized in that: The wireless DMX signal receiving module includes a controller U3, wherein pin 1 of the controller U3 is connected to the collecting node, pin 2, pin 3 and pin 5 of the controller U3 are connected and then grounded, pin 6 of the controller U3 is respectively connected to one end of a resistor R89, one end of a resistor R87 and one end of a fuse F4, pin 7 of the controller U3 is respectively connected to one end of a resistor R91, the other end of a resistor R87 and one end of a fuse F5, pin 8 of the controller U3 and the other end of the resistor R89 are connected to a power supply VCC4, the power supply VCC4 is grounded through a capacitor C115, the other end of the resistor R91 is grounded, the wireless DMX signal interface end is a terminal J14, the other end of the fuse F4 is connected to pin 2 of the terminal J14, the other end of the fuse F5 is connected to pin 3 of the terminal J14, pin 1 of the terminal J14 is connected to the power supply VCC3 through a fuse F3, and pin 4 of the terminal J14 is grounded.
6. The dual DMX signal switching device according to claim 5, characterized in that: The switch control module includes a field effect transistor Q2 and a triode Q3, the base of the triode Q3 is respectively connected to one end of a resistor R94 and one end of a resistor R95, the other end of the resistor R94 is respectively connected to the second control end and the pin 14 of the controller U1, the other end of the resistor R95 is connected to the emitter of the triode Q3 and then grounded, the collector of the triode Q3 is respectively connected to the G pole of the field effect transistor Q2 and one end of the resistor R93, the node where the S pole of the field effect transistor Q2 is respectively connected to one end of the resistor R92 and the other end of the resistor R93 is connected to the power supply VCC4, and the node where the D pole of the field effect transistor Q2 is connected to the other end of the resistor R92 is connected to the power supply VCC3.
7. The dual DMX signal switching device according to claim 3, characterized in that: The model of the controller U1 is SN74HCT153.
8. The dual DMX signal switching device according to claim 4, characterized in that: The model of the controller U2 is DMX485-05VH.
9. The dual DMX signal switching device according to claim 5, characterized in that: The model of the controller U3 is TP8485E.