APP control method, neon lamp circuit and control method

By introducing MCU controller and wireless communication unit into neon lights and using APP to control neon light circuits, the problem of cumbersome adjustment of neon light display mode in the existing technology is solved, and users can independently edit neon light jump mode, improving product diversity and use Convenience.

CN118900489APending Publication Date: 2024-11-05中山成其美工艺品有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411149790.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing neon lights cannot be adjusted and programmed by remote control or APP to change the jump display mode. Users need to return to the factory or the manufacturer sends someone to adjust, which is cumbersome.

Method used

A neon light circuit including an MCU controller and a wireless communication unit is designed to send working instructions through the APP, and the MCU controller receives and converts instructions, controls the working status of each lamp bead module in real time, and supports users to edit instructions through symbols and letters.

Benefits of technology

It realizes the jump display mode of users editing neon lights in real time through the APP, which improves product diversity and reduces editing difficulty. Users do not need to return to the factory or wait for the manufacturer to adjust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900489A_ABST
    Figure CN118900489A_ABST
Patent Text Reader

Abstract

The invention discloses an APP control method, a neon lamp circuit and a control method.The neon lamp circuit comprises a control module and a plurality of lamp bead modules, the lamp bead modules are sequentially connected in series to form a lamp bead sequence, and the lamp bead sequence is connected with the control module in series; the control module comprises an MCU controller and a wireless communication unit, and the MCU controller receives a working instruction through the wireless communication unit and then controls the working state of each lamp bead module according to the working instruction. The neon lamp circuit receives the working instruction edited by the user in real time through the APP according to the wireless communication module, and then the neon lamp circuit controls the working states of the lamp bead modules according to the working instruction, so that the user can edit the neon lamp circuit according to actual needs, and the diversity of products is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit technology, and in particular to an APP control method, a neon lamp circuit and a control method. Background Art

[0002] The existing neon lights on the market include RGB colorful neon lights, colorful monochrome neon lights, and monochrome jump neon lights, etc. These products are all controlled by single-chip microcomputers. When working, the existing neon lights can only use one or several fixed jump display modes preset by the manufacturer. Ordinary consumers cannot increase or change the jump display mode of the neon lights through remote control or app adjustment programming. If you need to increase or change the jump display mode of the neon lights, you need to return the neon lights to the factory for setting, or the manufacturer needs to send people to operate the neon lights on site, which is very cumbersome. Summary of the invention

[0003] In order to solve the above problems, the present invention provides an APP control method, a neon lamp circuit and a control method. The specific technical solutions of the present invention are as follows:

[0004] A neon lamp circuit comprises: a control module and a plurality of lamp bead modules, wherein the plurality of lamp bead modules are sequentially connected in series to form a lamp bead sequence, and the lamp bead sequence is connected in series with the control module; the control module comprises an MCU controller and a wireless communication unit, and the MCU controller receives a working instruction through the wireless communication unit, and then controls the working state of each lamp bead module respectively according to the working instruction.

[0005] Furthermore, the control module also includes a voltage regulator, a voltage regulator diode D15 and a resistor U11, the input end of the voltage regulator is connected to the input voltage, the output end of the voltage regulator is connected to the MCU controller and the wireless communication unit, and is used to power the MCU controller and the wireless communication unit, the signal receiving end of the MCU controller is connected to the signal transmitting end of the wireless communication unit, and is used to receive working instructions through the wireless communication unit, and the signal transmitting end of the MCU controller is connected to the first lamp bead module in the lamp bead sequence through the resistor U11, and is used to send control instructions to the lamp bead sequence.

[0006] Furthermore, the control module also includes a debugging circuit for connection debugging, the debugging circuit includes a resistor U9, a resistor U10 and a field effect transistor U8, the voltage input end of the field effect transistor U8 is used to connect to an external debugging device, the voltage output end of the field effect transistor U8 is connected to the first end of the resistor U9 and the resistor U10 respectively, the ground end of the field effect transistor U8 is grounded, the second end of the resistor U10 is connected to the debugging signal receiving end of the MCU controller, and the second end of the resistor U9 is grounded.

[0007] Furthermore, the circuit structure of each lamp bead module is the same. The first lamp bead module in the lamp bead sequence includes a control unit U6, a resistor U13, a resistor U14, a resistor U35, a field effect transistor U15 and several lamp beads. The first signal receiving end of the control unit U6 is used to receive the control instruction sent by the control module. After the several lamp beads are connected in series, one end is connected to the VCC end, and the other end is connected to the voltage input end of the field effect transistor U15 through the resistor U35. The voltage output end of the field effect transistor U15 is respectively connected to the first end of the resistor U13 and the resistor U14. The grounding end of the field effect transistor U15 is grounded, the second end of the resistor U13 is connected to the second signal receiving end of the control unit U6, and the second end of the resistor U14 is grounded. The signal transmitting end of the control unit U6 is connected to the first signal receiving end of the next lamp bead module in the lamp bead sequence, and is used to send the control instruction sent by the control module to the next lamp bead module in the lamp bead sequence.

