ENGLISH 简体中文 日本語 한국어  


APPLICATION NOTE  3466

GPIO Expander Provides Charge Pump for Blue LEDs

Abstract: Drive blue LEDs with a reduced supply voltage by using a few I/O lines from an I²C GPIO expander IC (MAX7315).

Blue LEDs are becoming prevalent in the industry, and sometimes make their way onto control panels as flashy indicators. Their high forward voltage, however, runs counter to the downward trend in supply voltages. A panel that includes a 3.3V supply voltage may have a hard time driving LEDs that sometimes require upwards of 3.5V for illumination. To drive multiple blue LEDs you may require a charge pump or boost regulator, but for a single LED you can do the job with a few discrete components and an IC that may, with luck, already reside on the PC board.

I²C* GPIO expanders are often designed onto control panels to accommodate their remoteness. (Routing a serial bus in place of 8 or 16 parallel wires is much more convenient, and the smaller cable and connector saves cost.) You can drive the LED by using a couple of the GPIO lines. Thus, a GPIO expander with built-in pulse-width modulation (PWM) capability, combined with 50mA sink capability on each I/O line, forms an inexpensive discrete-component charge pump (Figure 1). The charge pump is limited by the oscillator's low switching frequency (2kHz), but this approach works because the LED needs only about 10mA.

Figure 1. While performing other functions, this GPIO-expander chip can easily drive a blue LED as well.
Figure 1. While performing other functions, this GPIO-expander chip can easily drive a blue LED as well.

Adding a capacitor and Schottky diode to one of the eight outputs (P4) and placing that output in PWM mode (at about 50% duty cycle) generates enough voltage to drive the LED. A second output (P6) turns the LED on and off. On/off capability is needed if the LED forward voltage is near or below the power-supply voltage, because current can flow though CR1 even when the oscillator is turned off. Capacitor C1 charges to about 3V when P4 goes low. When P4 goes high, the capacitor voltage adds to the power supply voltage, and delivers current to the LED through R1. The LED current discharges C1 during P4's off time, so the capacitor must fully recharge on the next cycle.

Having a 3.3V supply voltage, the circuit delivers about 15mA average, which produces a brightly glowing LED. At 3.0V the current drops to about 10mA, and at 2.0V to about 3mA. By altering the values of R1 and C1, you can modify the current to suit a particular LED. Note that you must stop the PWM before P6 is turned off. The charge pump places up to twice the supply voltage on P6, which comes precariously close to that output's maximum application voltage rating.

A similar version of this article appeared in the "Tips and Tricks" section of the January 17, 2005 issue of EE Times magazine.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 3466: Mar 14, 2005
MAX7315 LED 휘도 제어, 인터럽트 및 핫 인서션 보호 기능을 갖춘 8포트 I/O 익스팬더 전체 데이터 시트
(PDF, 816kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (22kB)
 AN3466, AN 3466, APP3466, Appnote3466, Appnote 3466



         



   Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor    법적 고지    개인정보보호 정책