marți, 25 octombrie 2016

Dimming LCD Backlight

Presented here is an LCD power-saving backlight-control circuit. An LCD is used in many projects for indication or information display since it consumes less power and, hence, saves energy. But power consumption in an LCD backlight draws a lot of attention.

Pin diagram of a 16×2 alphanumeric LCD is shown in Fig. below:




Pins 15 and 16 are internally connected to the backlight LED. Normally, backlight LED+ is connected to +5V supply via a current-limiting resistor (it is not included in the circuit here for simplicity). But this LED stays on, all the time. So if you want to dim it, you need a solution so that during day time, or when ambient light is enough to make the LCD characters visible, the backlight gets dimmed and energy can be saved. For this, we have two options: one is microcontroller (MCU) based and the other is discrete-component based.

Circuit using an LCD is generally driven by an MCU. If the MCU has capture-compare pulse (CCP) width modulation module, our task becomes very easy. One such solution using a transistor is shown in the next figure. 




Here, CCP pin needs to be connected to the base resistor so that the LED can be dimmed. Then, we can use a light-dependent resistor (LDR) to sense the ambient light and command the MCU to dim the backlight accordingly.

If CCP pin is busy, or the MCU does not have a CCP pin, then an alternative circuit shown in the figure below will ensure that the backlight is dimmed accordingly.



Note that control pin 5 is not grounded through a capacitor in the usual way, but is connected to a voltage-divider network formed by resistor R5 and VR1. This configuration makes it work as a pulse width modulator, which changes the width of output pulse at pin 3 based on the voltage at pin 5.

Potmeter VR1 can be replaced with an LDR so that the LCD automatically gets dimmed during day time. At night, or when ambient light is less, backlight intensity (current) increases. Since LDR resistance changes as per ambient light, voltage at pin 5 of NE555 also varies accordingly. This variation in voltage at pin 5 changes the duty cycle of the output waveform, giving higher duty cycle when ambient light is not present, and vice versa. In this way it can be used to dim the LCD backlight for power saving.

Source: electronicsforyou.com




    Choose :
  • OR
  • To comment
Niciun comentariu:
Write comentarii