CN1787709A - Method for controlling program-control colour-changing lamp - Google Patents

Method for controlling program-control colour-changing lamp Download PDF

Info

Publication number
CN1787709A
CN1787709A CNA2005100619629A CN200510061962A CN1787709A CN 1787709 A CN1787709 A CN 1787709A CN A2005100619629 A CNA2005100619629 A CN A2005100619629A CN 200510061962 A CN200510061962 A CN 200510061962A CN 1787709 A CN1787709 A CN 1787709A
Authority
CN
China
Prior art keywords
button
changing lamp
state
control method
unclamps
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.)
Pending
Application number
CNA2005100619629A
Other languages
Chinese (zh)
Inventor
金小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LIN WANGJIONG
Original Assignee
LIN WANGJIONG
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LIN WANGJIONG filed Critical LIN WANGJIONG
Priority to CNA2005100619629A priority Critical patent/CN1787709A/en
Publication of CN1787709A publication Critical patent/CN1787709A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

This invention relates to a control method for program controlled color changing lamps, which first of all judges if the key is pressed by a controller, if not, the controller continues the judgment, if so, a sound generator generates sound prompt, then the controller continues judging if the key is released in a set time period, if so, the lamp is at the color changing state, then the controller is still at the judgment state, if the key is not released, it turns to the next step till the sound device generates the nth sounds, the controller judges if the key is released, if so, the lamp is at the off state, then the controller judges, if the key is not released then it turns to the last step.

Description

