CN108684100B - Mirror lamp with memory function - Google Patents
Mirror lamp with memory function Download PDFInfo
- Publication number
- CN108684100B CN108684100B CN201810283041.4A CN201810283041A CN108684100B CN 108684100 B CN108684100 B CN 108684100B CN 201810283041 A CN201810283041 A CN 201810283041A CN 108684100 B CN108684100 B CN 108684100B
- Authority
- CN
- China
- Prior art keywords
- module
- control module
- chip microcomputer
- light intensity
- pointer object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/20—Controlling the colour of the light
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a mirror lamp with a memory function, which comprises a power supply module, a light source module, a single-chip microcomputer control module, a storage module, a light intensity detection module, a touch control module and switching tubes, wherein the output end of the light intensity detection module is connected with the input end of the single-chip microcomputer control module, the touch control module is connected with the single-chip microcomputer control module, the single-chip microcomputer control module is in bidirectional communication connection with the storage module, the single-chip microcomputer control module is respectively connected with the control end of the switching tubes, and the two switching tubes respectively control the power supply module to be in power-on connection with the light. The light intensity detection module detects the light intensity of the environment where the user is located, the single chip microcomputer control module judges which light intensity range the current light intensity is specifically in, the pointer object is obtained, the single chip microcomputer control module is controlled to output the duty ratio of the PWM signal to the control end of the switching tube according to the data in the storage unit pointed by the pointer object, and finally the control of the light brightness and the color temperature of the mirror lamp light source module is achieved.
Description
Technical Field
The invention relates to the technical field of mirror lamp structures, in particular to a mirror lamp structure with a memory function.
Background
In modern homes, mirrors are almost always arranged in bathrooms or rooms, and in order to enable users to have good imaging definition when the mirrors are used, the mirrors are provided with LED light sources.
The existing mirror lamp is increasingly rich in functions, and a series of functions of luminous intensity adjustment, luminous color temperature adjustment and the like are sequentially provided, so that the requirements of different users can be met. However, after the existing mirror lamp is restarted, the user is required to readjust each parameter of the mirror lamp, and the operation is cumbersome.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: provides a mirror lamp structure with memory function.
The solution of the invention for solving the technical problem is as follows:
a mirror lamp with a memory function comprises a power supply module, a light source module, a single-chip microcomputer control module, a storage module, a light intensity detection module, a touch control module and a switch tube, wherein the power supply module supplies power for each circuit module, the light source module comprises two LED light source branches, the two LED light source branches respectively emit 6500K color temperature light and 3000K color temperature light, the output end of the light intensity detection module is connected with the input end of the single-chip microcomputer control module, the touch control module is connected with the input end of the single-chip microcomputer control module, the single-chip microcomputer control module is in two-way communication connection with the storage module, the output end of the single-chip microcomputer control module is respectively connected with a switch tube control end, and the output ends of the two switch tubes respectively control the; the storage module is divided into a plurality of storage units, each storage unit is pointed by a unique pointer object, each pointer object corresponds to one illumination intensity range, PWM (pulse width modulation) signal duty ratio values which are respectively output to two switch tube control ends by the single-chip microcomputer control module are stored in the storage units, and the single-chip microcomputer control module is configured to acquire the corresponding pointer object according to the current ambient illumination intensity, read data of the storage unit pointed by the pointer object and control the duty ratio of PWM signals output to the two switch tube control ends according to the data.
As a further improvement of the above technical solution, the light intensity detection module comprises a light intensity sensor with model number GY-30, and the output end of the light intensity sensor passes through I2The C bus is connected with the input end of the singlechip control module.
As a further improvement of the above technical solution, the invention further comprises a clock module with model number DS1302, the clock module is in bidirectional communication connection with the single chip microcomputer control module through an SPI bus; each pointer object also corresponds to a time range; the singlechip control module is configured with a time mode and a light intensity mode; in the time mode, the single-chip microcomputer control module is configured to acquire a corresponding pointer object according to the current time, read data of a storage unit pointed by the pointer object, and control and output duty ratio of PWM signals to control ends of two switching tubes according to the data; and under the light intensity mode, the singlechip control module is configured to acquire a corresponding pointer object according to the current ambient light intensity, read data of a storage unit pointed by the pointer object and control the duty ratio of PWM signals output to the control ends of the two switching tubes according to the data.
The invention has the beneficial effects that: the light intensity detection module detects the light intensity of the environment where the user is located, the single chip microcomputer control module judges which light intensity range the current light intensity is specifically in, the pointer object is obtained, the single chip microcomputer control module is controlled to output the duty ratio of the PWM signal to the control end of the switching tube according to the data in the storage unit pointed by the pointer object, and finally the control of the light brightness and the color temperature of the mirror lamp light source module is achieved.
Drawings
In order to more clearly illustrate the technical solution in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is clear that the described figures are only some embodiments of the invention, not all embodiments, and that a person skilled in the art can also derive other designs and figures from them without inventive effort.
Fig. 1 is a circuit module frame diagram of the present invention.
Detailed Description
The conception, the specific structure and the technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the features and the effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention. In addition, all the coupling/connection relationships mentioned herein do not mean that the components are directly connected, but mean that a better coupling structure can be formed by adding or reducing coupling accessories according to specific implementation conditions. All technical characteristics in the invention can be interactively combined on the premise of not conflicting with each other.
Referring to fig. 1, the invention creatively discloses a mirror lamp with a memory function, which comprises a power supply module, a light source module, a single-chip microcomputer control module, a storage module, a light intensity detection module, a touch control module and a switch tube, wherein the power supply module supplies power for each circuit module, the light source module comprises two LED light source branches, the two LED light source branches respectively emit 6500K color temperature light and 3000K color temperature light, the output end of the light intensity detection module is connected with the input end of the single-chip microcomputer control module, the touch control module is connected with the input end of the single-chip microcomputer control module, the single-chip microcomputer control module is in two-way communication connection with the storage module, the output end of the single-chip microcomputer control module is respectively connected with the switch tube control end, and the output ends of the two; the storage module is divided into a plurality of storage units, each storage unit is pointed by a unique pointer object, each pointer object corresponds to one illumination intensity range, PWM (pulse width modulation) signal duty ratio values which are respectively output to two switch tube control ends by the single-chip microcomputer control module are stored in the storage units, and the single-chip microcomputer control module is configured to acquire the corresponding pointer object according to the current ambient illumination intensity, read data of the storage unit pointed by the pointer object and control the duty ratio of PWM signals output to the two switch tube control ends according to the data. Specifically, the light intensity detection module detects the light intensity of the environment where the user is located, the single chip microcomputer control module judges which light intensity range the current light intensity is specifically in, acquires the pointer object, and controls the single chip microcomputer control module to output the duty ratio of the PWM signal to the control end of the switching tube according to the data in the storage unit pointed by the pointer object, and finally the control of the light brightness and the color temperature of the mirror lamp light source module is realized.
Further, as a preferred embodiment, in the invention, the light intensity detecting module comprises a light intensity sensor with model number of GY-30, and the output end of the light intensity sensor passes through I2The C bus is connected with the input end of the singlechip control module. The illuminance sensor of the type is internally provided with an analog-to-digital converter, so that the complexity of a circuit structure is greatly reduced, and meanwhile, the programming difficulty is effectively reduced.
Further as a preferred embodiment, in the specific embodiment of the present invention, the present invention further includes a clock module with a model number of DS1302, wherein the clock module is connected with the single chip microcomputer control module through an SPI bus in a bidirectional communication manner; each pointer object also corresponds to a time range; the singlechip control module is configured with a time mode and a light intensity mode; in the time mode, the single-chip microcomputer control module is configured to acquire a corresponding pointer object according to the current time, read data of a storage unit pointed by the pointer object, and control and output duty ratio of PWM signals to control ends of two switching tubes according to the data; and under the light intensity mode, the singlechip control module is configured to acquire a corresponding pointer object according to the current ambient light intensity, read data of a storage unit pointed by the pointer object and control the duty ratio of PWM signals output to the control ends of the two switching tubes according to the data. Specifically, the invention can perform different memory functions for different users, some users are sensitive to the illuminance in practical application, and need to adjust the light-emitting brightness and the light-emitting color temperature of the light source module according to the illuminance, while some users are sensitive to the time, and need to adjust the light-emitting brightness and the light-emitting color temperature of the light source module according to the different time periods. Therefore, the invention creates two working modes for the single chip microcomputer control module, namely a time mode and a light intensity mode, and a user can freely select the working mode of the single chip microcomputer control module according to the self requirement.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that the present invention is not limited to the details of the embodiments shown and described, but is capable of numerous equivalents and substitutions without departing from the spirit of the invention as set forth in the claims appended hereto.
Claims (2)
1. The utility model provides a take mirror lamp of memory function which characterized in that: the LED light source module comprises two LED light source branches, wherein the two LED light source branches respectively emit 6500K color temperature light and 3000K color temperature light, the output end of the light intensity detection module is connected with the input end of the single chip microcomputer control module, the touch control module is connected with the input end of the single chip microcomputer control module, the single chip microcomputer control module is in two-way communication connection with the storage module, the output end of the single chip microcomputer control module is respectively connected with the control end of the switch tube, and the output ends of the two switch tubes respectively control the power-on connection of the power supply module and the light source module; the storage module is divided into a plurality of storage units, each storage unit is pointed by a unique pointer object, each pointer object corresponds to one illumination intensity range, PWM (pulse width modulation) signal duty ratio values which are respectively output to two switch tube control ends by the single chip microcomputer control module are stored in the storage units, and the single chip microcomputer control module is configured to acquire a corresponding pointer object according to the current ambient illumination intensity, read data of the storage unit pointed by the pointer object and control the duty ratio of PWM signals output to the two switch tube control ends according to the data;
the mirror lamp also comprises a clock module with the model number of DS1302, and the clock module is in bidirectional communication connection with the single chip microcomputer control module through an SPI bus; each pointer object also corresponds to a time range; the singlechip control module is configured with a time mode and a light intensity mode; in the time mode, the single-chip microcomputer control module is configured to acquire a corresponding pointer object according to the current time, read data of a storage unit pointed by the pointer object, and control duty ratio of PWM signals output to control ends of two switching tubes according to the data of the storage unit pointed by the pointer object corresponding to the current time; and under the light intensity mode, the singlechip control module is configured to acquire a corresponding pointer object according to the current ambient light intensity, read data of a storage unit pointed by the pointer object, and control and output the duty ratio of PWM signals to the control ends of the two switching tubes according to the data of the storage unit pointed by the pointer object corresponding to the current ambient light intensity.
2. A mirror lamp with memory function as claimed in claim 1, wherein: the light intensity detection module comprises a type GY-30 illuminance sensor, and the output end of the illuminance sensor passes through I2The C bus is connected with the input end of the singlechip control module。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283041.4A CN108684100B (en) | 2018-04-02 | 2018-04-02 | Mirror lamp with memory function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283041.4A CN108684100B (en) | 2018-04-02 | 2018-04-02 | Mirror lamp with memory function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108684100A CN108684100A (en) | 2018-10-19 |
CN108684100B true CN108684100B (en) | 2021-03-26 |
Family
ID=63799784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810283041.4A Active CN108684100B (en) | 2018-04-02 | 2018-04-02 | Mirror lamp with memory function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108684100B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103260317A (en) * | 2013-05-29 | 2013-08-21 | 屠建军 | Intelligent light control method and control system thereof |
CN103517522A (en) * | 2013-09-17 | 2014-01-15 | 奉化市金源电子有限公司 | Lighting lamp with fingerprint recognition and memory function |
CN104735874A (en) * | 2015-03-20 | 2015-06-24 | 彭云 | Lamp and dimming method thereof |
CN107087325A (en) * | 2017-05-24 | 2017-08-22 | 昆山高过云智能科技有限公司 | Intelligent method for controlling street lamps |
CN206469168U (en) * | 2017-01-20 | 2017-09-05 | 昆山高过云智能科技有限公司 | The LED street lamp of light self-adaptation type |
CN207100792U (en) * | 2017-09-05 | 2018-03-16 | 佛山市南海区里水奇辉箱包制品有限公司 | A kind of LED make-up kits |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203279315U (en) * | 2013-06-19 | 2013-11-06 | 杭州汉徽光电科技有限公司 | Semiconductor light source with lighting and vegetation growth light supplement function |
CN104981043A (en) * | 2014-04-01 | 2015-10-14 | 吴燕珊 | Automatic dimming lamp circuit |
CN106090689A (en) * | 2016-08-30 | 2016-11-09 | 佛山科学技术学院 | A kind of head-hoop LED reading lamp |
-
2018
- 2018-04-02 CN CN201810283041.4A patent/CN108684100B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103260317A (en) * | 2013-05-29 | 2013-08-21 | 屠建军 | Intelligent light control method and control system thereof |
CN103517522A (en) * | 2013-09-17 | 2014-01-15 | 奉化市金源电子有限公司 | Lighting lamp with fingerprint recognition and memory function |
CN104735874A (en) * | 2015-03-20 | 2015-06-24 | 彭云 | Lamp and dimming method thereof |
CN206469168U (en) * | 2017-01-20 | 2017-09-05 | 昆山高过云智能科技有限公司 | The LED street lamp of light self-adaptation type |
CN107087325A (en) * | 2017-05-24 | 2017-08-22 | 昆山高过云智能科技有限公司 | Intelligent method for controlling street lamps |
CN207100792U (en) * | 2017-09-05 | 2018-03-16 | 佛山市南海区里水奇辉箱包制品有限公司 | A kind of LED make-up kits |
Also Published As
Publication number | Publication date |
---|---|
CN108684100A (en) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10219358B2 (en) | LED controller with bluetooth | |
EP3468305A1 (en) | Bluetooth ceiling lamp | |
EP3367753A1 (en) | Bluetooth bulb lamp | |
CN202043348U (en) | Light-emitting diode (LED) lamp capable of conveniently regulating color temperature | |
WO2017206641A1 (en) | Bluetooth panel lamp | |
JP2019212626A (en) | Master-slave lighting device, master-slave lighting device control method, and smart lighting system | |
CN108966410B (en) | LED lamp controller, LED lamp and control method thereof | |
CN108684100B (en) | Mirror lamp with memory function | |
CN203608428U (en) | Four-in-one light modulation circuit of LED driving power supply | |
CN112954845A (en) | LED dimming control circuit, method, chip and lighting device | |
US11259387B2 (en) | OLED light source drive control circuit and OLED lamp | |
CN215453338U (en) | Lighting control system | |
CN212970193U (en) | 2.4G wireless control system | |
CN210579401U (en) | Wireless dimming and color mixing device | |
CN209982778U (en) | Intelligent COB optical engine module | |
CN211557568U (en) | Thing networking light controlling means of multi-scheme storage | |
CN203743958U (en) | LED bulb with human body infrared induction function | |
CN203467017U (en) | Lighting energy saving system for shopping malls and supermarkets | |
CN207266350U (en) | LED dimming driving circuits and LED drive device | |
JP5645200B2 (en) | Lighting device | |
CN112291882A (en) | Ultra-thin mobile phone LED backlight driving control system | |
CN220139765U (en) | LED illumination controller and LED lighting device based on microwave response | |
CN212785932U (en) | Illumination adjusting circuit and illumination device | |
CN210725407U (en) | Intelligent dimming and color-mixing LED control circuit for switch | |
CN213403572U (en) | Intelligent dimming controller circuit with multiple control modes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 528000 No. 1, Qiaonan Road, Xiafang village, Shang'an community, Danzao Town, Nanhai District, Foshan City, Guangdong Province Patentee after: Foshan Yiheng intelligent Sanitary Ware Co.,Ltd. Address before: No.1, Zhongfang Development Zone, Shangan community, Danzao Town, Nanhai District, Foshan City, Guangdong Province, 528216 Patentee before: FOSHAN ETERNA LIGHTING Co.,Ltd. |
|
CP03 | Change of name, title or address |