Luminous device with changeable color and brightness

A luminous device is provided. The luminous device can be controlled to emit light with different color and brightness. The luminous device is divided into a plurality of areas, a predetermined color and brightness values of the light emitted by the luminous device is stored in data storage of the luminous device. When the luminous device is touched, the luminous device determines the touch area first, and then accesses the corresponding color and luminance value of the determined area from the data storage, and controls the luminous device to emit light with the accessed color and brightness value.

BACKGROUND

1. Technical Field

The present disclosure relates to a luminous device with changeable color and brightness.

2. Description of Related Art

Color and brightness of light emitted from a conventional luminous device can be changed with a predetermined time elapse. However, the color and brightness of the light emitted from such a luminous device is often changed according to a predetermined program, and cannot be adjusted by the user.

DETAILED DESCRIPTION

FIG. 1is a schematic view of a luminous device1in accordance with an exemplary embodiment. The color and brightness of the light emitted from the luminous device1can be changed according to external inputs. The luminous device1includes a light source11, a cover12, and other necessary components. In this exemplary embodiment, a desk lamp1is taken for example. The desk lamp1further includes a base13. The light source11is covered by the cover12. In this exemplary embodiment, the light source11consists of a plurality of LEDs. The cover12is made of light transmissible material. The cover12is divided into a plurality of areas according to coordinates of the cover12. Each area of the cover12is assigned a distinctive color and brightness and is operable to be touched to activate the light source11to emit a corresponding color and brightness.

As shown inFIG. 2, the luminous device1further includes a plurality of touch sensors14. The touch sensors14are disposed in the inner surface of the cover12. The touch sensors14generate input signals in response to touch operations on the cover12. Each area of the cover12is assigned at least one of the touch sensors14for generating the input signal to activate the light source11to emit a corresponding color and brightness when being touched.

As shown inFIG. 3, the luminous device1further includes a controller15, a data storage16, and a power17. The controller15controls the light resource11to emit light with different color and brightness. The data storage16stores a relationship between each of the areas and the color and brightness values emitted by the light source11when each of the areas is touched. The controller15periodically scans the touch sensors14to determine whether the touch sensors14generate the input signal and which touch sensor14generates the input signal. Typically, the controller15further determines which area the determined touch sensor14belongs to and thus determines the touched area on the cover12. After determining the touched area on the cover12, the controller15accesses the corresponding color and brightness value of the determined area from the data storage16, and controls the light source11to emit the light with the accessed color and brightness value. The power17provides power for the light source11, the controller15, the data storage16, and the touch sensors14.

FIG. 4is a flowchart of a method for controlling the luminous device1to emit light with different color and brightness. In step S401, the controller15detects whether the touch sensors14generate an input signal. If the input signal is not detected by the controller, the step goes to itself.

In step S402, the controller15determines which touch sensor generated the input signal if the input signal detected by the controller.

In step S403, the controller15further determines the touch area corresponding to the determined touch sensor.

In step S404, the controller15accesses the corresponding color and brightness value of the determined area from the data storage16.

In step S405, the controller15controls the light source11to emit the light with the accessed color and brightness value.

Although, the present disclosure has been specifically described on the basis of preferred embodiments, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.