A kind of control method of program-control colour-changing lamp
Technical field
The present invention relates to a kind of control method of program-control colour-changing lamp.
Background technology
At present, intersperse, the Color-changing lamp of decorative environment is of a great variety, usually it includes constant-flow driver or constant voltage driving device, controller, deconcentrator and a plurality of LED lamp, the power supply that driver provided is by behind the controller, link to each other with each LED lamp through deconcentrator, and that controller is designed to as required is multi-form, so that each LED lamp realizes that in an orderly manner change color reaches the purpose of beautifying the environment.And the control method of existing this class Color-changing lamp is divided into two kinds mostly: a kind of a plurality of buttons are set on controller, control the corresponding LED lamp respectively.Obviously, such operation was both inconvenient, and speed is slow again, was difficult to satisfy people's instructions for use and was eliminated gradually.Another kind is a time-sharing approach, a button promptly only is set on controller controls a plurality of LED lamps, selects the variable color mode by the length of pressing keys time, therefore, and a kind of defective of method before this control method overcomes to a certain extent.But in use find, because the time interval of changing between the display mode in this method is shorter, the operator is difficult to the control time point, therefore, for the general user, such control method still is difficult to capture required color show state, so still can not satisfy instructions for use preferably.
Summary of the invention
Technical problem to be solved by this invention is the present situation at prior art, provides a kind of seizure variable color state both easily and fast, again program-control colour-changing lamp control method intuitively.
The present invention solves the problems of the technologies described above the technical scheme that is adopted:
1. energized;
2. controller judges whether button is pressed;
3. if do not push button, then went to for the 2. step; If push button, then acoustical generator sends first, and controller judges then whether button unclamps, if button unclamps, then Color-changing lamp is in first kind of variable color state in the very first time section of setting, and then goes to for the 2. step; If button does not unclamp, then go to next step;
4. acoustical generator sends the rising tone, and controller judges that then whether button unclamps again in second time period of setting, if button unclamps, then Color-changing lamp is in second kind of variable color state, then goes to for the 2. step; If button does not unclamp, then go to next step;
5. acoustical generator sends the 3rd, and controller judges that then whether button unclamps again in the 3rd time period of setting, if button unclamps, then Color-changing lamp is in the third variable color state, then goes to for the 2. step; If button does not unclamp, then go to next step;
6. successively after acoustical generator sends n sound, controller judges then whether button unclamps, if button unclamps, then Color-changing lamp is in closed condition again after the time of setting, and then goes to for the 2. step; If button does not unclamp, then go to previous step.
In above-mentioned control method, described acoustical generator can be provided with the four tones of standard Chinese pronunciation altogether, promptly n sound can be the falling tone, and described very first time section is 0~1 second, described second time period for greater than 1 second less than 2 seconds, described the 3rd time period is greater than 2 seconds and less than 3 seconds, and described setting-up time is greater than 3 seconds.
Described first kind of variable color state can be monochromatic show state; And second all variable color states can be the automatic saltus step show state of polychrome; The third variable color state is a polychrome gradual change show state.Certainly the order of these three states can be exchanged.
Described acoustical generator is good with buzzer.
Compared with prior art, because the present invention adopts single key stroke, time slice and the acting in conjunction of sound number of times to point out the variable color state, thereby the operator need not resolving time, can rely on the sound prompting of acoustical generator intuitively, just can control required variable color state like clockwork, obviously, such method make operate convenient, quick, so the present invention is worth applying on each decorative lamp.
Description of drawings
Fig. 1 is the circuit diagram that the embodiment of the invention adopted;
Fig. 2 is the flow chart of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing embodiment invention is described in further detail.
The control circuit figure of this Color-changing lamp is referring to Fig. 1, wherein, Color-changing lamp adopts the LED lamp, and successively by red, blue, green sequence arrangement circlewise, the power output end of constant voltage driving device 1 links to each other with the power input of controller IE by conventional reduction voltage circuit 2 backs, here, it is the single-chip microcomputer of AT89C2051 that controller IE adopts model, three control mouths of this single-chip microcomputer are connected in above-mentioned red LED lamp L1 respectively, the end of the LED lamp L3 of blue led lamp L2 and green, its the 4th control mouth then is connected in the base stage of triode T1 by first resistance R 1, the grounded emitter of this triode T1, its collector electrode is connected to the end of buzzer B1 by second resistance R 2, and it is above-mentioned red, blue, the other end of green three-color LED light is respectively by the 3rd resistance R 3, after the 4th resistance R 4 and the 5th resistance R 5, with be connected to the constant voltage driving device after the other end of buzzer B1 is in parallel, and button K1 one end ground connection, the other end is connected to the control end of controller IE.
Adopt the control method of above-mentioned control circuit as follows: see also Fig. 2,1. energized, controller carries out initialization, and each LED lamp priming color is set is white; 2. then controller judges whether button is pressed; 3. if do not push button, then went to for the 2. step; If push button, then buzzer sends first, and controller judges then whether button unclamps, if button unclamps, then Color-changing lamp is in first kind of variable color state, promptly is in monochromatic show state in the very first time section of setting, and then goes to for the 2. step; If button does not unclamp, then go to next step; 4. this moment, buzzer sends the rising tone, and controller judges that then whether button unclamps again in second time period of setting, if button unclamps, then Color-changing lamp is in second kind of variable color state, promptly is in the automatic saltus step show state of polychrome, then goes to the and 2. goes on foot; If button does not unclamp, then go to next step; 5. buzzer sends the 3rd, and controller judges that then whether button unclamps again in the 3rd time period of setting, if button unclamps, then Color-changing lamp is in the third variable color state, promptly is in polychrome gradual change show state, then goes to for the 2. step; If button does not unclamp, then go to next step; 6. last, after buzzer sent the falling tone, controller judged that then whether button unclamps again after the time of setting, if button unclamps, then Color-changing lamp is in closed condition, then went to for the 2. step; If button does not unclamp, then go to previous step.
In the present embodiment, above-mentioned first period is set to 0~1 second, and second time period for greater than 1 second less than 2 seconds, the 3rd time period was greater than 2 seconds and less than 3 seconds, behind the falling tone, setting-up time is greater than 3 seconds.Certainly, also can be set to other time period as required.

Claims (6)

1, a kind of control method of program-control colour-changing lamp is characterized in that:
1. energized;
2. controller judges whether button is pressed;
3. if do not push button, then went to for the 2. step; If push button, then acoustical generator sends first, and controller judges then whether button unclamps, if button unclamps, then Color-changing lamp is in first kind of variable color state in the very first time section of setting, and then goes to for the 2. step; If button does not unclamp, then go to next step;
4. acoustical generator sends the rising tone, and controller judges that then whether button unclamps again in second time period of setting, if button unclamps, then Color-changing lamp is in second kind of variable color state, then goes to for the 2. step; If button does not unclamp, then go to next step;
5. acoustical generator sends the 3rd, and controller judges that then whether button unclamps again in the 3rd time period of setting, if button unclamps, then Color-changing lamp is in the third variable color state, then goes to for the 2. step; If button does not unclamp, then go to next step;
6. successively after acoustical generator sends n sound, controller judges then whether button unclamps, if button unclamps, then Color-changing lamp is in closed condition again after the time of setting, and then goes to for the 2. step; If button does not unclamp, then go to previous step.
2, the control method of program-control colour-changing lamp according to claim 1, it is characterized in that: the n sound of described acoustical generator is the falling tone, and described very first time section is 0~1 second, described second time period for greater than 1 second less than 2 seconds, described the 3rd time period is greater than 2 seconds and less than 3 seconds, and described setting-up time is greater than 3 seconds.
3, the control method of program-control colour-changing lamp according to claim 2 is characterized in that: described first kind of variable color state is monochromatic show state
4, the control method of program-control colour-changing lamp according to claim 2 is characterized in that: described second kind of variable color state is the automatic saltus step show state of polychrome.
5, the control method of program-control colour-changing lamp according to claim 2 is characterized in that: described the third variable color state is a polychrome gradual change show state.
6, according to the control method of the described program-control colour-changing lamp of the arbitrary claim of claim 1 to 5, it is characterized in that: described acoustical generator is a buzzer.
CNA2005100619629A 2005-12-13 2005-12-13 Method for controlling program-control colour-changing lamp Pending CN1787709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2005100619629A CN1787709A (en) 2005-12-13 2005-12-13 Method for controlling program-control colour-changing lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2005100619629A CN1787709A (en) 2005-12-13 2005-12-13 Method for controlling program-control colour-changing lamp

