TLC5940 16-channel LED driver
16-channel PWM LED driver with current control.
Function16-channel 12-bit PWM, constant current
Supply voltage3 to 5.5 V
PackageDIP-28
Integrated CircuitsReviewedMPN TLC5940NTUsed in 1 project
In short
What is the TLC5940 16-channel LED driver and what is it used for?
16-channel PWM LED driver with current control. Makers use it for LED cubes.
How it works
Sixteen 12-bit PWM channels with constant-current sinks.
Key specifications
| Integrated circuit spec | Value |
|---|---|
| Function | 16-channel 12-bit PWM, constant current |
| Supply voltage | 3 to 5.5 V |
| Package | DIP-28 |
Pinout
1to 15, 28Outputs OUT1 to OUT15 and OUT0
16XERR
17SOUT
18GSCLK
19DCPRG
20IREF, resistor to GND sets current
21VCC
22GND
23BLANK
24XLAT
25SCLK
26SIN
27VPRG
How to use it
Each output sinks a constant current set by IREF, so LEDs need no resistors. It needs a continuous grayscale clock on GSCLK; the Tlc5940 Arduino library generates it with a timer.
Applications
LED cubes
Builds that use it
Alternatives
- PCA9685 16-channel servo driverSimpler I2C PWM driver
Common questions
What is the TLC5940 16-channel LED driver used for?
In maker projects: LED cubes.
How does the TLC5940 16-channel LED driver work?
Sixteen 12-bit PWM channels with constant-current sinks.
What voltage does the TLC5940 16-channel LED driver need?
3 to 5.5 V.
What can I use instead of the TLC5940 16-channel LED driver?
PCA9685 16-channel servo driver.
