Label: LED color backlight
This article refers to the address: http://
design background
Consumer electronics products are mainly aimed at young consumers. In order to please consumers, engineers always need to think of various ways to make the product function more perfect and look more beautiful. In the case of high product cost transparency and short development cycle, how to improve the competitiveness of products is a fact that researchers face. The current popular MP3/MP4, mobile phone and other consumer electronics add 7 or multi-color backlight function is a typical example. All that is paid is the cost of several LEDs, but it has achieved a more beautiful and personalized user interface.

Application range
The most typical color backlight applications are LCD backlights for MP3 products, backlights for cell phone keypads, and other products that require backlighting.

The traditional 7-color backlight design method 7 color backlight implementation method, the hardware is as follows. Only three GPIO lines of the main controller are used to switch the three backlight LED tubes. It is easy to achieve changes in 7 colors.

Advantages: The implementation method is simple, and the hardware addition cost is low. Up to 7 colors of backlight display can be achieved.
Disadvantages: The brightness of the light cannot be adjusted; the current reaches 25~30mA when the three tubes are simultaneously turned on; the seven colors are too monotonous.
LED lighting control chip introduction
LPD6803 is a "Coloro Technology Development Co., Ltd." specially developed control driver chip for color display LED system, and the control is simple.

Function description:
a. Built-in oscillator, scanning does not need to rely on the control board to provide the scan clock.
b. 2 control lines, simple control and wiring.
c. It can control 3 LEDs, and 128 colors can be generated by register setting.
d. Due to the use of the intermittent characteristics of the human eye, PWM scanning is performed to make the actual required current smaller.
e. The chip is powered by a wide range of 3.3V~7V.
Multi-color LED backlight control design ideas
The LPD6803 costs around RMB 1. The low-power design meets the requirements of portable product design.
1. The effect that the design can achieve
A. Make the backlight brightness adjustable. 0~16 level backlight brightness adjustment.
B. Up to 128 backlight color displays.
C. Any display color, the overall current is kept within 10mA.
D. After writing a fixed register to the LP6803, the specified color display can be achieved. Does not account for software system resources.
2. Hardware design

4. Software Driven Design
The following is a way to drive a single pixel to illustrate the data transfer. LPD6803 is a one that can automatically generate 128 levels
LED_SendData(BYTE Rdt, BYTE Gdt, BYTE Bdt)
{
......
SCLK = 0;
SDO = 0;
For(i=0;i<32;i++){SCLK=1;SCLK=0} //Send start 32bits 0
SDO=1; SCLK=1; SCLK=0; //Send start bit '1'
/ / Output 5 red
Mask = 0x10;
For(j=0;j<5;j++)
{
If(mask&Rdt) SDO = 1;
Else SDO = 0;
SCLK=1; SCLK=0;
Mask>>=1;
}
/ / Output 5 bit green
Mask = 0x10;
For(j=0;j<5;j++)
{
If(mask&Bdt) SDO = 1;
Else SDO = 0;
SCLK=1; SCLK=0;
Mask>>=1;
}
/ / Output 5 blue
Mask = 0x10;
For(j=0;j<5;j++)
{
If(mask&Bdt) SDO = 1;
Else SDO = 0;
SCLK=1; SCLK=0;
Mask>>=1;
}
SDO=0;
SCLK=1; SCLK=0; //Add 1 CLOCK. If you send n points of data at a time, you need to fill n clocks.
......
}
Dongguan Deli Plastic Co.,Ltd is a manufacturer specialized in the research, development ,plastic injection mould and making mass production with well-equipped facilities and strong technical force.
Our products are extensively used in household industry/electronic industry/automobile industry/building industry and other industries.
We have rich experience on one-stop solution, provide various services from new product design,prototype,mold making,mass production,assembly and logistics. The most important advantage is we have our own R&D team to help clients to turn ideas into actual parts. All of these engineers and designers have over 15 years experience in these plastic products fields.
We have a strict quality control system, an excellent management team and also a dedicated sales force, enable us to fulfill our commitment in high quality products and outstanding services.
If you are looking for a trustworthy supplier of customized items, please do not hesitate to contact us. We are always striving to establish a win-win partnership with customers from all over the world and help our partners to stay one step in front of your competitors.
Aroma Diffuser,Aroma Diffuser Smart Home,Wireless Aroma Diffuser,Cute Aroma Diffuser
Guangdong Aiyimi Electronic Technology Co., Ltd. , https://www.nbminifan.com