[0008] Furthermore, the MCU controller includes: an EEPROM memory and a register, wherein the EEPROM memory is used to store the working instructions obtained by the MCU controller, and the register is used to receive the working instructions read from the EEPROM memory and send the working instructions to the lamp bead module.

[0009] A neon lamp circuit control method is used to control the above-mentioned neon lamp circuit, and the method comprises the following steps: the neon lamp circuit is wirelessly connected to an APP, and after the connection is successful, a working instruction sent by the APP is received; the neon lamp circuit identifies the received working instruction, first writes the working instruction into a memory, then reads the working instruction from the memory, and then controls several lamp bead modules of the neon lamp circuit to work separately according to the working instruction.

[0010] Furthermore, the neon lamp circuit receives a working instruction and then writes the working instruction into an EEPROM memory, wherein the working instruction is N groups of 8-bit binary data, and N is a natural number greater than 0; or, the neon lamp circuit converts the received working instruction into N groups of 8-bit binary data according to an editing table, and then writes the converted N groups of 8-bit binary data into an EEPROM memory, wherein the working instruction is character data, and N is a natural number greater than 0.

[0011] Furthermore, the neon lamp circuit reads working instructions from the memory, including the following steps: the MCU controller of the neon lamp circuit initializes the EEPROM memory, and then determines the starting address for reading N groups of 8-bit binary data from the EEPROM memory; the MCU controller of the neon lamp circuit reads data from the EEPROM memory according to the start, and writes the read N groups of 8-bit binary data into the register.

[0012] Furthermore, the neon lamp circuit controls several lamp bead modules of the neon lamp circuit to work separately according to the working instructions, including the following steps: the MCU controller sends N groups of 8-bit binary data to the control unit of the first lamp bead module in the lamp bead sequence in sequence, and sends one bit of binary data each time; after receiving the N groups of 8-bit binary data, the first lamp bead module decides to turn on or off its own lamp bead according to the first bit of the N groups of 8-bit binary data; the first lamp bead module removes the binary data used for its own work, and sends the remaining binary data to the next lamp bead module in the lamp bead sequence; the lamp bead modules in the lamp bead sequence repeat the process, so that the control module controls the working state of each lamp bead module separately according to the working instructions; wherein, the MCU controller of the control module communicates with the control unit U6 of the lamp bead module through a single-line return-to-zero code.

[0013] An APP control method, the control method comprising the following steps: when the APP starts to work, it first automatically communicates and connects with the control module of the neon lamp circuit, after the communication connection is completed, receives the editing instruction for controlling the operation of the lamp bead module, then converts the editing instruction into a working instruction through an ASCII table, and then sends the working instruction to the control module, wherein the editing instruction includes but is not limited to letters and symbols, and the working instruction is character data in the ASCII table; or, when the APP starts to work, it first automatically communicates and connects with the control module of the neon lamp circuit, after the communication connection is completed, receives the editing instruction for controlling the operation of the lamp bead module, then converts the editing instruction into a working instruction through an editing table, and then sends the working instruction to the control module, wherein the editing instruction includes but is not limited to letters and symbols, and the working instruction is N groups of 8-bit binary data, and N is a natural number greater than 0.

[0014] Compared with the existing technology, the beneficial effect of the present invention is that the neon light circuit described in the present application receives the working instructions edited by the user through the APP in real time according to the wireless communication module, and then the neon light circuit controls the working states of multiple lamp bead modules respectively according to the working instructions, so that the user can edit the jump display mode of the neon light circuit according to actual needs, thereby improving the diversity of products. The user only needs symbols and letters to edit the working instructions, which reduces the difficulty of editing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural schematic diagram of a control module of a neon lamp circuit in an embodiment of the present invention;

[0016] Figure 2 It is a structural schematic diagram of a lamp bead module of a neon lamp circuit in an embodiment of the present invention;

[0017] Figure 3 A schematic diagram of an editing table for control module conversion data in an embodiment of the present invention;

[0018] Figure 4 A schematic diagram of a communication level of a control module in an embodiment of the present invention;

[0019] Figure 5 A schematic diagram of a data transmission structure in an embodiment of the present invention;

[0020] Figure 6 A schematic diagram of level signal changes in an embodiment of the present invention;

[0021] Figure 7 A schematic flow chart of a control method for a neon lamp circuit in one embodiment of the present invention;

[0022] Figure 8 This is a schematic diagram of APP editing instructions in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.

[0024] In the description of the present invention, it should be noted that directional words, such as the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present invention.

[0025] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "at least" means one or more, unless otherwise clearly and specifically defined.

[0026] In the present invention, unless otherwise specified and limited, the terms "assemble", "connect", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can also be a mechanical connection; it can be directly connected, or it can be connected through an intermediate medium, or the two elements can be internally connected. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0027] In the invention, unless otherwise specified and limited, a first feature being “above” or “below” a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being “above”, “below”, and “above” a second feature includes that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “above”, “below”, and “below” a second feature includes that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0028] The following is a further description of the specific embodiments of the present invention in conjunction with the drawings of the specification, so that the technical solution and its beneficial effects of the present invention are clearer and more explicit. The following description of the embodiments with reference to the drawings is exemplary and intended to explain the present invention, but cannot be understood as limiting the present invention.

[0029] like Figure 1 and Figure 2 As shown, a neon lamp circuit includes: a control module and a plurality of lamp bead modules, wherein the plurality of lamp bead modules are connected in series in sequence to form a lamp bead sequence, wherein the lamp bead sequence is connected in series with the control module, i.e., the control module is arranged first, and then the first lamp bead module of the lamp bead sequence is connected to the control module, the second lamp bead module is connected to the first lamp bead module, and the third lamp bead module is connected to the second lamp bead module. When the control module sends a working instruction, the working instruction is first sent to the first lamp bead module, and after receiving the working instruction, the first lamp bead module sends the working instruction to the second lamp bead module, and the second lamp bead module sends the working instruction to the third lamp bead module. The control module includes an MCU controller U2 and a wireless communication unit U1, and the wireless communication unit U1 can be a Bluetooth module or a WiFi module. The Bluetooth module can enable the APP to communicate with the neon lamp circuit without a network, and the WiFi module can enable the APP to connect with the neon lamp circuit at a longer distance. The MCU controller U2 receives the working instructions through the wireless communication unit U1, and then controls the working state of each lamp bead module respectively according to the working instructions, that is, each lamp bead module is turned on and off at the same time, and some lamp bead modules are turned on. Because the light-emitting lamp beads of each lamp bead module can be different colors, the neon lamp circuit can control some lamp bead modules to work according to actual needs to meet the control requirements of different types of neon lights.

[0030] As one embodiment, the control module further includes a voltage regulator U4, a voltage stabilizing diode D15 and a resistor U11. The input end of the voltage regulator U4 is connected to the input voltage. Preferably, the input voltage is 12V, and the model of the voltage regulator U4 is 78L05. The output end of the voltage regulator U4 is connected to the MCU controller U2 and the wireless communication unit U1. The voltage output by the output end of the voltage regulator U4 is 5V, which is used to power the MCU controller U2 and the wireless communication unit U1. The signal receiving end of the MCU controller U2 is connected to the signal transmitting end of the wireless communication unit U1, which is used to receive the working instruction through the wireless communication unit U1. The signal transmitting end of the MCU controller U2 is connected to the first lamp bead module in the lamp bead sequence through the resistor U11, which is used to send the control instruction to the lamp bead sequence. The control module also includes a capacitor U5, a capacitor U7, and a resistor U12. The input end of the voltage regulator U4 is connected to the first end of the capacitor U7, the output end of the voltage regulator U4 is connected to the first end of the capacitor U5, the second ends of the capacitor U5 and the capacitor U7 are grounded respectively, and the signal transmitting end of the MCU controller U2 is connected to the first ends of the voltage regulator diode D15 and the resistor U12 respectively, and the second ends of the voltage regulator diode D15 and the resistor U12 are grounded.

[0031] As one embodiment, the control module also includes a debugging circuit for connection debugging, the debugging circuit includes a resistor U9, a resistor U10 and a field effect transistor U8, the model of the field effect transistor U8 is ES5N10A, the voltage input end of the field effect transistor U8 is used to connect to an external debugging device, the voltage output end of the field effect transistor U8 is connected to the first end of the resistor U9 and the resistor U10 respectively, the ground end of the field effect transistor U8 is grounded, the second end of the resistor U10 is connected to the debugging signal receiving end of the MCU controller U2, and the second end of the resistor U9 is grounded. During the production process of the neon lamp circuit, the production personnel can debug the neon lamp through the debugging circuit to reduce the difficulty of debugging the neon lamp circuit; when the wireless communication module U1 of the neon lamp circuit cannot work, the working instructions can also be input to the control module of the neon lamp circuit through the debugging circuit to make the neon lamp circuit work normally.

