Lamp tube with dial switch and indicator lamp function
By setting up a dial switch light tube with indicator function in the lamp body, the indicator light displays different colors, the problem of difficult to distinguish dial position is solved, and the visual distinction of scene mode is realized, labor and management costs are reduced, and the product cost performance is improved.
Patent Information
- Application Number
- CN202422026743.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2034-08-20
AI Technical Summary
In the on-site installation of T8 light tubes in the underground parking lot, the dial position is inconsistent, which leads to difficulty in subsequent debugging, making it difficult to distinguish the exact location of the dial, and increases labor and management costs.
A dial switch light tube with indicator light function is designed. By setting a PCB circuit board, LED indicator light and dial switch in the lamp body, the indicator light control circuit is used to display different colors of lights according to the status of the dial switch, and visual distinction of scene modes is achieved.
The indicator light displays different colors, which facilitates staff to identify the position of the dial switch, reduces labor and management costs, and improves the cost-effectiveness of the product.
Smart Images

Figure CN223063798U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lamp tubes, and particularly to a DIP switch lamp tube with an indicator light function. Background Art
[0002] The T8 lamp tubes in the underground parking lot are networked via 2.4G Bluetooth. The T8 lamps in the scene can be networked, policies can be sent down, and data can be uploaded. Different scenes can be set through DIP switches. For example, setting the first gear to the "constant on" lamp mode, the second gear to the "parking space" lamp mode, and the third gear to the "lane" lamp mode is very convenient for grouping settings. However, during on-site installation, different workers may set different positions, or even incorrect positions, which will cause trouble for subsequent debugging. It is difficult to distinguish the exact position of the DIP switch standing under the lamp, and it is necessary to climb the ladder manually to confirm, which is very inconvenient. Therefore, there is room for improvement. Summary of the Utility Model
[0003] In order to solve the problem of distinguishing the DIP switch position, the scene function can be distinguished when the lamp is on, which is very convenient, reduces labor and management costs, and greatly improves the cost performance of the product. This application provides a DIP switch lamp tube with an indicator light function.
[0004] The DIP switch lamp tube with an indicator light function provided by this application adopts the following technical solutions:
[0005] A DIP switch lamp tube with an indicator light function includes a lamp tube body. One end of the lamp tube body is covered with a radar housing. A PCB circuit board is installed in the lamp tube body. The PCB circuit board is arranged in the space formed by the radar housing and the lamp tube body. An LED indicator light and a DIP switch are arranged on the PCB circuit board. A groove is opened on the radar housing. A DIP switch chip is arranged in the groove of the radar housing. The DIP switch chip is electrically connected to the DIP switch. A light guide hole is opened on the radar housing. A light guide column is arranged in the light guide hole. An indicator light control circuit is electrically connected to the PCB circuit board. The indicator light control circuit is used to control the lighting color of the LED indicator light. The LED indicator light displays different colors of light according to the scene mode set by the DIP switch.
[0006] By adopting the above technical solution, after the staff installs the lamp tube body, the position of the DIP switch is set by toggling the DIP chip. The DIP chip is located in the groove of the radar housing, which can prevent the DIP chip from being scratched or damaged during the processing or installation of the lamp tube body. The working scene modes of the lamp tube body are set, including the constant-on lamp mode, the parking lot lamp mode, and the lane lamp mode. At the same time, the indicator control circuit identifies different states of the DIP switch according to the working scene mode of the lamp tube body and controls the lighting color of the LED indicator, so as to realize the visual distinction of different scene modes. Through the light guide column, the light of the LED indicator can be accurately guided to the outside, solving the problem of distinguishing the DIP position. The scene function can be distinguished when the lamp is on, which is very convenient, reducing the labor and management costs and greatly improving the cost performance of the product.
[0007] Optionally, the indicator control circuit includes an indicator circuit and a main control circuit. The DIP switch is electrically connected to a DIP control circuit. The output end of the DIP control circuit is electrically connected to the main control circuit to output a DIP signal to the main control circuit. The indicator control end of the main control circuit is coupled to the indicator circuit to output a control signal to the indicator circuit. After receiving the control signal, the indicator circuit controls the lighting color of the LED indicator.
[0008] By adopting the above technical solution, the staff toggles the DIP chip to control the state of the DIP switch. The DIP control circuit outputs a DIP signal to the main control circuit according to the switch state of the DIP switch. After receiving the DIP signal, the main control circuit outputs a control signal to the indicator circuit. The indicator circuit controls the lighting color of the LED indicator according to the control signal, which is convenient for the staff to distinguish whether the position of the DIP switch is correct according to the lighting color of the LED indicator.
[0009] Optionally, the main control circuit includes a control chip U4. The control chip U4 includes an indicator control end and a DIP signal input end. The indicator control end of the control chip U4 is coupled to the indicator circuit to output a control signal to the indicator circuit. The DIP signal input end of the control chip U4 is coupled to the DIP control circuit to receive the DIP signal.
[0010] By adopting the above technical solution, the main control circuit receives the DIP signal output by the DIP control circuit through the DIP signal input end of the control chip U4, responds to the DIP signal, and outputs a control signal to the indicator circuit through the indicator control end to control the LED indicator to light up.
[0011] Optionally, the DIP switch control circuit includes a switch SW1. The switch SW1 includes three ports. The first port of the switch SW1 is connected in series with a resistor R17 and then coupled to the DIP switch signal input terminal of the control chip U4. The second port of the switch SW1 is grounded. The third port of the switch SW1 is connected in series with a resistor R18 and then coupled to the DIP switch signal input terminal of the control chip U4.
[0012] By adopting the above technical solution, when the DIP switch makes the DIP switch in the first gear, that is, the first port of the switch SW1 is turned on, and the second and third ports are in the off state, the lamp tube body is in the constant-on lamp mode, and the DIP switch control circuit outputs a first DIP switch signal to the control chip U4; when the DIP switch makes the DIP switch in the second gear, that is, the second port of the switch SW1 is turned on, and the first and third ports are in the off state, the lamp tube body is in the parking space lamp mode, and the DIP switch control circuit outputs a second DIP switch signal to the control chip U4; when the DIP switch makes the DIP switch in the third gear, that is, the third port of the switch SW1 is turned on, and the first and second ports are off, the lamp tube body is in the lane lamp mode, and the DIP switch control circuit outputs a third DIP switch signal to the control chip U4, identifying different states of the DIP switch and outputting different DIP switch signals to the main control circuit.
[0013] Optionally, the indicator light circuit includes a blue LED, a red LED, and a green LED. The anodes of the blue LED are respectively coupled to the anodes of the red LED and the green LED. The cathodes of the blue LED, the red LED, and the green LED are respectively coupled to the indicator light control terminal of the main control chip U4. The connection node of the anodes of the blue LED, the red LED, and the green LED is coupled to a power supply.
[0014] By adopting the above technical solution, when the control chip U4 receives the first DIP switch signal, the indicator light control terminal of the control chip U4 outputs a first control signal to the indicator light circuit, and the red LED is powered on and lit, so that the LED indicator light is red; when the control chip U4 receives the second DIP switch signal, the control chip U4 outputs a second control signal to the indicator light circuit, and the blue LED is powered on and lit, so that the LED indicator light is blue; when the control chip U4 receives the third DIP switch signal, the control chip U4 outputs a third control signal to the indicator light circuit, and the green LED is powered on and lit, so that the LED indicator light is green, realizing the function that the LED indicator light lights up different colors according to different states of the DIP switch.
[0015] Optionally, a Bluetooth communication module is further provided on the PCB circuit board. The Bluetooth communication module is electrically connected to a communication circuit, and the communication circuit includes a communication chip U1. The communication chip U1 includes fourteen pins. The sixth and seventh pins of the communication chip U1 are communication interfaces and are coupled to the main control circuit.
[0016] By adopting the above technical solution, by providing a Bluetooth communication module, the wireless data transmission function can be realized. The sixth and seventh pins of the communication chip U1 are electrically connected to the main control circuit for data sending and receiving, so that the lamp tube body can communicate with other lamp tube bodies or external devices.
[0017] Optionally, a radar sensing module is further provided on the PCB circuit board. The radar sensing module is electrically connected to a radar sensing circuit, and the radar sensing circuit includes a sensing chip U5. The sensing chip U5 includes four pins. The first pin of the sensing chip U5 is connected in series with a resistor R14 and then electrically connected to the main control circuit. The second pin of the sensing chip U5 is connected in series with a resistor R15 and then electrically connected to the main control circuit. The third pin of the sensing chip U5 is grounded, and the fourth pin of the sensing chip U5 is coupled to a power supply.
[0018] By adopting the above technical solution, by providing a radar sensing module, the lamp tube body can detect and sense information about surrounding vehicles and pedestrians, and transmit the detected information to the main control circuit. Specifically, the first pin of the sensing chip U5 can control the radar sensing distance, and the second pin of the sensing chip U5 is used to collect radar sensing detection information and transmit the detected information to the main control circuit to control the operation of the lamp tube body.
[0019] Optionally, a programming and debugging module is further provided on the PCB circuit board. The programming and debugging module is electrically connected to a programming and debugging circuit, and the programming and debugging circuit is electrically connected to the main control circuit.
[0020] By adopting the above technical solution, a control program and algorithm are burned into the main control circuit, so that the control chip U4 in the main control circuit can visually distinguish different working scenario modes of the lamp tube body.
[0021] In summary, the present application includes at least one of the following beneficial technical effects:
[0022] 1. The staff controls the state of the DIP switch by toggling the DIP chip. The DIP control circuit outputs a DIP signal to the main control circuit according to the switch state of the DIP switch. After receiving the DIP signal, the main control circuit outputs a control signal to the indicator light circuit, and the indicator light circuit controls the lighting color of the LED indicator light according to the control signal, which is convenient for the staff to distinguish whether the position of the DIP switch is correct according to the lighting color of the LED indicator light;
[0023] 2. By setting up a Bluetooth communication module, the wireless data transmission function can be realized. It is electrically connected to the main control circuit through the sixth and seventh pins of the communication chip U1 for data sending and receiving, enabling the lamp tube body to communicate with other lamp tube bodies or external devices;
[0024] 3. By setting up a radar induction module, the lamp tube body can detect and sense information about surrounding vehicles and pedestrians, and transmit the detected information to the main control circuit. Specifically, the radar induction distance can be controlled through the first pin of the induction chip U5, and the second pin of the induction chip U5 is used to collect the radar induction detection information and transmit it to the main control circuit to control the operation of the lamp tube body. Description of the Drawings
[0025] Figure 1 It is a structural diagram of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0026] Figure 2 It is an exploded view of the structure of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0027] Figure 3 It is a circuit diagram of the main control circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0028] Figure 4 It is a circuit diagram of the DIP control circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0029] Figure 5 It is a circuit diagram of the indicator light circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0030] Figure 6 It is a circuit diagram of the communication circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0031] Figure 7 It is a circuit diagram of the radar induction circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0032] Figure 8 It is a circuit diagram of the drive power supply circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application.
[0033] Figure 9 It is a circuit diagram of the programming and debugging circuit of a lamp tube with a DIP switch and an indicator light function according to an embodiment of the present application
[0034] Explanation of the accompanying drawings: 1. Lamp body; 2. PCB circuit board; 3. Radar shell; 4. Light guide column; 5. LED indicator light; 6. DIP switch; 7. DIP chip; 8. Radar sensing module; 9. Bluetooth communication module; 10. PC cover; 11. Plug; 12. Pin. DETAILED DESCRIPTION
[0035] The following is combined with Figures 1-9 This application is described in further detail.
[0036] The embodiment of the present application discloses a lamp tube with a DIP switch and an indicator light function. Figure 1 and Figure 2 The lamp tube with a dip switch and an indicator light function comprises a lamp tube body 1, plugs 11 are arranged at both ends of the lamp tube body 1, pins 12 are arranged on the plugs 11, a PC cover 10 is provided on the middle part of the lamp tube body 1, a radar shell 3 is provided on one end of the lamp tube body 1 close to the plug 11, a PCB circuit board 2 is arranged in the space formed by the radar shell 3 and the lamp tube body 1, an LED indicator 5, a dip switch 6, a Bluetooth communication module 9 and a radar sensing module 8 are arranged on the PCB circuit board 2, a dip chip 7 is arranged on the radar shell 3, the dip chip 7 is connected to the dip switch 6, a light guide hole is opened on the radar shell 3, and a light guide column 4 is arranged in the light guide hole.
[0037] Reference Figures 2-4 The PCB circuit board 2 is electrically connected with an indicator light control circuit, the DIP switch 6 is electrically connected with the DIP control circuit, the indicator light control circuit includes an indicator light circuit and a main control circuit, the main control circuit includes a control chip U4, the control chip U4 includes 21 pins, the first and second pins of the control chip U4 are the DIP signal input terminals, the fifth to seventh pins of the control chip U4 are the indicator light control terminals, the ninth and tenth pins of the control chip U4 are the detection signal input terminals, the eleventh and twelfth pins of the control chip U4 are the communication data input terminals, the twentieth and nineteenth pins of the control chip U4 are the burning and debugging ports, and the fifteenth and sixteenth pins of the control chip U4 are the driving power supply access terminals.
[0038] The dial control circuit includes a switch SW1, which includes three ports. The first port of the switch SW1 is connected in series with a resistor R17 and then coupled to the second pin of the control chip U4. The second port of the switch SW1 is grounded. The third port of the switch SW1 is connected in series with a resistor R18 and then coupled to the first pin of the control chip U4.
[0039] The indicator light circuit includes a blue light LED, a red light LED, and a green light LED. The anodes of the blue light LED are respectively coupled to the anodes of the red light LED and the green light LED. After a resistor R22 is connected in series to the cathode of the blue light LED, it is coupled to the seventh pin of the control chip U4. After a resistor R27 is connected in series to the anode of the red light LED, it is coupled to the fifth pin of the control chip U4. After a resistor R21 is connected in series to the anode of the green light LED, it is coupled to the sixth pin of the control chip U4. The connection node of the anodes of the blue light LED, the red light LED, and the green light LED is coupled to a power supply.
[0040] Specifically, when the DIP switch 7 makes the DIP switch 6 in the first gear, that is, the first port of the switch SW1 is turned on, and the second and third ports are in the off state, the lamp tube body 1 is in the constant-on lamp mode. The DIP control circuit outputs a first DIP signal, that is, the first port of the switch SW1 is 0, and the second pin of the control chip U4 is 0. The fifth pin of the control chip U4 outputs a first control signal to the indicator light circuit, and the red light LED is powered on and lit. When the DIP switch 7 makes the DIP switch 6 in the second gear, that is, the second port of the switch SW1 is turned on, and the first and third ports are in the off state, the lamp tube body 1 is in the parking lot lamp mode. The DIP control circuit outputs a second DIP signal, that is, both the first port and the second port of the switch SW1 are 1. The seventh pin of the control chip U4 outputs a second control signal to the indicator light circuit, and the blue light LED is powered on and lit. When the DIP switch 7 makes the DIP switch 6 in the third gear, that is, the third port of the switch SW1 is turned on, and the first and second ports are off, the lamp tube body 1 is in the lane lamp mode. The DIP control circuit outputs a third DIP signal, that is, the third port of the switch SW1 is 0. The sixth pin of the control chip U4 outputs a third control signal to the indicator light circuit, and the green light LED is powered on and lit.
[0041] Refer to Figure 5 As shown in the figure, the communication circuit includes a communication chip U1. The communication chip U1 includes fourteen pins. The sixth and seventh pins of the communication chip U1 are communication interfaces. The sixth pin of the communication chip U1 is coupled to the twelfth pin of the control chip U4, and the seventh pin of the communication chip U1 is coupled to the eleventh pin of the control chip U4.
[0042] Specifically, the sixth and seventh pins of the communication chip U1 are electrically connected to the main control circuit for data transmission and reception, so that the lamp tube body 1 can communicate with other lamp tube bodies 1 or external devices.
[0043] Refer to Figure 6, the radar induction circuit includes an induction chip U5. The induction chip U5 has four pins. The first pin of the induction chip U5 is coupled to the ninth pin of the control chip U4 after being connected in series with a resistor R14. The second pin of the induction chip U5 is coupled to the tenth pin of the control chip U4 after being connected in series with a resistor R15. The third pin of the induction chip U5 is grounded, and the fourth pin of the induction chip U5 is coupled to a power supply.
[0044] Refer to Figure 7 , a driving power supply is also provided on the PCB circuit board 2. The driving power supply is electrically connected to a driving power supply circuit. The driving power supply circuit includes a 4PIN interface CN1. The third pin of the 4PIN interface CN1 is coupled to the fifteenth pin of the control chip U4, and the fourth pin of the 4PIN interface CN1 is coupled to the sixteenth pin of the control chip U4.
[0045] Refer to Figure 8 , a programming and debugging module is also provided on the PCB circuit board 2. The programming and debugging module is electrically connected to a programming and debugging circuit. The programming and debugging circuit is electrically connected to the main control circuit. The programming and debugging circuit includes a 4PIN interface TP1 and a 5PIN interface H1. The second pin of the 4PIN interface TP1 is coupled to the twentieth pin of the control chip U4, the third pin of the 4PIN interface TP1 is coupled to the nineteenth pin of the control chip U4, the third pin of the 5PIN interface H1 is coupled to the fourth pin of the control chip U4, the fourth pin of the 5PIN interface H1 is coupled to the third pin of the control chip U4, and the fifth pin of the 5PIN interface H1 is coupled to the eighteenth pin of the control chip U4.
[0046] The implementation principle of the DIP switch tube with an indicator light function in the embodiment of the present application is as follows:
[0047] After the staff installs the lamp tube body 1, the position of the DIP switch 6 is set by toggling the DIP chip 7 to set the working scenario mode of the lamp tube body 1, including the constant-on light mode, the parking lot light mode, and the lane light mode. At the same time, the indicator control circuit identifies the different states of the DIP switch 6 according to the working scenario mode of the lamp tube body 1 to control the lighting color of the LED indicator 5. When the DIP chip 7 makes the DIP switch 6 in the first gear, that is, the first port of the switch SW1 is turned on and the second and third ports are in the off state, the lamp tube body 1 is in the constant-on light mode. The DIP control circuit outputs the first DIP signal, that is, the first port of the switch SW1 is 0, the second pin of the control chip U4 is 0, and the fifth pin of the control chip U4 outputs the first control signal to the indicator circuit, and the red lamp LED is powered on and lit. When the DIP chip 7 makes the DIP switch 6 in the second gear, that is, the second port of the switch SW1 is turned on and the first and third ports are in the off state, the lamp tube body 1 is in the parking lot light mode. The DIP control circuit outputs the second DIP signal, that is, both the first and second ports of the switch SW1 are 1, and the seventh pin of the control chip U4 outputs the second control signal to the indicator circuit, and the blue lamp LED is powered on and lit. When the DIP chip 7 makes the DIP switch 6 in the third gear, that is, the third port of the switch SW1 is turned on and the first and second ports are off, the lamp tube body 1 is in the lane light mode. The DIP control circuit outputs the third DIP signal, that is, the third port of the switch SW1 is 0, and the sixth pin of the control chip U4 outputs the third control signal to the indicator circuit, and the green lamp LED is powered on and lit.
[0048] The above are all the preferred embodiments of the present application, and the protection scope of the present application is not limited thereby. Therefore, all equivalent changes made according to the structure, shape, and principle of the present application should be covered within the protection scope of the present application.
Claims
1. A DIP switch tube with an indicator light function, characterized in that: It includes a lamp tube body (1), one end of the lamp tube body (1) is covered with a radar housing (3), a PCB circuit board (2) is installed in the lamp tube body (1), the PCB circuit board (2) is arranged in the space formed by the radar housing (3) and the lamp tube body (1), an LED indicator light (5) and a DIP switch (6) are arranged on the PCB circuit board (2), a DIP chip (7) is arranged on the radar housing (3), the DIP chip (7) is electrically connected to the DIP switch (6), a light guide hole is formed in the radar housing (3), a light guide column (4) is arranged in the light guide hole, an indicator light control circuit is electrically connected to the PCB circuit board (2), the indicator light control circuit is used to control the lighting color of the LED indicator light (5), and the LED indicator light (5) displays lights of different colors according to the scene mode set by the DIP switch (6).
2. The dimming switch lamp tube with an indicator light function according to claim 1, wherein: The indicator light control circuit includes an indicator light circuit and a main control circuit. The DIP switch (6) is electrically connected to a DIP control circuit, and the output end of the DIP control circuit is electrically connected to the main control circuit to output a DIP signal to the main control circuit. The indicator light control end of the main control circuit is coupled to the indicator light circuit to output a control signal to the indicator light circuit, and the indicator light circuit controls the lighting color of the LED indicator light (5) after receiving the control signal.
3. The dimming switch lamp tube with an indicator light function according to claim 2, wherein: The main control circuit includes a control chip U4. The control chip U4 includes an indicator light control end and a DIP signal input end. The indicator light control end of the control chip U4 is coupled to the indicator light circuit to output a control signal to the indicator light circuit, and the DIP signal input end of the control chip U4 is coupled to the DIP control circuit to receive the DIP signal.
4. The dimming switch lamp tube with an indicator light function according to claim 3, characterized in that: The DIP control circuit includes a switch SW1. The switch SW1 includes three ports. The first port of the switch SW1 is coupled to the DIP signal input end of the control chip U4 after being connected in series with a resistor R17. The second port of the switch SW1 is grounded. The third port of the switch SW1 is coupled to the DIP signal input end of the control chip U4 after being connected in series with a resistor R18.
5. The dimming switch tube with an indicator light function according to claim 3, characterized in that: The indicator light circuit includes a blue lamp LED, a red lamp LED, and a green lamp LED. The anodes of the blue lamp LED, the red lamp LED, and the green lamp LED are respectively coupled to each other. The cathodes of the blue lamp LED, the red lamp LED, and the green lamp LED are respectively coupled to the indicator light control end of the main control chip U4. The connection node of the anodes of the blue lamp LED, the red lamp LED, and the green lamp LED is coupled to a power supply.
6. The dimming switch lamp tube with an indicator light function according to claim 2, wherein: A Bluetooth communication module (9) is further arranged on the PCB circuit board (2). The Bluetooth communication module (9) is electrically connected to a communication circuit. The communication circuit includes a communication chip U1. The communication chip U1 includes fourteen pins. The sixth pin and the seventh pin of the communication chip U1 are communication interfaces and are coupled to the main control circuit.
7. The dimming switch lamp tube with an indicator light function according to claim 1, wherein: The PCB circuit board (2) is further provided with a radar sensing module (8), the radar sensing module (8) is electrically connected to a radar sensing circuit, the radar sensing circuit includes a sensing chip U5, the sensing chip U5 includes four pins, a first pin of the sensing chip U5 is connected in series with a resistor R14 and then electrically connected to the main control circuit, a second pin of the sensing chip U5 is connected in series with a resistor R15 and then electrically connected to the main control circuit, a third pin of the sensing chip U5 is grounded, and a fourth pin of the sensing chip U5 is coupled to a power supply.
8. The dimming switch lamp tube with an indicator light function according to claim 1, wherein: The PCB circuit board (2) is further provided with a programming and debugging module, the programming and debugging module is electrically connected to a programming and debugging circuit, and the programming and debugging circuit is electrically connected to the main control circuit.