Sink current using PCA9685?

Ivanlee

Mar 21, 2020
7
Joined
Mar 21, 2020
Messages
7
Hi, all
I'm using a PCA9685 with a pinout board like Adafruit's. I'm trying to run a bunch of LEDs at 20 mA, and the chip is supposed to be able to source 10 mA and sink 25 mA. I understand that to have it Source, you connect the LED between the PWM and GND pins and to Sink you connect it between V+ and PWM. 
I've tried both ways and using a multimeter and a red LED I get 12.5 mA. Why is it not 25 in Sink? Also, why do I get 12.5 on Source mode as well?
Is there anyone have ideas of it? if possible a simple explanation would be nice. Many thanks.☺️

 

HarryA1

Mar 4, 2009
481
Joined
Mar 4, 2009
Messages
481
That is a complex beast! Given: "[SIZE=16.0472px]Each LED output can be off or on (no PWM control), or set at its individual PWM controller [/SIZE][SIZE=16.0472px]value. The LED output driver is programmed [/SIZE][SIZE=16.0472px]to be either open-drain with a 25 mA current [/SIZE][SIZE=16.0472px]sink capability at 5 V or totem pole with a 25[/SIZE][SIZE=16.0472px]mA sink, 10 mA source capability at 5 V."[/SIZE]

If you are using the PWM control the meter would not show the peak currents to the LEDs. Other then that it is difficult to help troubleshoot something that requires programming.

 
Top