[0032] As one embodiment, the circuit structure of each lamp bead module is the same. The first lamp bead module in the lamp bead sequence includes a control unit U6, a resistor U13, a resistor U14, a resistor U35, a field effect tube U15 and a plurality of lamp beads. Preferably, the number of lamp beads in each lamp bead module is 3. The lamp beads can be light emitting diodes or LED lamp beads. The model of the field effect tube U15 can be ES5N10A. The first signal receiving end of the control unit U6 is used to receive the control instruction sent by the control module. After the plurality of lamp beads are connected in series, one end is connected to the VCC end, and the other end is connected to the voltage input end of the field effect tube U15 through the resistor U35. The VCC end is used to supply voltage to the lamp beads, which is determined according to the number of lamp beads and the operating voltage, and can be 5V, 12V, 18V, 24V, 36V and 48V, etc. The voltage output end of the field effect tube U15 is connected to the first end of the resistor U13 and the resistor U14 respectively, the ground end of the field effect tube U15 is grounded, the second end of the resistor U13 is connected to the second signal receiving end of the control unit U6, the second end of the resistor U14 is grounded, and the signal transmitting end of the control unit U6 is connected to the first signal receiving end of the next lamp bead module in the lamp bead sequence, which is used to send the control instruction sent by the control module to the next lamp bead module in the lamp bead sequence. The first lamp bead module also includes a diode D1, a voltage regulator diode D2, a voltage regulator diode D3 and a capacitor U28. The output end of the diode D1 is connected to the second signal receiving end of the control unit U6, and the input end is grounded; the output end of the voltage regulator diode D2 is connected to the first signal receiving end of the control unit U6, and the input end is grounded; the output end of the voltage regulator diode D3 is connected to the signal transmitting end of the control unit U6, and the input end is grounded; one end of the capacitor U28 is connected to the 5V voltage and the VDD end of the control unit U6, respectively, and the other end is grounded. The circuit structure of each lamp bead module is the same. The signal transmitting end DIN1 of the first lamp bead module is connected to the first signal receiving end DIN of the second lamp bead module, which is convenient for the control module to control the lamp bead module. The voltage stabilizing diode D3 is used to prevent the lamp bead modules from being connected too much and inducing high voltage to break down the control unit. When there are fewer lamp bead modules connected, the voltage stabilizing diode D3 is not needed.

[0033] As one embodiment, the MCU controller U2 includes: an EEPROM memory and a register, wherein the EEPROM memory is used to store the working instructions obtained by the MCU controller U2, and the register is used to receive the working instructions read from the EEPROM memory and send the working instructions to the lamp bead module. The neon lamp circuit stores the working instructions through the EEPROM memory. When the neon lamp is powered off and then powered on again, the neon lamp circuit can also read the working instructions from the EEPROM memory and work normally, which is highly practical.

[0034] like Figure 7As shown, a neon lamp circuit control method is used to control the above-mentioned neon lamp circuit, and the method includes the following steps: the neon lamp circuit is wirelessly connected to the APP, and after the connection is successful, the working instruction sent by the APP is received. The neon lamp circuit identifies the received working instruction, first writes the working instruction into the memory, then reads the working instruction from the memory, and then controls the several lamp bead modules of the neon lamp circuit to work separately according to the working instruction.

[0035] As one embodiment, the neon lamp circuit receives a work instruction and then writes the work instruction into an EEPROM memory, wherein the work instruction is N groups of 8-bit binary data, and N is a natural number greater than 0. Alternatively, the neon lamp circuit converts the received work instruction into N groups of 8-bit binary data according to an editing table, and then writes the converted N groups of 8-bit binary data into an EEPROM memory, wherein the work instruction is character data, and N is a natural number greater than 0.

[0036] Edit table as Figure 3 As shown, the neon lamp circuit controls the opening and closing of the lamp bead module through the binary data 0 and 1. In order to facilitate the user to edit the working instructions of the neon lamp circuit, the neon lamp circuit sets 26 lamp bead modules in the neon lamp circuit according to 26 letters, and the value of N is 4. Of course, the number of lamp bead modules in the present application is not limited to 26 lamp bead modules. The user can add lowercase letters and other symbols to the editing table according to the actual number of lamp bead modules. When using the control method of the neon lamp circuit described in the present application, the editing table only needs to increase 4 groups of values ​​ZGW1-ZGW4 to 5 groups of values ​​ZGW1-ZGW5 or 6 groups of values ​​ZGW1-ZGW6, and so on. N is set according to the number of lamp bead modules. When the number of lamp bead modules is 1-8, N is 1; when the number of lamp bead modules is 9-16, N is 2; when the number of lamp bead modules is 17-24, N is 3, and so on. When the neon circuit sets 26 lamp bead modules according to 26 letters, 4 groups of 8-bit binary data are required as working instructions. When the user needs the A lamp bead module and the K lamp bead module to work, the 4 groups of 8-bit binary data of the working instructions are 10000000, 00100000, 00000000 and 00000000.

[0037] As one embodiment, the neon lamp circuit reads the working instruction from the memory, including the following steps: the MCU controller U2 of the neon lamp circuit initializes the EEPROM memory, and then determines the starting address for reading N groups of 8-bit binary data from the EEPROM memory. The MCU controller U2 of the neon lamp circuit reads data from the EEPROM memory according to the start, and writes the read N groups of 8-bit binary data into the register.