Publications (1)

Publication Number Publication Date
CN1787709A true CN1787709A (en) 2006-06-14

Family

ID=36784958

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2005100619629A Pending CN1787709A (en) 2005-12-13 2005-12-13 Method for controlling program-control colour-changing lamp

Country Status (1)

Country Link
CN (1) CN1787709A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102119374A (en) * 2008-08-12 2011-07-06 日本电气株式会社 Terminal device, and back light emitting method and program in mobile terminal of the device
CN102510604A (en) * 2011-10-13 2012-06-20 四川九洲光电科技股份有限公司 Intelligent interface of LED (Light Emitting Diode) control system and interfacing method thereof
CN103812148A (en) * 2012-11-08 2014-05-21 比亚迪股份有限公司 Mobile power supply

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102119374A (en) * 2008-08-12 2011-07-06 日本电气株式会社 Terminal device, and back light emitting method and program in mobile terminal of the device
US8487878B2 (en) 2008-08-12 2013-07-16 Nec Corporation Terminal apparatus, backlight emission method and computer readable medium for terminal apparatus
CN102119374B (en) * 2008-08-12 2013-09-11 日本电气株式会社 Terminal device, and back light emitting method and program in mobile terminal of the device
CN102510604A (en) * 2011-10-13 2012-06-20 四川九洲光电科技股份有限公司 Intelligent interface of LED (Light Emitting Diode) control system and interfacing method thereof
CN102510604B (en) * 2011-10-13 2014-02-05 四川九洲光电科技股份有限公司 Intelligent interface of LED (Light Emitting Diode) control system and interfacing method thereof
CN103812148A (en) * 2012-11-08 2014-05-21 比亚迪股份有限公司 Mobile power supply

Similar Documents

Publication Publication Date Title
US20060167572A1 (en) Device for controlling a plurality of lamps
CN105206228B (en) The LED scanning arrays driving chip and adjusting method that brightness linear change is voluntarily adjusted
CN106376127A (en) Lamplight changing system for entertainment
CN205384479U (en) Smart classroom power consumption management and control system
JP2004274512A5 (en)
CN108200703A (en) Control method, device and the electronic equipment of a kind of light with audio interaction
CN101657051A (en) Light modulating device for light emitting diode, light modulating method related thereto and light emitting device related thereto
CN104883794A (en) LED spotlight illumination control system based on WIFI module
CN101994980A (en) LED full-color lamp
CN1787709A (en) Method for controlling program-control colour-changing lamp
CN201045470Y (en) Color-changing controller for lamp
CN201688311U (en) True-color backlight of motorcycle instrument
JP2001142427A5 (en)
CN113787960A (en) System and method for controlling colorful rhythm welcome atmosphere lamp in vehicle
CN1658730A (en) Method for controlling brightness of LED by duty ratio
US7333031B1 (en) Illuminated keyboard
CN114684013A (en) Intelligent adjusting system and control method for atmosphere lamp in vehicle
CN106838777A (en) A kind of rotary luminous module and rotary desk lamp
CN113724646A (en) Drive control method and device for LED display screen
CN201866692U (en) LED lamp
CN109757011B (en) Universal spot lamp box
CN2617115Y (en) Multi-colour back light liquid crystal controller
JP2002110366A (en) Illumination control and monitoring system
US20050134529A1 (en) Color changing segmented display
CN2728159Y (en) Panel indicating lamp dimmer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication