ADP5520 LED Driver

ADP5520 LED Driver
Reference Design
PRD1164
FEATURES
•
•
•
•
•
•
Backlight fade in/out
Backlight dim
Backlight off
Backlight ambient light sensing
RGB Fun-lighting
I2C compatible interface for all programming
PRD1164 OVERVIEW
The demo board in this PRD demonstrates one application of the ADP5520 LED Driver. The ADP5520 drives up
to 6 LEDs in series and a RGB LED. The toggle switch S1 specifies one of two modes of operations for the demo
board on GPIO (PC0) of a micro controller. When PB0 transitions from low to high via the push button, the
microcontroller is triggered to send an associated I2C signal to the ADP5520 to show backlight fade in/out,
backlight dim, ambient light sensing, and RGB fun-lighting features.
Figure 1 shows the front and back side demo board overview.
Figure 1.
Demo Board Front and Back Side)
Rev. 1
Reference designs are as supplied “as is” and without warranties of any kind, express, implied, or
statutory including, but not limited to, any implied warranty of merchantability or fitness for a
particular purpose. No license is granted by implication or otherwise under any patents or other
intellectual property by application or use of reference designs. Information furnished by Analog
Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog
Devices for its use, nor for any infringements of patents or other rights of third parties that may
result from its use. Analog Devices reserves the right to change devices or specifications at any
time without notice. Trademarks and registered trademarks are the property of their respective
owners. Reference designs are not authorized to be used in life support devices or systems.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
www.analog.com
Fax: 781.461.3113
©2009 Analog Devices, Inc. All rights reserved.
Reference Design
PRD1164
TABLE OF CONTENTS
Features ......................................................................................................................................................................1
PRD1164 Overview....................................................................................................................................................1
Revision History.........................................................................................................................................................2
Description .................................................................................................................................................................3
Demonstration overview ............................................................................................................................................3
Getting Started............................................................................................................................................................4
Demonstrate Group 1 Functions .............................................................................................................................5
Demonstrate Group 2 Functions .............................................................................................................................5
Demo Parameter Setting.............................................................................................................................................7
LED and Backlight LED Setup...............................................................................................................................7
RGB LED current set up .........................................................................................................................................7
Schematic ...................................................................................................................................................................8
Bill of Materials........................................................................................................................................................10
Layout.......................................................................................................................................................................11
Notes.........................................................................................................................................................................13
TABLE OF FIGURES
Figure 1.
Demo Board Front and Back Side)........................................................................................................1
Figure 2.
Demo Board Block ................................................................................................................................3
Figure 3.
Demo Board Front Side .........................................................................................................................4
Figure 4.
Demo Board Back Side..........................................................................................................................4
Figure 5.
Schematic of ADP5520.........................................................................................................................8
Figure 6.
ADP5520 control circuit........................................................................................................................9
Figure 7.
Top View..............................................................................................................................................11
Figure 8.
Bottom View ........................................................................................................................................12
REVISION HISTORY
14/10/2009—Revision 1: Initial Version
Rev. 1 | Page 2 of 13
Reference Design
PRD1164
DESCRIPTION
Figure 2 shows the block diagram for the demo board. The micro controller is the host that sends signal to the
ADP5520, which drives flash, torch, and indicator LED. The two different functions of groups are set with a
toggle switch S1 and demonstrate what can be accomplished using the ADP5520.
Figure 2.
Demo Board Block
DEMONSTRATION OVERVIEW
The components of the demo board were placed on both sides of the PCB. Figure 3 shows the placement of
components on the front side of the PCB, which are:
•
•
•
•
•
•
the ADP5520 block,
backlight LEDs,
indictor and interrupt LEDs,
a toggle switch,
a mode select key, and backlight reactive key
other necessary components.
Figure 4 shows the placement of components on the back side of the PCB, which are:
•
•
the microcontroller block
other passive components.
Rev. 1 | Page 3 of 13
Reference Design
PRD1164
Figure 3.
Demo Board Front Side
Figure 4.
Demo Board Back Side
GETTING STARTED
1. Install the battery in the battery holder at the back side of the PCB.
2. Turn on the switch on the battery holder to power up the system.
3. Set S1 to the left side or right side position to select a function group.
Rev. 1 | Page 4 of 13
Reference Design
PRD1164
4. Press P1 multiple times to select the different modes for each function group.
Refer to Table 1 for more information about the modes.
DEMONSTRATE GROUP 1 FUNCTIONS
1. Set S1 to the right side position to demonstrate function group 1.
Refer to Error! Reference source not found. to determine the results from pressing P1 various times. The
various backlight effects include:
•
•
•
Backlight fade in/out
Backlight dimming
Backlight ambient light sensing (ALS)
2. Press P1 (1st time).
•
•
LED turns ON
LED automatically adjusts according to environmental lighting changes. Dark, office, and outdoor modes
have been preset on the demo board.with appropriate constant currents.
3. Press P1 again (2nd time). The LED turns off.
4. Press P1 again (3rd time).
•
•
LED turns on with linear fade in and fade off
LED automatically adjusts to environmental lighting changes. Dark, office, and outdoor modes have been
preset in the demo board.
5. Press P1 again (4th time). The LEDs turn off.
Refer to Error! Reference source not found. to determine the results from pressing P1 more times.
Note:
When P1 is pressed the 7th time (and the 9th and 11th times), the backlight goes dim after 10 seconds and
after 10 seconds at dim turns off. When the backlight is off, press button P2 to reactive backlight.
DEMONSTRATE GROUP 2 FUNCTIONS
1. Set S1 to the left position to demonstrate function group 2.
Refer to Table 1 to determine the results from pressing P1 various times. The various effects include:
•
•
•
•
RGB LEDs turn on (15mA) without fade in/off
RGB LEDs flash on and off (15mA) in SYNC without fade in/off
RGB LEDs flash on and off (15mA) in SYNC with fade in/off
RGB LEDs turn on in sequence using Square Law DAC
Table 1.
Demo Functions
Group1 S1→right side position:six LED
BackLight
Press P1 Button
1st keypress
2nd keypress
LCD
ON
Fade In/Out
No
LCD OFF
Rev. 1 | Page 5 of 13
Dim
OFF
ALS
No
No
Yes
Press P2
Button
No
No
Reference Design
PRD1164
ON
Linear
No
No
Yes
3rd keypress
LCD OFF
4th keypress
ON
Cubic1
No
No
Yes
5th keypress
LCD OFF
6th keypress
ON
No
10s 10s
No
7th keypress
LCD OFF
8th keypress
ON
Linear
10s 10s
No
9th keypress
LCD OFF
10th keypress
ON
Cubic1
10s 10s
No
11th keypress
LCD OFF
12th keypress
ON(dark default)
No
No
No
No
13th keypress
ON(office default)
No
No
No
No
14th keypress
ON(outdoor
default)
No
No
No
No
15th keypress
LCD OFF
16th keypress
Group2 S1→left side position: RGB fun-lighting
RGB LEDs for fun-lighting
RGB turn on(15mA) constanly without fade in/off
1st keypress
RGB LEDs are off
2nd keypress
RGB
blink
flash(15mA)
in SYNC without fade in/off
3rd keypress
RGB LEDs off
4th keypress
RGB blink flash(15mA) in SYNC with fade in/off
5th keypress
RGB LEDs off
6th keypress
RGB in sequence using Square Law DAC
7th keypress
RGB LEDs off
8th keypress
Rev. 1 | Page 6 of 13
No
No
No
No
Yes
No
Yes
No
Yes
No
No
No
No
Reference Design
PRD1164
DEMO PARAMETER SETTING
LED AND BACKLIGHT LED SETUP
Daylight Max Current
22mA
Daylight Dim Current
2mA
Office Max Current
5mA
Office Dim Current
0.75mA
Dark Max Current
1mA
Dark Dim Current
0.25mA
Backlight Off Timeout
15s
Backlight Dim Timeout
10s
Backlight Fade-In Time
4.5s
Backlight Fade-Out Time
1.5s
RGB LED CURRENT SET UP
RGB0 Current
15mA
RGB1 Current
15mA
RGB2 Current
15mA
RGB0 on period
0.58s
RGB1 on period
0.58s
RGB2 on period
1s
RGB Fade In Time
1s
RGB Fade Out Time
1s
Rev. 1 | Page 7 of 13
Reference Design
PRD1164
SCHEMATIC
Figure 5.
Schematic of ADP5520
1
2
Vin
VBAT
MBR0530
D7
L1
D1
D2
D3
D4
D5
D6
4.7uH
C2
C1
1uF/16V
1uF/50V
19
AGND
CAP_OUT
21
20
22
BST
VBATT
RST
SCL
ILED
R2
R3
C4
0.1uF
18
R16
4.7k
16
R13
VDDIO
14
10k
13
C3
C2
VBAT
RGB 0
D9
VBAT
D10
RGB 2
VBAT
Rev. 1 | Page 8 of 13
VBAT
VDDIO
15
ADP5520-LFCSP
D12
CMP_IN
17
D8
12
6
SDA
11
5
VDDIO
C1
4
INT
10
SDA
CMP_IN
C0
SCL
3
SNS_GND
SW
R0
R6
2.2k
2
R5
2.2k
PGND
9
1
R1
VDDIO
VDDIO
BL_SNK
\INT
8
680
24
BL_GND
U1
D11
7
R12
VBAT
23
C3
1uF
RGB 1
APDS-9005
Reference Design
PRD1164
Figure 6.
ADP5520 control circuit
SCL
SDA
RESET
25
PC2
26
PC3
27
PC4
28
PC5
ADC6
PB6/PCINT6/XATL1
AVCC
CON3
24
3
23
22
21
20
19
18
VBAT
17
C11
1u
PB4
C9 C10
0.1u 1u
16
15
9
PB5
PB3
PB7/PCINT7/XTAL2/TOSC2
1
2
SCK
MISO
P1
1
VBAT
29
GND1
U2
R8
31
30
AREF
PD5
8
GND
PB2
7
GND2
14
5
VCC1
PB1
3
1u
ADC7
PB0
0.1u
C7
VCC
13
6
12
C6
PC0
PD7
4
C8
1u
PD4/PCINT20/XCK/T0
11
2
PC1
PD6
VBAT
S1
PD3/PCINT19/OC2B/INT1
10
1
PC6
ATmega88
PD1
PD0
PD2
32
VBAT
2
4
3
MOSI
1k
R9
4.7k
C12
0.1u
A06-H-C
VBAT
U3
C14
2.2 uF
1
2
3
4
VDDIO
C15
2.2 uF
R14
30K
R15
10k
ADP1715/16
VBAT
J1
MOSI
RESET
SCK
MISO
1
3
5
7
9
8
7
6
5
EN
GND1
IN
GND2
OUT
GND3
ADJ/SS/TRKGND4
2
4
6
8
10
VBAT
R7
1k
RESET
CON10A
C13
1u
Rev. 1 | Page 9 of 13
RESET
Reference Design
PRD1164
BILL OF MATERIALS
Table 2.
Item
Bill of Materials
Part Reference
Description
Qty
1
C4,C6,C9,C12
2
C5
C7,C8,C10,C11,
C13
C1,C3
C2
Capacitor, Ceramic,
0.1uF,0402,10V,X5R
Capacitor, Ceramic,
0.01uF,0402,16V,X7R
Capacitor, Ceramic,
1uF,0402,10V,X5R
Capacitor, Ceramic, 1uF,16V,0603
Capacitor, Ceramic, 1uF,25V,0805
7
8
9
10
11
C14,C15
D1,D2,D3,D4,D5,
D6
D8
D9
D10
D11
Capacitor, Ceramic, 2.2uF, 16V,
0603
Backlght White LED,30mA,
0805,Vf<3.2
RED LED,30mA,0603
BLUE LED,30mA,0603
GRN LED,30mA,0603
RED LED,30mA,0603
12
13
D7
D12
14
L1
Diode, Schottky,SOD123
photosense
Inductor, 4.7uH/1.1Apeak,
DCR0.15ohm
15
R5,R6
Resistor,2.2K,1/10W, 1%, 0402
16
R7,R8
Resistor,1K,1/10W, 1%, 0402
17
R9,R16
Resistor,4.7K,1/10W, 1%, 0402
18
R10
Resistor,20K,1/10W, 1%, 0402
19
R11
Resistor, 0ohm, 1/10W, 1%, 0402
20
R12
Resistor, 680ohm, 1/10W, 1%, 0402
21
R13
Resistor,10K,1/10W, 1%, 0402
22
R14
Resistor,24.3K,1/10W, 1%, 0402
23
R15
Resistor,10K,1/10W, 1%, 0402
24
25
J1
PUSHBUTTON
3
4
5
6
Manuf./Vendor P/N
4
Murata
GRM155R61A104KA01
1
Murata
GRM155R71C103KA01
5
2
1
Murata
Murata
Murata
GRM155R61A105KE15
GRM185R61C105KE44
GRM188R61E105KA12
2
Murata
GRM188R61C225KE15
6
1
1
1
1
everlight
everlight
everlight
everlight
everlight
65-11-UTC-S933-TR8
19-21-R6C-FP2Q2L-3T
19-21-BHC-AN1P2-3T
19-21-GHC-YR1S2-3T
19-21-R6C-FP2Q2L-3T
Onsemi
Avago
MBR0530
APDS-9005
TDK
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Vishay or
equiv
Sullins
Electronics
Weixin
VLF4012AT-4R7M1R1
1
1
1
2
2
2
1
1
1
1
1
1
SMT headers,10pin
1
PUSHBUTTON
1
Rev. 1 | Page 10 of 13
Manufactur
er
CRCW04022K2FKED
CRCW04021KFKED
CRCW04024K7FKED
CRCW040220KFKED
CRCW04020RFKED
CRCW0402680RFKED
CRCW04024K7FKED
CRCW04024K7FKED
CRCW040210KFKED
PEC36DAAN
TSS4433
Reference Design
Item
26
27
28
29
PRD1164
Part Reference
Description
Qty
S1
U1
U2
U3
Mini slide switch
Backlight driver
Micro Controller
LDO
1
1
1
1
LAYOUT
Figure 7.
Top View
J1 = S1 on schematic
Rev. 1 | Page 11 of 13
Manufactur
er
ALPS
ADI
ATMEL
ADI
Manuf./Vendor P/N
SSSS810701
ADP5520
ATmega88V-10U
ADP1715_ADJ
Reference Design
PRD1164
Figure 8.
Bottom View
Rev. 1 | Page 12 of 13
Reference Design
PRD1164
NOTES
©2009 Analog Devices, Inc. All rights reserved.
Trademarks and registered trademarks are the
property of their respective owners. Error! Unknow
Rev. 1 | Page 13 of 13
Similar pages