[0038] As one of the embodiments, the neon lamp circuit controls several lamp bead modules of the neon lamp circuit to work separately according to the working instructions, including the following steps: the MCU controller U2 sends N groups of 8-bit binary data to the control unit U6 of the first lamp bead module in the lamp bead sequence in sequence, sending one bit of binary data each time. After receiving the N groups of 8-bit binary data, the first lamp bead module decides to turn on or off its own lamp bead according to the first bit of the N groups of 8-bit binary data. The first lamp bead module removes the binary data used for its own work and sends the remaining binary data to the next lamp bead module in the lamp bead sequence. The lamp bead modules in the lamp bead sequence cycle this process, so that the control module controls the working state of each lamp bead module separately according to the working instructions. Among them, the MCU controller U2 of the control module and the control unit U6 of the lamp bead module communicate with each other through a single-line return-to-zero code.

[0039] like Figure 4 As shown, the data of the MCU controller U2 communicates with the control unit U6 through a single-wire bus interface. The communication protocol adopts the polarity return-to-zero code method, and each word code element must have a high and low level. The starting level of each word code element in this communication protocol is a high level, and the time width of the high level determines whether it is a "0" word code or a "1" word code.

[0040] like Figure 5 As shown, the data format is: Trst + first group of data ZGW1 + second group of data ZGW2 + third group of data ZGW3 + fourth group of data ZGW4 + Trst, data structure: high bit first, sent in order from A to Z. For example: [0xF5] + [8bit ZGW1] + [8bit ZGW2] + [8bit ZGW3] + [8bit ZGW4] + [0XF6]. Figure 6As shown, the MCU controller sends the register data ZGW1, ZGW2, ZGW3, and ZGW4 to the DIN receiving end bit by bit, and sends 26 bits of data every 0.25 seconds to the first lamp bead module A. After Trst, when the DIN of the first lamp bead module jumps to a high level, it is used as the first data of the DIN of the first lamp bead module. When the high level time width is 1, the light is turned on, and when it is 0, the light is turned off. When the second high level of the DIN of the first lamp bead module is detected, the DIN1 of the output pin of the first lamp bead module is set to a high level at the same time. At this time, the DIN of the second lamp bead module begins to jump to the first high level. When the low level of the DIN of the first lamp bead module is detected, the DIN1 of the output pin of the first lamp bead module is also set to a low level at the same time. When the third high level of DIN of the first lamp bead module is detected, the DIN1 of the output pin of the first lamp bead module is set to a high level at the same time. At this time, the DIN of the second lamp bead module jumps to the second high level. At this time, the DIN of the third lamp bead module starts to jump to the first high level. When the low level of DIN of the first lamp bead module is detected, the DIN1 of the output pin of the first lamp bead module is also set to a low level at the same time... Trst, completing the process of receiving and sending signals. DIN1 of the first lamp bead module outputs 25 data, and DIN1 of the second lamp bead module outputs 24 data. After each transmission of a lamp bead module, the signal is reduced by 1 bit of data.

[0041] For example: the first lamp bead module receives 4 groups of 8-bit binary data, among which the first group of 8-bit binary data received by the first lamp bead module is (10000000, 11000000, 11100000, 11110000).

[0042] The second lamp bead module will also receive 4 groups of binary data. The second, third and fourth groups of 8-bit binary data remain unchanged, and the first group of binary data becomes 7-bit binary data (0000000, 1000000, 1100000, 1110000). At this time, the second lamp bead module reads the first bit of the first group of 7-bit binary data to work.

[0043] The third lamp bead module will also receive 4 sets of binary data. The second, third and fourth sets of 8-bit binary data remain unchanged, and the first set of binary data becomes 6-bit binary data (000000, 000000, 100000, 110000). At this time, the third lamp bead module reads the first bit of the first set of 6-bit binary data to work.

[0044] By analogy, the ninth lamp bead module only receives the second, third and fourth groups of 8-bit binary data, the seventeenth lamp bead module only receives the third and fourth groups of 8-bit binary data, and the twenty-fifth lamp bead module only receives the fourth group of 8-bit binary data.

[0045] An APP control method, the control method comprises the following steps: when the APP starts working, it automatically communicates and connects with the control module of the neon lamp circuit, and the APP will jump to the instruction editing page after the connection is successful. When the connection fails, the connection failure is directly displayed. The APP can be installed on a device with network function such as a mobile phone, a tablet or a computer, or it can be installed on an ordinary electronic device that only has display, input and wireless connection. After the communication connection is completed, the editing instruction for controlling the operation of the lamp bead module is received, and then the editing instruction is converted into a working instruction through an ASCII table, and then the working instruction is sent to the control module, wherein the editing instruction includes but is not limited to letters and symbols, and the working instruction is character data of the ASCII table. Alternatively, when the APP starts working, it automatically communicates and connects with the control module of the neon lamp circuit, and after the communication connection is completed, the editing instruction for controlling the operation of the lamp bead module is received, and then the editing instruction is converted into a working instruction through an editing table, and then the working instruction is sent to the control module, wherein the editing instruction includes but is not limited to letters and symbols, and the working instruction is N groups of 8-bit binary data, and N is a natural number greater than 0.

