SUMMERY OF THE UTILITY MODEL
An object of the utility model is to prior art not enough, provide a pronunciation dimming control system for desk lamp, can enough adjust the light and the mode of desk lamp through pronunciation closely control, can adjust the light and the mode of desk lamp through key switch control again to promote the user experience when using the desk lamp.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
a voice dimming control system for a desk lamp, comprising: a power module, LED drive circuit module, a microphone for receiving voice information, a voice processing module for handling voice information for supplying power to desk lamp control system, a storage module, an LED display module for storing voice information and a control unit for adjusting luminance and switching modes to the desk lamp, the power module is connected with the LED drive circuit module, the LED drive circuit module is connected with the control unit, the microphone is connected with the voice processing module, the voice processing module is connected with the control unit, the storage module is connected with the voice processing module, the LED display module is connected with the control unit, the control unit is further connected with a control switch, a voice processing chip U9, the model of the voice processing chip U9 is WTK6900CS-B01, No. 5 pin MIC + of the voice processing chip U9 is connected with the positive pole of the microphone, the No. 6 pin MIC-of the voice processing chip U9 is connected with the negative electrode of the microphone, the storage module comprises a flash storage chip U6, the flash storage chip U6 is GD25Q80E, the No. 1 pin CS of the flash storage chip U6 is connected with the No. 7 pin SPI-CS of the voice processing chip U9, the No. 2 pin SO of the flash storage chip U6 is connected with the No. 3 pin SPI-DO of the voice processing chip U9, the No. 5 pin SI of the flash storage chip U6 is connected with the No. 12 pin SPI-DI of the voice processing chip U9, and the No. 6 pin SCLK of the flash storage chip U6 is connected with the No. 8 pin SPI-CLK of the voice processing chip U9.
Further, the LED display module includes a first rgbl LED lamp U3 and a second rgbl LED lamp U4, the first rgbl LED lamp U3 and the second rgbl LED lamp U4 are both WS2812B, pin VDD No. 1 of the first rgbl LED lamp U3 is connected to pin VDD No. 1 of the second rgbl LED lamp U3, pin DOUT No. 2 of the first rgbl LED lamp U3 is connected to pin DIN No. 4 of the second rgbl LED lamp U3, and pin VSS No. 3 of the first rgbl LED lamp U3 is connected to pin VSS No. 3 of the second rgbl LED lamp U3.
Further, the control unit comprises a single chip microcomputer U5, the single chip microcomputer U5 is PIC16F1823 in model, pin RA5 of the single chip microcomputer U5 is connected with the LED driving circuit module, pin RA4 of the single chip microcomputer U5 is connected with pin DIN 4 of the first RGBLED lamp U3, pin RC5 of the single chip microcomputer is connected with pin TX 13 of the voice processing chip U9, and pin RC4 of the single chip microcomputer is connected with pin RX 14 of the voice processing chip U9.
Furthermore, a linear voltage stabilizing module capable of stabilizing the output voltage is connected to the LED driving circuit module.
Further, the LED drive circuit comprises a charging interface circuit and a boosting chip U2, the boosting chip U2 is connected with the charging interface circuit, and the charging interface circuit is connected with the control unit.
Furthermore, the control unit is also connected with a temperature detection module.
Furthermore, a voltage detection module is connected to the control unit.
Further, the control switch comprises a power switch SW1 and a mode switch SW2, the power switch SW1 is connected with a No. 8 pin RC2 of the single chip microcomputer U5, and the mode switch SW2 is connected with a No. 9 pin RC2 of the single chip microcomputer U5.
The utility model has the advantages that:
through being connected microphone and speech processing module, speech processing module is connected with the control unit, and storage module is connected with speech processing module, LED display module with the control unit is connected, still is connected with control switch on the control unit, makes speech processing module and the control unit produce the light and the mode that the signal transform realized adjusting the desk lamp through speech control on the one hand, and on the other hand also can be through the light and the mode of key switch control regulation desk lamp for it more conveniently controls the desk lamp, thereby promote the experience of user when using the desk lamp.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present invention, and should not be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are merely for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "fixed" are to be construed broadly, e.g., as fixed or detachable connections or as an integral part; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present invention can be understood according to specific situations by those skilled in the art.
Referring to fig. 1 to 9, a voice dimming control system for a desk lamp includes: a power supply module for supplying power to a desk lamp control system, an LED drive circuit module, a microphone for receiving voice information, a voice processing module for processing the voice information, a storage module for storing the voice information, an LED display module and a control unit for dimming and switching modes of the desk lamp, wherein the power supply module is connected with the LED drive circuit module, the LED drive circuit module is connected with the control unit, the microphone is connected with the voice processing module, the voice processing module is connected with the control unit, the storage module is connected with the voice processing module, the LED display module is connected with the control unit, the control unit is also connected with a control switch, a voice processing chip U9, the model of the voice processing chip U9 is WTK6900CS-B01, a No. 5 pin MIC + of the voice processing chip U9 is connected with the positive pole of the microphone, a No. 6 pin MIC-of the voice processing chip U9 is connected with the negative pole of the microphone, the storage module comprises a flash storage chip U6, the model of the flash storage chip U6 is GD25Q80E, pin CS No. 1 of the flash storage chip U6 is connected with pin SPI-CS No. 7 of the voice processing chip U9, pin SO No. 2 of the flash storage chip U6 is connected with pin SPI-DO No. 3 of the voice processing chip U9, pin SI No. 5 of the flash storage chip U6 is connected with pin SPI-DI No. 12 of the voice processing chip U9, pin SCLK No. 6 of the flash storage chip U6 is connected with pin SPI-CLK No. 8 of the voice processing chip U9, pin No. 3 of the flash storage chip U6 is further connected with a capacitor C16, the other end of the capacitor C16 is grounded, and pin No. 4 of the flash storage chip U6 is grounded.
Referring to fig. 5, in the above embodiment, the LED display module includes a first rgbl LED lamp U3 and a second rgbl LED lamp U4, the first rgbl LED lamp U3 and the second rgbl LED lamp U4 are both WS2812B, pin 1 VDD of the first rgbl LED lamp U3 is connected to pin 1 VDD of the second rgbl LED lamp U3, pin 1 VDD of the rgbl LED lamp U3 is connected to the voltage output end of the power supply module, pin 2 DOUT of the first rgbl LED lamp U3 is connected to pin 4 DIN of the second rgbl LED lamp U3, and pin 3 VSS of the first rgbl LED lamp U3 is connected to pin 3 VSS of the second rgbl LED lamp U3.
Referring to fig. 2, in the above embodiment, the control unit includes a single chip microcomputer U5, the type of the single chip microcomputer U5 is PIC16F1823, a pin RA5 of the single chip microcomputer U5 is connected to the LED driving circuit module, a pin RA4 of the single chip microcomputer U5 is connected to a pin DIN 4 of the first rgbd LED lamp U3, a pin RC5 of the single chip microcomputer U5 is connected to a pin TX 13 of the voice processing chip U9, a pin RC4 of the single chip microcomputer U3832 is connected to a pin RX 14 of the voice processing chip U9, the single chip microcomputer U5 is connected to a capacitor C15, one end of the capacitor C15 is connected to a pin VDD 1 of the single chip microcomputer U5, the other end of the capacitor C15 is connected to a pin VSS 14 of the single chip microcomputer U5, and the pin VSS 14 of the single chip microcomputer U5 is grounded.
Referring to fig. 6 and 7, in the above embodiment, the LED driving circuit module is further connected to a linear voltage stabilizing module capable of stabilizing an output voltage, specifically, the linear voltage stabilizing module includes: the linear voltage stabilization chip U8, pin 1 VSS of linear voltage stabilization chip U8 is grounded, pin 2 VOUT of linear voltage stabilization chip U8 is connected with pin 1 VDD of singlechip U5, pin 3 VIN of linear voltage stabilization chip U8 is connected with battery BAT, pin 2 VOUT of linear voltage stabilization chip U8 is also connected with capacitor C12, the other end of capacitor C12 is grounded, pin 3 VOUT of linear voltage stabilization chip U8 is also connected with capacitor C11, the other end of capacitor C11 is grounded, and the models of capacitor C11 and capacitor C12 are both 1uf/6.3 v.
Referring to fig. 7, in the above embodiment, the LED driving circuit includes a charging interface circuit and a boost chip U2, the boost chip U2 is connected to the charging interface circuit, the charging interface circuit is connected to the control unit, and the charging interface circuit includes: a transistor Q2 and a field effect transistor Q3, wherein the base of the transistor Q2 is connected with a pin RA5 of the singlechip U5, the emitter of the transistor Q2 is grounded, the collector of the transistor Q2 is connected with the G pole of the transistor Q3, the drain of the transistor Q3 is connected with the battery BAT, the source of the transistor Q3 is connected with a pin EN 4 of the boost chip U2 after being connected with a resistor R1 in series, in the embodiment, the transistor Q3 is P-channel depletion type, the charging interface circuit further comprises a resistor R3 and a capacitor C3, one end of the resistor R3 is connected with the base of the transistor Q3, the other end of the resistor R3 is connected with the drain of the transistor Q3, one end of the capacitor C3 is connected with the emitter of the transistor Q3, the transistor Q3 is S8050, the transistor Q3 is MFE823, the other end of the capacitor C3 is connected with the source of the boost chip U3, an inductor L3 is connected with the pin LX chip 3, the other end of the inductor L1 is connected with a pin IN No. 6 of a boosting chip U2, a pin LX No. 1 of the boosting chip U2 is connected with a diode D1 IN series and then connected with a voltage output end of a power supply module, the cathode of the diode D1 is connected with a resistor R3 and a resistor R4 IN series IN sequence and then grounded, a pin FB No. 3 of the boosting chip U2 is connected with a connection point of the resistor R3 and a resistor R4, the cathode of the diode D1 is further connected with a capacitor C1 and a capacitor C2, the capacitor C1 is connected with the capacitor C2 IN parallel, wherein the model of the diode D1 is B5817WS, and the capacities of the capacitor C1 and the capacitor C2 are both 10 UF.
Referring to fig. 8, in the above embodiment, the control unit is further connected to a temperature detection module, the temperature detection module is used to detect the temperature of the circuit in the using process, so as to ensure safe use, and the temperature detection module includes: resistance R5 and resistance R6, resistance R5 one end connect No. 2 pin RA5 of singlechip U5, ground connection behind the resistance R5 other end series connection resistance R6, resistance R5 and resistance R6's junction point is connected with No. 11 pin RA2 of singlechip U5, wherein, resistance R5 is 10K ohm, and resistance R6 is thermistor.
Referring to fig. 9, in the above embodiment, the control unit is further connected to a voltage detection module for power supply electric quantity detection feedback, and the temperature detection module includes: the battery BAT is connected to one end of a resistor R8 and a resistor R9, one end of a resistor R8 is connected with the battery BAT, the other end of the resistor R8 is connected with a resistor R9 in series and then grounded, and a connection point of a resistor R8 and a resistor R9 is connected with a No. 7 pin RC3 of the single chip microcomputer U5, wherein resistance values of the resistor R8 and the resistor R9 are both 10K ohms.
Referring to fig. 2, in the above embodiment, the control switch includes a power switch SW1 and a mode switch SW2, the power switch SW1 is connected to pin RC2 No. 8 of the single chip microcomputer U5, the other end of the power switch SW1 is grounded, the mode switch SW2 is connected to pin RC2 No. 9 of the single chip microcomputer U5, and the other end of the mode switch SW2 is grounded; when the LED desk lamp is used, the power switch SW1 or the mode switch SW2 is manually adjusted, the power switch SW1 or the mode switch SW2 transmits signals to the single chip microcomputer U5, so that the single chip microcomputer U5 controls the LED driving circuit module or the LED display module to work, and therefore the mode and the light of the desk lamp are manually adjusted.
The working principle is as follows: the desk lamp is in a power-off mode in a default mode, when the desk lamp is used, the voice processing chip U9 recognizes a specific voice command input by a person, the microphone receives a voice signal and transmits the voice signal to the voice processing chip U9, the voice processing chip U9 receives the signal, processes the voice signal into a digital signal and then is connected with the No. 6 pin RC4 of the single chip U5 through the No. 14 pin RX of the voice processing chip U9, the No. 13 pin TX of the voice processing chip U9 is connected with the No. 5 pin RC5 of the single chip U5, UART serial port communication is achieved, data are transmitted to the single chip U5, the single chip U5 can make LED control operation after receiving the command of the voice processing chip U9, and functions of controlling the desk lamp by voice, dimming and the like are achieved.
The above-mentioned embodiments are only one of the preferred embodiments of the present invention, and the ordinary changes and substitutions performed by those skilled in the art within the technical scope of the present invention should be included in the protection scope of the present invention.