/KTD2061

Demo sketch for 36-channel KTD2058/KTD2061 rgb led driver family

Primary LanguageC++

KTD2061

Demo sketch for KTD2058/KTD2061 36-channel rgb led driver family

Straightforward translation of many of the demos for the KTD2061 Evaluation Kit (KTD2061EUAC-EV1) from the original Python to Arduino-IDE-compatible C++. The KTD2061 family requires 3V3 and GND, I2C (SDA/SCL) connections to the MCU to allow control of the led driver.

Rather than the Evaluation Kit, which is expensive, I designed and assembled my own breakout board using the KTD2058 (I2C address 0x69) variant of the device family. The family comes in several variants each identical but for different I2C addresses so two or more can be easily ganged for controlling multiple batches of 12 rgb leds.

image

The data sheet lists several requirements for the leds that can be driven with the KTD2061 drivers and recommends several particular rgb led part numbers. I used the Lumex LX0303 rgb leds, which have been discontinued but persist with a different part number. These small rgb leds work well with the KTD2058 driver and are very pretty.

IMG_0579.MOV

The iPhone glare does not do it justice...

I am using a STM32L432 (Ladybug) development board but just about any Arduino-compatible MCU with an I2C port will work with this sketch.

Download the EAGLE CAD design files from OSH Park shared space here.

2021 Copyright Tlera Corporation All Rights Reserved.

Hardware design, readme content, and Arduino sketch may be used without restriction as long as properly attributed.