[0046] like Figure 8 As shown, the lamp module of the neon lamp circuit is a monochrome lamp, with 0 and 1 representing off and on, and one data bit representing the state of a color lamp. 26 bits of data can control the state of 26 color lamps. When editing the work instructions, the APP uses 26 uppercase letters to represent 26 changeable color lamps, plus 26 lowercase letters to represent 52 changeable color lamps; '+' is used to represent the previous letter as a data, and the delay setting time is determined; the setting time determines the jump rate of the color lamp, and the setting time can be represented by a number. The setting time is set in '+', and a button can be set on the APP to enter the setting time separately. () is used to represent the program loop. If () is not used, the neon lamp circuit will only respond once.

[0047] For example 1: the compiled working instruction is (A+AB+ABC+ABCD++), the set time is set separately, preferably, the set time is 0.25 seconds, and the 8-bit binary data stored in the EEPROM memory by the control module is (10000000, 11000000, 11100000, 11110000, 00000000). The program meaning is:

[0048] In the first 0.25 seconds, light A is on and the other lights are off.

[0049] In the second 0.25 seconds, light A and light B are on, and the other lights are off.

[0050] In the third 0.25 seconds, light A, light B and light C are on, and the other lights are off.

[0051] In the fourth 0.25 seconds, light A is on, light B is on, light C is on, and light D is on, and the other lights are off.

[0052] In the fifth 0.25 seconds, all lights go out.

[0053] Then it loops back to the first 0.25 seconds.

[0054] The jump display mode of the neon light is: light A starts to light up for 1 second at the first 0.25 second, light B starts to light up for 0.75 seconds at the second 0.25 second, light C starts to light up for 0.5 seconds at the third 0.25 second, light D starts to light up for 0.25 seconds at the fourth 0.25 second, all lights are off at the fifth 0.25 second, light A starts to light up for 1 second at the sixth 0.25 second, and so on, and the process is repeated.

[0055] For example 2: the compiled working instruction is A+B+C+D+, and the set time is set separately. Preferably, the set time is 0.25 seconds, and the 8-bit binary data stored in the EEPROM memory by the control module is (10000000, 01000000, 00100000, 00010000).

[0056] The meaning of the program is:

[0057] In the first 0.25 seconds, light A is on and the other lights are off.

[0058] In the second 0.25 seconds, light B turns on and the other lights turn off.

[0059] During the third 0.25 seconds, the C light is on and the other lights are off.

[0060] In the fourth 0.25 seconds, the D light is on and the other lights are off.

[0061] In the fifth 0.25 seconds, all lights go out. The neon lights have completed their work.

[0062] For example 3: (A1+B2+C3+D4+E5+F6+G7+H8+I9+J0++) time code type setting, set the setting time by the digital code in the alphanumeric combination in the data, 1 represents 0.1 seconds, 2 represents 0.2 seconds, 3 represents 0.5 seconds, 4 represents 1 second, 5 represents 2 seconds, 6 represents 5 seconds, 7 represents 10 seconds, 8 represents 20 seconds, 9 represents 50 seconds, and 0 represents 100 seconds. The 8-bit binary lamp status data stored in the EEPROM memory by the preset control module is the first group (10000000, 01000000, 00100000, 0001000, 0000100, 00000010, 00000001), the second group (10000000, 01000000), (00000000).

[0063] The 8-bit binary delay time data of the lamp stored in the EEPROM memory by the control module is (00000001, 00000010, 00000011, 00000100, 00000101, 00000110, 00000111, 00001000, 00001001, 00001010, 00000000).

[0064] The above program means:

[0065] The A in the first alphanumeric combination A1 represents that the A light is on, 1 represents that the light is on for 0.01 seconds, and the other lights are off.

[0066] The B in the second alphanumeric combination B2 represents that the B light is on, and 2 represents that the light is on for 0.2 seconds, while the other lights are off.

[0067] The C in the third alphanumeric combination C3 represents that the C light is on, 3 represents that the light is on for 0.5 seconds, and the other lights are off.

[0068] The D in the fourth alphanumeric combination D4 represents that the D light is on, 4 represents that the time is on for 1 second, and the other lights are off.

[0069] The E in the fifth alphanumeric combination E5 represents that the E light is on, 5 represents that the time is on for 2 seconds, and the other lights are off.

[0070] The F in the sixth alphanumeric combination F6 represents that the F light is on, 6 represents that the time is on for 5 seconds, and the other lights are off.

[0071] The G in the seventh alphanumeric combination G7 represents that the G light is on, 7 represents that the time is on for 10 seconds, and the other lights are off.

[0072] The H in the eighth alphanumeric combination H8 represents that the H light is on, 8 represents that the time is on for 20 seconds, and the other lights are off.

[0073] In the ninth alphanumeric combination I9, I represents that the I light is on, 9 represents that the time is on for 50 seconds, and the other lights are off.

[0074] The J in the tenth alphanumeric combination J0 represents that the J light is on, and 0 represents that the time is on for 100 seconds, and the other lights are off.

