xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx
xxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxx x x
UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 7 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
6. Schematic
Fig 4. PCA9685 demo board schematic
019aac802
1
2
3
+5 V
+3.3 V
4
5
SCL_1
J2
C1
10 μF
9-pin female
connector
6
7
SDA_1
GND
8
9
C2
10 μF
9-pin connector to/from I2C 2005-1
or to/from PCA9685 demo board
3
2
1
J6
1
GND
2
I/O1
4
V
CC
3
I/O2
U2
close to connector J2/J4
PRTR5V0U2AX
C23
0.01 μF
+5 V
L1
BLM18BD471SN1
SDA_1 SDA-filter
L2
BLM18BD471SN1
SCL_1 SCL-filter
(470 Ω at 100 MHz)
1
GND
2
I/O1
4
V
CC
3
I/O2
U3
close to 9-pin connector J3
PRTR5V0U2AX
C24
0.01 μF
+5 V
L3
BLM18BD471SN1
SDA_2 SDA-filter
L4
BLM18BD471SN1
SCL_2 SCL-filter
(470 Ω at 100 MHz)
C7
0.1 nF
C8
0.1 nF
C9
0.1 nF
C10
0.1 nF
C11
0.1 nF
C12
0.1 nF
C13
0.1 nF
C14
0.1 nF
C15
0.1 nF
C16
0.1 nF
C17
0.1 nF
C18
0.1 nF
C19
0.1 nF
C20
0.1 nF
C21
0.1 nF
C22
0.1 nF
D2
LED0
LW-E67C-white
+5 V
A1
C2
A2
C1
C3
A3
D3
LED[1:3]
LRTB_G6SG
D4
LED4
LW-E67C-white
R10 440 Ω
R11 1.16 kΩ
R12 720 Ω
R13 720 Ω
LED0
LED1
LED2
LED3
R14 440 Ω
R15 1.16 kΩ
R16 720 Ω
LED4
LED5
LED6
R17 720 Ω
R18 440 Ω
R19 1.16 kΩ
LED7
LED8
LED9
R20 720 Ω
R21 720 Ω
R22 440 Ω
LED10
LED11
LED12
R23 1.16 kΩ
R24 720 Ω
R25 720 Ω
LED13
LED14
LED15
A1
C2
A2
C1
C3
A3
D5
LED[5:7]
LRTB_G6SG
D6
LED8
LW-E67C-white
A1
C2
A2
C1
C3
A3
D7
LED[9:11]
LRTB_G6SG
D9
LED12
LW-E67C-white
A1
C2
A2
C1
C3
A3
D8
LED[13:15]
LRTB_G6SG
3
2
1
J5
GND
GND
VP for I2C pull-up V
DD
on WIN-I2CUSB board
1
2
3
4
5
A1
A2
A4
A3
A1
A2
A4
A3
A0
PCA9685PW
6
7
8
9
LED0
LED1
LED3
LED2
LED0
LED1
LED3
LED2
10
11
12
LED4
LED6
LED5
LED4
LED6
LED5
13
14
LED7
LED7
V
SS
U1
28
27
26
25
24 A5
EXTCLK
SDA
SCL
A5
EXTCLK
V
DD
23
22
21
20
/OE
LED15
LED13
LED14
/OE
LED15
LED13
LED14
19
18
17
LED12
LED10
LED11
LED12
LED10
LED11
16
15
LED9
LED8
LED9
LED8
SW1
SW DIP-8
R1 10 kΩ
R2 10 kΩ
R3 10 kΩ
R4 10 kΩ
VDD_IN
(output enable)
TP2
1
SDA filter
SCL filter
R9
1 kΩ
1
2
3
J1
+3.3 V +5 V
VDD_IN
C5
0.1 μF
C6
4.7 μF
D1
LTST-C170KGKT
limited the current to 2.5 mA
white LED V
F
= 3.9 V
red LED V
F
= 2.1 V
green/blue LED V
F
= 1.8 V
1
3
5
7
9
11
13
2
4
SCL_1
(VP) VDO_IN
6
8
10
GND
SDA_1
12
14 +5 V
J4
GND
+3.3 V
14-pin connector to/from WIN-I2CUSB
Fm+ I2C master to drive PCA9685
HEADER 7x2/SM
I2CUSB CONNECTOR
A0
R5 10 kΩ
R6 10 kΩ
R7 10 kΩ
R8 10 kΩ
A5
EXTCLK
TP1
1 /OE
(external clock in)
(switched to GND when
external clock is not used)
1
2
3
+5 V
+3.3 V
4
5
SCL_2
J3
C4
10 μF
9-pin female
connector
6
7
SDA_2
GND
8
9
C3
10 μF
9-pin connector to/from I2C 2005-1
or to/from PCA9685 demo board
UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 8 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
7. OM13332 demonstration board main components
8. PCA9685 evaluation steps
The PCA9685 functions are controlled by WIN-I2CUSB Lite GUI. Refer to the PCA9685
data sheet for additional information on the registers and functionality.
Connect the hardware as described in Section 4
. The PCA9685 demo board address is
set to 0x80 on DIP switch (S1) as A[0:5] = S1[1:6] = 000000 (0 ON, 1 OFF). When
you have correctly installed the software and the demonstration board hardware is
connected and recognized by the computer, start the Win-I2CUSB Lite software. As
shown in Figure 5
, when the demonstration board hardware is correctly connected to the
USB port and the computer recognizes it, the message ‘Hardware Detected’ is displayed
on the bottom of the window.
Switched 3.3 V and 5.0 V power supplies are controlled through the ‘Options’ menu or by
double-clicking on the 3.3 V or 5.0 V symbols on the bottom of the window. Power
supplies are disabled by default and you must enable them before using the I
2
C-bus
devices on the board. I
2
C-bus frequency is controlled through the ‘Options’ menu or by
double-clicking the frequency symbol on the bottom of the window.
8.1 Dimming and brightness control for individual LED
The PCA9685 has 4096 steps (12-bit PWM) of individual LED brightness control to vary
from fully off (default) to maximum brightness. The LED output frequency (all LEDs)
typically varies from 24 Hz to 1526 Hz (default of 1Eh in PRE_SCALE register results in a
197 Hz refresh rate with oscillator clock of 25 MHz). The duty cycle of PWM can be
controlled independently using the ‘LEDn ON’ and ‘LEDn OFF’ registers. The resolution
for the phase shift is
1
4096
of the target frequency.
1. From the ‘Device’ drop-down menus, select ‘LED Blinkers and Dimmers’, and from
the subsequent drop-down menu select ‘PCA9685 16-channel LED Driver with 12-bit
PWM’ as shown in Figure 5
.
2. The device address is set to ‘80’ hexadecimal and cannot change. Check the ‘Auto
Write On’ box (lower left), uncheck the ‘Low-power mode (oscillator off)’ box to enable
the device to ‘Normal mode’ (upper left).
Table 1. OM13332 demo board main components
Device Description Address/LED output Location
PCA9685PW 16-channel, 12-bit PWM Fm+ I
2
C-bus
25 mA voltage switch LED driver
0x80 for I2C demo board 2005-1
interface
U1
LW-E67C White LED LED0, LED4, LED8, LED12 D2, D4, D6, D9
LRTB_G6SG RGB LED LED1, LED2, LED3 D3
LRTB_G6SG RGB LED LED5, LED6, LED7 D5
LRTB_G6SG RGB LED LED9, LED10, LED11 D7
LRTB_G6SG RGB LED LED13, LED14, LED15 D8
LTST-C170KGKT Green LED for PCA9685 power supply
either 3.3 V or 5 V indicator
-D1
UM10574 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 1 — 1 April 2014 9 of 14
NXP Semiconductors
UM10574
PCA9685 demonstration board OM13332
3. For LED output that directly connects to LED as the demo board design, the INVRT
bit in MODE2 register must be set to 1 by checking the ‘Output not inverted’ to ‘Output
inverted’ and the OUTDRV bit in MODE2 register must be set to 0 by checking the
‘Totem pole outputs’ to ‘Open-drain outputs’ to make sure all LEDs are completed
OFF state as shown in Figure 6
.
4. The device configuration screen is displayed by clicking the following options:
‘PWM 0 to 3’ individual brightness control for LED0 to LED3
‘PWM 4 to 7’ individual brightness control for LED4 to LED7
‘PWM 8 to 11’ individual brightness control for LED8 to LED11
‘PWM 12 to 15’ individual brightness control for LED12 to LED15
‘Control Registers’ all LED[0:15] brightness control and Prescale for all LEDs
output frequency as shown in Figure 7
5. In Figure 6, uncheck the ‘LEDn Full Off’ box (lower bottom), adjust both ‘LEDn ON’
and ‘LEDn OFF’ bar for dimming/brightness effect, also move LED1 ON/OFF to
control red, LED2 ON/OFF to control green, LED3 ON/OFF to control blue for color
mixing.
Remark: The LED ON time, which is programmable, is the time to assert the LED output
and the LED OFF time, which is also programmable, is the time to negate the LED output.
Fig 5. Drop-down menu selections

OM13332,598

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
PCA9685 PWM DEMO BOARD
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet