1. Field of the Invention
The invention relates to a light source control device and a light source control method, and more particularly to a light source control device and a light source control method by using a position detecting sensor and a microcontroller to control the illuminating status of the light source.
2. Description of the Related Art
The common switches for controlling light sources are usually classified into two types, i.e. push switches and knob switches.
The invention provides a light source control device and a light source control method by using a position detecting sensor and a microcontroller to control the illuminating status of the light source.
To achieve at least of the above-mentioned advantages, one embodiment of the invention provides a light source control device for controlling a light source. The light source control device includes a position detecting sensor and a microcontroller. The position detecting sensor is capable of generating a first signal according to an object touching a position of the position detecting sensor. The microcontroller is communicated with the position detecting sensor and capable of generating a control signal according to a light source adjustable parameter set corresponding to the first signal for controlling an illuminating status of the light source. The light source adjustable parameter set includes a plurality of color value components. The microcontroller is capable of generating the control signal according to the color value components.
To achieve at least of the above-mentioned advantages, another embodiment of the invention provides a light source control method. The light source control method includes steps of generating a first signal according to an object touching a position of the position detecting sensor, and generating a control signal according to a light source adjustable parameter set corresponding to the first signal for controlling an illuminating status of the light source. The light source adjustable parameter set includes a plurality of color value components. The microcontroller is capable of generating the control signal according to the color value components.
In accordance with the light source control device and the light source control method of the embodiments of the invention, when the user's finger touches a position of the position detecting sensor, the beam emitted by the light source is adjusted to have the color, the color temperature or the brightness value corresponding to the touched position under control of the microcontroller. By using the light source control device and the light source control method of the embodiments of the invention, color selectivity becomes more diverse so as overcome the drawbacks encountered from the prior art.
Other objectives, features and advantages of the present invention will be further understood from the further technological features disclosed by the embodiments of the present invention wherein there are shown and described preferred embodiments of this invention, simply by way of illustration of modes best suited to carry out the invention.
The embodiments of the invention may be better understood through the following description with reference to the accompanying drawings, in which:
In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings which form a part hereof, and in which are shown by way of illustration specific embodiments in which the invention may be practiced. In this regard, directional terminology, such as “top,” “bottom,” “front,” “back,” etc., is used with reference to the orientation of the Figure(s) being described. The components of the present invention can be located in a number of different orientations. As such, the directional terminology is used for purposes of illustration and is in no way limiting. On the other hand, the drawings are only schematic and the sizes of components may be exaggerated for clarity. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention. Also, it is to be understood that the phraseology and terminology used herein are for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having” and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. Unless limited otherwise, the terms “connected,” “connected,” and “mounted” and variations thereof herein are used broadly and encompass direct and indirect connections, couplings, and mountings. Similarly, the terms “facing,” “faces” and variations thereof herein are used broadly and encompass direct and indirect facing, and “adjacent to” and variations thereof herein are used broadly and encompass directly and indirectly “adjacent to”. Therefore, the description of “A” component facing “B” component herein may contain the situations that “A” component directly faces “B” component directly or one or more additional components are between “A” component and “B” component. Also, the description of “A” component “adjacent to” “B” component herein may contain the situations that “A” component is directly “adjacent to” “B” component or one or more additional components are between “A” component and “B” component. Accordingly, the drawings and descriptions will be regarded as illustrative in nature and not as restrictive.
Referring to
In accordance with the embodiment of the invention, the position detecting sensor 20 and the microcontroller 22 are used to control the color, the color temperature and the brightness value of the beam emitted by the light source 24.
Referring to
According to the working principle of the touchpad 32, when the user's finger touches a position of any pattern, the touchpad 32 generates a coordinate signal. The coordinate value contained in the coordinate signal is correlated with a light source adjustable parameter set recorded in the microcontroller 32. The light source adjustable parameter set includes for example a set of color values. According to the light source adjustable parameter set, the microcontroller 22 generates a control signal. In response to the control signal, a selected color of the beam emitted by the light source 24 is produced.
The common color values are RGB values. Individual R (Red), G (Green) and B (Blue) levels indicate individual colors of the pixels. For example, the RGB values R255, G255 and B255 indicate white color; and the RGB values R0, G0 and B0 indicate black color. The light source adjustable parameter set includes a plurality of color value component parameters. The color value component parameters include for example RGB values, color parameters, brightness parameters, and color temperature parameters. According to these parameters, the microcontroller 22 generates corresponding control signals to control the color, the color temperature, and the brightness value of the beam emitted by the light source 24.
The patterns of the touchpad 32 may be modified in order to the meet the user-made demand. The light source adjustable parameter set corresponding to the coordinate signals is predetermined and stored in the microcontroller 22. In this embodiment, the color pattern 321 is a multi-color ring showing the adjustable colors of the beam emitted by the light source 24. For example, if the user touches a red site of the multi-color ring, the touchpad 32 covered by the red site generates a corresponding coordinate signal. According to the coordinate signal, the microcontroller 22 generates a control signal corresponding to the predetermined light source adjustable parameter set. In response to the control signal, the color values of the beam emitted by the light source 24 are adjusted to be for example R255, G0, and B0. As a consequence, the light source 24 emits a red light beam.
When the user's finger is horizontally moved on the color temperature pattern 323 of the touchpad 32, the capacitive sensors touched by the user's finger successively generate coordinate signals. According to the coordinate signals, the microcontroller 22 generates control signals corresponding to the light source adjustable parameter set so as to control the color temperature of the beam emitted by the light source 24.
Similarly, when the symbols “+” or “−” shown on the brightness pattern 322 is touched by the user's finger, the brightness value of the beam emitted by the light source 24 is increased or decreased.
Similarly, when the switch pattern 324 is pressed down or touched by the user's finger, the light source 24 is turned on or turned off.
Referring to
In some embodiments, the above-mentioned touchpad may be replaced by a touch panel. Similarly, a plurality of patterns are shown on the touch panel. When the user's finger touches a position of the touch panel, the touch panel generates a coordinate signal. According to the light source adjustable parameter set correlated with the coordinate signal, the microcontroller 22 generates a control signal. In response to the control signal, the illuminating status of the light source 24 is adjusted. Likewise, the patterns of the touch panel may be changed in order to meet the user-made demand. As the color number of the beam emitted by the light source is increased, the color number included in the color pattern is increased.
According to the sensing principles, touchpads and touch panels are classified into four types, i.e. resistive, capacitive, surface acoustic wave, and optics types. Hereinafter, a capacitive touchpad is illustrated with reference to
When the distance between a conductor and the capacitive sensors 401 is changed, the capacitance value of the capacitive sensor 401 is varied. As shown in
When the user's finger is moved on the color pattern above the capacitive sensors, the capacitive sensors touched by the user's finger successively generate coordinate signals. According to the coordinate signals, the microcontroller 22 generates control signals in accordance with the light source adjustable parameter set so as to control the illuminating status of the light source 24. In other words, when the user's finger is moved on the touchpad 32, the illuminating status of the light source 24 is changed.
The light source 24 includes a plurality of light emitting diodes (LEDs). For example, the light source 24 is a multi-color RGB LED device containing red, green and blue LEDs. By changing the intensities of the red, green and blue LEDs, the R, G, B color levels are adjustable. After the red, green and blue beams emitted by the red, green and blue LEDs of the multi-color RGB LED device are mixed, a resultant light beam with a desired color is produced. In other words, the intensities of the red, green and blue LEDs may influence the color of the resultant light beam. Moreover, the intensities of the red, green and blue LEDs may be adjusted by a pulse width modulation (PWM) technology or an analog brightness-adjusting technology.
Since LED is a current-driven component, the illuminating intensity of LED is substantially in direct proportion to the magnitude of the current. That is, as the magnitude of the current is increased, the illuminating intensity of LED is increased. According to the analog brightness-adjusting technology, the illuminating intensity of LED is adjusted by changing the LED driving current. For example, if the current passing through the LED is increased by 50%, the illuminating intensity of LED is increased correspondingly. Whereas, if the current passing through the LED is decreased by 50%, the illuminating intensity of LED is decreased correspondingly. According to the pulse width modulation (PWM) technology, the ratio of the on duration to the off duration of the LED is adjusted. In other words, the illuminating intensity is adjusted by controlling the duty cycle of the LED according to the PWM technology. Since the LED is alternately conducted or shut off at a high speed that fails to be visually detected with the naked eyes, an illusion of color change is created. As the duty cycle of the LED is increased, the brightness value sensed by the observer is increased.
The microcontroller 22 has a general purpose input/output (GPIO) pin or an output pin. Via the GPIO pin or the output pin, the control signal generated by the microcontroller 22 is transmitted to the light source 24 so as to control the color values of the light source 24. The control signal is for example a PWM signal or an analog brightness-adjusting signal. In response to the PWM signal, the duty cycle of the LED current is changed. In response to the analog brightness-adjusting signal, the current passing through the LED is changed and thus the illuminating intensity of LED is adjusted. For example, for adjusting the color values of the light source 24 to be RGB values R0, G0 and B0 (e.g. black colors), the microcontroller 22 generates the PWM signal to the red, green and blue LEDs of the RGB LED device through the GPIO pin or the output pin. As a consequence, the red, green and blue beams emitted by the red, green and blue LEDs of the light source 24 and having the intensities corresponding to the RGB values R0, G0 and B0 are mixed to produce a desired color.
Referring to
By using the wireless communication technology, the light source control device 2 may control a single light source or a plurality of light sources. For example, a wireless signal receiver and a wireless signal emitter are respectively disposed at the light source side and the microcontroller 22. The control signal generated by the microcontroller 22 is encoded by the wireless signal emitter and then transmitted to the wireless signal receiver at the light source side. The encoded control signal is decoded by the wireless signal receiver, so that the color values of the beam emitted by the light source are controlled in response to the control signal. Accordingly, the color values of the beam emitted by the light source may be adjusted by the light source control device 2 at any location. Moreover, the light sources may be controlled by the light source control device 2. An example of the wireless signal emitter includes but is not limited to an infrared signal emitter, a Bluetooth signal emitter, a short wave signal emitter, an ultrasonic signal emitter or a radio frequency signal emitter. An example of the wireless signal receiver includes but is not limited to an infrared signal receiver, a Bluetooth signal receiver, a short wave signal receiver, an ultrasonic signal receiver or a radio frequency signal receiver.
Please refer to
On the other hand, if the light source control device 2 is not used and no object within the sensing range is detected by the proximity switch 26, the proximity switch 26 generates a first power control signal to the microcontroller 22. In response to the first power control signal, the microcontroller 22 enters a standby status. When the microcontroller 22 is in the standby status, the electricity supplied to the light source control device 2 is interrupted and the light source control device 2 is in a power-saving mode, and the light source control device 2 may be instantly recovered to a normal operating mode. That is, when the light source control device 2 is not used, the microcontroller 22 enters the standby status, and the proximity switch 26 may achieve the power-saving purpose.
When the proximity switch 26 detects an object within the sensing range of the light source control device 2, the proximity switch 26 generates a second power control signal. In response to the second power control signal, the microcontroller 22 escapes from the standby status. At this moment, the microcontroller 22 enters the normal operating mode. When the microcontroller 22 is in the normal operating mode, electricity is supplied to the position detecting sensor 20 again and the power indicator 201 is turned on to facilitate the user to find out the location of the switch pattern 324, 334 or 344 (as shown in
From the above description, the light source control device and the light source control method of the embodiments of the invention utilize a position detecting sensor and a microcontroller to control the illuminating status of the light source. The illuminating status of the light source includes a color, a color temperature or a brightness value of the beam emitted by the light source. When the user's finger touches a position of a touchpad or a touch panel, the beam emitted by the light source is adjusted to have the color, the color temperature or the brightness value corresponding to the touched position under control of the microcontroller. By using the light source control device and the light source control method of the embodiments of the invention, color selectivity becomes more diverse so as overcome the drawbacks encountered from the prior art.
The foregoing description of the preferred embodiments of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form or to exemplary embodiments disclosed. Accordingly, the foregoing description should be regarded as illustrative rather than restrictive. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. The embodiments are chosen and described in order to best explain the principles of the invention and its best mode practical application, thereby to enable persons skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use or implementation contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents in which all terms are meant in their broadest reasonable sense unless otherwise indicated. Therefore, the term “the invention”, “the present invention” or the like does not necessarily limit the claim scope to a specific embodiment, and the reference to particularly preferred exemplary embodiments of the invention does not imply a limitation on the invention, and no such limitation is to be inferred. The invention is limited only by the spirit and scope of the appended claims. The abstract of the disclosure is provided to comply with the rules requiring an abstract, which will allow a searcher to quickly ascertain the subject matter of the technical disclosure of any patent issued from this disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Any advantages and benefits described may not apply to all embodiments of the invention. It should be appreciated that variations may be made in the embodiments described by persons skilled in the art without departing from the scope of the present invention as defined by the following claims. Moreover, no element and component in the present disclosure is intended to be dedicated to the public regardless of whether the element or component is explicitly recited in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
97145354 A | Nov 2008 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
4550221 | Mabusth | Oct 1985 | A |
7064498 | Dowling et al. | Jun 2006 | B2 |
7550935 | Lys et al. | Jun 2009 | B2 |
7733033 | Baaijens et al. | Jun 2010 | B2 |
Number | Date | Country | |
---|---|---|---|
20100127638 A1 | May 2010 | US |