[0075] Then it loops back to the first data. When the set time length is not found in the digital representation, the time combination method is used instead. For example: if light A needs to be on for 60 seconds and light B needs to be on for 190.3 seconds, then (A9+A7+B0+B9+B8+B8+B5+B4+).

[0076] Example 4:

[0077] When the light brightness is divided into 10 levels, such as the symbol Represents level 1, symbol represents level 2, the symbol ó represents level 3, and the symbol Represents level 4, symbol Represents level 5, symbol represents level 6, the symbol ÷ represents level 7, the symbol represents level 8, the symbol ù represents level 9, the symbol Represents 10 levels. This example is not limited to the current example symbol. When presetting the light brightness, the code can be placed before the time code or after the time code, in any order!

[0078] The 8-bit binary lamp status data stored by the preset control module in the EEPROM memory is (11111110, 11111110, 11111110).

[0079] The 8-bit binary light delay time data stored by the control module in the EEPROM memory is (00000100, 00000110, 00001000).

[0080] The control module stores the 8-bit binary lamp brightness data (00000001, 00000010, 00000011) in the EEPROM memory.

[0081] The first group ABCDEFG 4 combination, letters ABCDEFG means ABCDEFG modules light up at the same time, characters The number 4 represents that the light is on for 1 second, and the other lights are off.

[0082] The second group is ABCDEFGò6 combination. The letters ABCDEFG represent that the ABCDEFG modules light up at the same time. The character ò represents that the brightness of the light is level 2. The number 6 represents that the light stays on for 5 seconds, and the other lights are off.

[0083] The third group is ABCDEFG8ó combination. The letters ABCDEFG represent that the ABCDEFG modules light up at the same time, the character ó represents the brightness of the light at level 3, the number 8 represents that the light will be on for 20 seconds, and the other lights are off.

[0084] And so on, looping to the first data combination.

[0085] For example, 5: (ABCDEFG1+). Constant light mode. By adding numbers to the data to set the set time, the 8-bit binary data stored in the EEPROM memory by the control module is (11111110).

[0086] The 8-bit binary delay time data of the lamp stored in the EEPROM memory by the control module is (00000001).

[0087] The above program means:

[0088] The first data ABCDEFG light is always on, and the other lights are off.

[0089] For example 6: (ABCDEFG3+3+). Flashing mode. By adding numbers to the data to set the set time, the 8-bit binary lamp status data stored in the EEPROM memory by the control module is (11111110, 00000000).

[0090] The 8-bit binary delay time data of the lamp stored in the EEPROM memory by the control module is (00000101, 00000101).

[0091] The above program means:

[0092] The first data ABCDEFG lights up for 0.5 seconds, and the other lights are off.

[0093] For the second data, all lights are turned off with a delay of 0.5 seconds.

[0094] Then it cycles back to the first data, that is, the ABCDEFG lights light up every 0.5 seconds and each time for 0.5 seconds.

[0095] Compared with the existing technology, the beneficial effect of the present invention is that the neon light circuit described in the present application receives the working instructions edited by the user through the APP in real time according to the wireless communication module, and then the neon light circuit controls the working states of multiple lamp bead modules respectively according to the working instructions, so that the user can edit the jump display mode of the neon light circuit according to actual needs, thereby improving the diversity of products. The user only needs symbols and letters to edit the working instructions, which reduces the difficulty of editing.

[0096] In the description of the specification, the description with reference to the terms "one embodiment", "preferably", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention, and the schematic expressions of the above terms in this specification do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. The connection method connected in the description of the specification has obvious effects and practical effectiveness.

[0097] Through the description of the above structure and principle, technicians in the relevant technical field should understand that the present invention is not limited to the above-mentioned specific implementation methods. Improvements and substitutions based on the present invention using the well-known technology in the field all fall within the protection scope of the present invention and should be defined by the claims.

Claims

1. A neon lamp circuit, characterized in that: include: A control module and a plurality of lamp bead modules, wherein the plurality of lamp bead modules are connected in series in sequence to form a lamp bead sequence, and the lamp bead sequence is connected in series with the control module; The control module includes an MCU controller and a wireless communication unit. The MCU controller receives a working instruction through the wireless communication unit and then controls the working state of each lamp bead module respectively according to the working instruction.

2. The neon lamp circuit according to claim 1, characterized in that: The control module also includes a voltage stabilizer, a voltage stabilizing diode D15 and a resistor U11. The input end of the voltage stabilizer is connected to the input voltage, and the output end of the voltage stabilizer is connected to the MCU controller and the wireless communication unit for powering the MCU controller and the wireless communication unit. The signal receiving end of the MCU controller is connected to the signal transmitting end of the wireless communication unit for receiving working instructions through the wireless communication unit. The signal transmitting end of the MCU controller is connected to the first lamp bead module in the lamp bead sequence through the resistor U11 for sending control instructions to the lamp bead sequence.

