For all of you out there who want to control 24 channels of PWM, Adafruit salute you! They also would like you to check out this breakout board for the TLC5947 PWM driver chip. This chip can control 24 separate channels of 12-bit PWM output. Designed (and ideal) for LED control, this board is not good for driving servos. If you need to drive servos, Adafruit have a controller for that over here.
Only three "SPI" pins are required to send data (our Arduino library shows how to to use any digital microcontroller pins). Best of all, the design is completely chainable. As long as there's enough power for all the boards you can chain as many as you'd like, like a little trail of blue PCBs stretching out into the sunset. Each of the 24 output's is constant-current and open drain. You can drive multiple LEDs in series, with a V+ anode supply of up to 30V. If you want to drive something that requires a digital input, you must use a pullup resistor from the drive pin to your logic level to create the full waveform.
One resistor is used to set the current for each of the outputs, the constant current means that the LED brightness doesn't vary if the power supply dips. Adafruit use a 3.3K resistor for about 15mA but you can solder a thru-hole resistor over it if you'd like to change that value. Check the TLC5947 datasheet for details on resistor-to-current values.
Adafruit include a few extras to make this board easy to use: a durable 5V low-dropout regulator (with reverse polarity protection in case y'know, you plug it in backwards), a green power-good LED, four mounting holes and a current-set resistor. A bit of 0.1" header is also included so you can solder it on and plug into a breadboard.
To use: Power V+ with 5-30VDC, and connect ground to the common ground. Then send 3-5V logic SPI data on DIN (data in), CLK (clock) and LAT (latch). If you'd like to quickly turn off all the outputs, raise the OE pin - it's pulled low to enable the PWM outputs.Adafruit's Arduino library will get you started with blinking LEDs, install it and run the example code with the noted pin configuration.
Adafruit 24-Channel 12-bit PWM LED Driver - SPI Interface (4:59)
- Dimensions: 25.39mm / 0.9" x 51.1mm / 2" x 4mm / 0.1"
- Weight: 4.76g
- TLC5947 datasheet, schematics, and Fritzing Library available in the product tutorial
This product is listed in:
Documentation and Resources:
- The Maker Revolution
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - the transition from a consumer buying goods to eventually having a major part in their creation. The Maker Revolution places strong emphasis on free (...
We deliver Australia-wide with these options:
- $3 for Small Items (4-6 days, not tracked, only available on selected small items)
- $6.95 for Standard Post (2-4 days, tracked)
- $8.32 for Express Post (1-2 days, tracked)
- Pickup - Free! Only available to customers who live in the Newcastle region
International Orders - the following rates are for New Zealand and will vary for other countries:
- $11.49 for Pack and Track (3+ days, tracked)
- $16.50 for Express International (2-5 days, tracked)
If you order lots of gear, the postage amount might increment based on the weight of your order.
Our physical address:
Unit 18, 132 Garden Grove Parade
Please checkout our customer service page if you have other frequently asked questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.