Color LED indicator control based on ADP8866

The phone requires 7 LEDs for backlight display and two LEDs for indication. Due to cost and mechanical requirements, handset manufacturers use red/green (RG) LEDs to effectively implement standby notifications for three conditions: unread messages, low battery levels, and appointment schedules. For each condition, the LED emits a different color of light: red, green or yellow (red + green).

The ADP8866 provides an ideal solution for this common situation, as shown in Figure 1. It has a total of nine LED channels, seven of which are used to illuminate the display, and the red and green signals of the RG LED are controlled by the remaining two channels, producing the blinking pattern shown in Figure 2.

The ADP8866 evaluation board includes a graphics programming utility, as shown in Figure 3; its I2C registers are set to perform the indicator blinking function.

The register setup shown in Figure 3 will first generate a 250 ms 10 mA red (Sink 8) pulse, which will generate a 250 ms red pulse after it has been extinguished for 500 ms. The second red pulse mixes with the green pulse to produce yellow light, so it consumes half the current (5 mA) to provide the same brightness. The green LED (Sink 9) has a similar setup, but its first pulse is delayed. When the second green pulse is extinguished, the system waits for 12 seconds and then repeats. When this sequence is enabled, all three colors will repeat flashing one after another, as shown in Figure 2. If you need a red or green light, you only need to enable the first or third pulse. If only red and yellow notifications are required, the red LED should be enabled on the first and second pulses, while the green LED should only be enabled on the second pulse.

Color LED indicator control based on ADP8866

Color LED indicator control based on ADP8866

When red and green light overlap, the current is reduced, so the brightness of all three color indicators is the same. In addition, red and green currents can also be varied to produce other colors in the RG spectrum. The width, turn-off time and amplitude of the pulse are completely customizable, so a wide variety of lighting effects are possible.

Turbocharger

Generator Turbocharger,Gas Generator Turbocharger,Turbocharger For Engine,Marine Engine Turbocharger

Jinan Guohua Green Power Equipment Co.,Ltd. , https://www.guohuagenerator.com

Posted on