3. The neon lamp circuit according to claim 2, characterized in that: The control module also includes a debugging circuit for connection debugging, the debugging circuit includes a resistor U9, a resistor U10 and a field effect transistor U8, the voltage input end of the field effect transistor U8 is used to connect to an external debugging device, the voltage output end of the field effect transistor U8 is connected to the first end of the resistor U9 and the resistor U10 respectively, the ground end of the field effect transistor U8 is grounded, the second end of the resistor U10 is connected to the debugging signal receiving end of the MCU controller, and the second end of the resistor U9 is grounded.

4. The neon lamp circuit according to claim 1, characterized in that: The circuit structure of each lamp bead module is the same. The first lamp bead module in the lamp bead sequence includes a control unit U6, a resistor U13, a resistor U14, a resistor U35, a field effect transistor U15 and several lamp beads. The first signal receiving end of the control unit U6 is used to receive the control instruction sent by the control module. After the several lamp beads are connected in series, one end is connected to the VCC end, and the other end is connected to the voltage input end of the field effect transistor U15 through the resistor U35. The voltage output end of the field effect transistor U15 is respectively connected to the first end of the resistor U13 and the resistor U14. The grounding end of the field effect transistor U15 is grounded. The second end of the resistor U13 is connected to the second signal receiving end of the control unit U6, and the second end of the resistor U14 is grounded. The signal transmitting end of the control unit U6 is connected to the first signal receiving end of the next lamp bead module in the lamp bead sequence, and is used to send the control instruction sent by the control module to the next lamp bead module in the lamp bead sequence.

5. The neon lamp circuit according to claim 1, characterized in that: The MCU controller includes: an EEPROM memory and a register, wherein the EEPROM memory is used to store the working instructions acquired by the MCU controller, and the register is used to receive the working instructions read from the EEPROM memory and send the working instructions to the lamp bead module.

6. A neon lamp circuit control method, characterized in that: The neon lamp circuit control method is used to control the neon lamp circuit according to any one of claims 1 to 5, and the method comprises the following steps: The neon light circuit is wirelessly connected to the APP, and receives the working instructions sent by the APP after the connection is successful; The neon lamp circuit identifies the received working instructions, writes the working instructions into the memory first, then reads the working instructions from the memory, and then controls several lamp bead modules of the neon lamp circuit to work separately according to the working instructions.

7. The neon lamp circuit control method according to claim 6, characterized in that: The neon lamp circuit receives a working instruction and then writes the working instruction into the EEPROM memory, wherein the working instruction is N groups of 8-bit binary data, and N is a natural number greater than 0; Alternatively, the neon lamp circuit converts the received working instruction into N groups of 8-bit binary data according to the editing table, and then writes the converted N groups of 8-bit binary data into the EEPROM memory, wherein the working instruction is character data and N is a natural number greater than 0.

8. The neon lamp circuit control method according to claim 7, characterized in that: The neon lamp circuit reads the working instructions from the memory, including the following steps: The MCU controller of the neon lamp circuit initializes the EEPROM memory, and then determines the starting address for reading N groups of 8-bit binary data from the EEPROM memory; The MCU controller of the neon lamp circuit reads data from the EEPROM memory according to the start, and writes the read N groups of 8-bit binary data into the register.

9. The neon lamp circuit control method according to claim 8, characterized in that: The neon lamp circuit controls several lamp bead modules of the neon lamp circuit to work separately according to the working instructions, including the following steps: The MCU controller sends N groups of 8-bit binary data to the control unit of the first lamp bead module in the lamp bead sequence in sequence, sending one bit of binary data each time; After receiving N groups of 8-bit binary data, the first lamp module decides to turn on or off its own lamp according to the first data of the N groups of 8-bit binary data; The first lamp bead module removes the binary data used for its own work, and sends the remaining binary data to the next lamp bead module in the lamp bead sequence; The lamp bead modules in the lamp bead sequence cycle this process, so that the control module controls the working state of each lamp bead module according to the working instructions; The MCU controller of the control module and the control unit U6 of the lamp bead module communicate with each other through a single-line return-to-zero code.

10. An APP control method, characterized in that: The control method comprises the following steps: When the APP starts working, it will automatically communicate with the control module of the neon lamp circuit. After the communication connection is completed, it will receive the editing instructions for controlling the lamp bead module, and then convert the editing instructions into working instructions through the ASCII table, and then send the working instructions to the control module, wherein the editing instructions include but are not limited to letters and symbols, and the working instructions are character data in the ASCII table; Alternatively, when the APP starts working, it automatically communicates and connects with the control module of the neon lamp circuit. After the communication connection is completed, it receives the editing instructions for controlling the lamp bead module, and then converts the editing instructions into working instructions through the editing table, and then sends the working instructions to the control module, wherein the editing instructions include but are not limited to letters and symbols, and the working instructions are N groups of 8-bit binary data, where N is a natural number greater than 0.