LED-Treiber 18 Click-Platine
LED-Treiber 18 Click-Platine
Key Features
- 24 LED-Kanäle, programmierbarer Stromwert, PWM-Graustufensteuerung, Überhitzungsschutz, geringer Stromverbrauch, hohe Effizienz und Leistung und mehr
- Basierend auf dem TLC5947 - PWM-LED-Treiber von Texas Instruments
- Kann für Farbmischung und Hintergrundbeleuchtung für Unterhaltungsprodukte, LED-Statussignalisierung, Heimautomatisierungsprojekte und mehr verwendet werden
- mikroBUS: I2C- und SPI-Schnittstellen
Overview
Das LED Driver 18 Click Board: Vereinfachte Steuerung mehrerer LEDs
Wir präsentieren die LED Driver 18 Click Board, die kompakte Zusatzplatine, die die Steuerung mehrerer LEDs vereinfacht. Mit dem leistungsstarken TLC5947-LED-Treiber von Texas Instruments ermöglicht diese Platine die individuelle Anpassung von 24 Kanälen mit 4096 pulsweitenmodulierten (PWM) Schritten. Jeder Kanal verfügt außerdem über einen programmierbaren Stromwert von bis zu 30 mA LED-Strom pro Kanal.
Merkmale:
Die LED Driver 18 Click-Platine verfügt über einen 24-Kanal-LED-Treiber von Texas Instruments mit 4096 pulsweitenmodulierten (PWM) Schritten. Jeder Kanal verfügt außerdem über einen programmierbaren Stromwert von bis zu 30 mA LED-Strom pro Kanal. Darüber hinaus verfügt die Platine über eine integrierte thermische Abschaltfunktion für zusätzliche Sicherheit.
Anwendungen:
Dieses Click Board™ eignet sich perfekt für eine Vielzahl von Anwendungen, darunter Farbmischung und Hintergrundbeleuchtungsanwendungen, LED-Statussignalisierung, Heimautomatisierungsprojekte und mehr!
Die integrierte thermische Abschaltfunktion schaltet bei Überhitzung alle Ausgangstreiber ab und gewährleistet so die Sicherheit und Langlebigkeit Ihrer LEDs. Darüber hinaus ist die Softwareentwicklung mit der mikroSDK-kompatiblen Bibliothek einfacher als je zuvor.
Bestellen Sie noch heute Ihr LED Driver 18 Click Board und erleben Sie die vereinfachte Steuerung mehrerer LEDs. Dieses vollständig getestete Produkt kann auf jedem System verwendet werden, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The LED Driver 18 Click Board™ Work?
The LED Driver 18 Click Board™ is based on the TLC5947, a 24-channel 12-bit PWM LED driver from Texas Instruments. Each channel supports many LEDs in series connected to the LED terminal, and has an individually-adjustable 4096-step PWM grayscale brightness control accessible through a serial interface port. It has a programmable current value of all 24 channels achievable through the AD5171, an I2C-configurable digital potentiometer, with a maximum of 30mA of LED current per channel. The TLC5947 also features a built-in thermal shutdown function that turns OFF all output drivers during an over-temperature condition. All channels automatically restart when the temperature returns to normal conditions.
The LED Driver 18 Click Board™ communicates with MCU through a register-selectable standard SPI interface that enables a high clock speed of up to 30MHz for optimum performance. In addition to the interface signals, the TLC5947 uses another signal from the mikroBUS™ socket. The enable signal routed on the EN pin of the mikroBUS™ socket provides the ability to turn OFF all constant-current outputs. When the EN pin is in a high logic state, all channels (0-23) are forced OFF, the grayscale PWM timing controller initializes, and the grayscale counter resets to 0. When the EN pin is in a low logic state is low, the grayscale PWM timing controller controls all LED channels.
The LED Driver 18 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | LED Drivers |
Applications | Can be used for color mixing and backlight application for amusement products, LED status signalization, home automation projects, and more |
On-board modules | TLC5947 - PWM LED driver from Texas Instruments |
Key Features | 24 LED channels, programmable current value, PWM grayscale control, thermal shutdown protection, low power consumption, high efficiency and performance, and more |
Interface | I2C,SPI |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the LED Driver 18 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | EN | Channels Enable | |
NC | 2 | RST | INT | 15 | NC | ||
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | SDA | I2C Data |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1-J3 | 0-23 | Populated | LED Driver Channel Terminals |
LED DRIVER 18 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Output Current | - | - | 30 | mA |
Resolution | - | 12 | - | bit |
Software Support
We provide a library for the LED Driver 18 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for LED Driver 18 Click driver.
Key functions
-
leddriver18_set_output_pwm
LED Driver 18 set output channel PWM value function. -
leddriver18_write_config
LED Driver 18 write config function. -
leddriver18_set_cc_output
LED Driver 18 set constant current output function.
Example Description
This library contains API for the LED Driver 18 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data for setting constant current output, as well as the default configuration for a PWM output value of the OUT channels.
void application_task ( void )
{
float pwm_val;
for ( int8_t n_cnt = 0; n_cnt <= 100; n_cnt += 10 )
{
for ( uint8_t out_cnt = 0; out_cnt < LEDDRIVER18_MAX_OUTPUT_NUM; out_cnt++ )
{
leddriver18_set_output_pwm( out_cnt, n_cnt );
}
pwm_val = leddriver18_get_output_pwm( 0 );
log_printf( &logger, " PWM value: %.2f rn", pwm_val );
leddriver18_write_config( &leddriver18 );
Delay_ms( 200 );
}
for ( int8_t n_cnt = 100; n_cnt >= 10; n_cnt -= 10 )
{
for ( uint8_t out_cnt = 0; out_cnt < LEDDRIVER18_MAX_OUTPUT_NUM; out_cnt++ )
{
leddriver18_set_output_pwm( out_cnt, n_cnt );
}
pwm_val = leddriver18_get_output_pwm( 0 );
log_printf( &logger, " PWM value: %.2f rn", pwm_val );
leddriver18_write_config( &leddriver18 );
Delay_ms( 200 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver18
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroE compilers.
MIKROSDK
The LED Driver 18 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Software Support
We provide a library for the LED Driver 18 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for LED Driver 18 Click driver.
Key functions
-
leddriver18_set_output_pwm
LED Driver 18 set output channel PWM value function. -
leddriver18_write_config
LED Driver 18 write config function. -
leddriver18_set_cc_output
LED Driver 18 set constant current output function.
Example Description
This library contains API for the LED Driver 18 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data for setting constant current output, as well as the default configuration for a PWM output value of the OUT channels.
void application_task ( void )
{
float pwm_val;
for ( int8_t n_cnt = 0; n_cnt <= 100; n_cnt += 10 )
{
for ( uint8_t out_cnt = 0; out_cnt < LEDDRIVER18_MAX_OUTPUT_NUM; out_cnt++ )
{
leddriver18_set_output_pwm( out_cnt, n_cnt );
}
pwm_val = leddriver18_get_output_pwm( 0 );
log_printf( &logger, " PWM value: %.2f rn", pwm_val );
leddriver18_write_config( &leddriver18 );
Delay_ms( 200 );
}
for ( int8_t n_cnt = 100; n_cnt >= 10; n_cnt -= 10 )
{
for ( uint8_t out_cnt = 0; out_cnt < LEDDRIVER18_MAX_OUTPUT_NUM; out_cnt++ )
{
leddriver18_set_output_pwm( out_cnt, n_cnt );
}
pwm_val = leddriver18_get_output_pwm( 0 );
log_printf( &logger, " PWM value: %.2f rn", pwm_val );
leddriver18_write_config( &leddriver18 );
Delay_ms( 200 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver18
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroE compilers.
MIKROSDK
The LED Driver 18 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Frequently Asked Questions
Ask a Question-
Can I control multiple types of LEDs with the LED Driver 18 Click Board?
Yes, you can control multiple types of LEDs with the LED Driver 18 Click Board. It is compatible with a wide range of LED types and can be programmed to suit your specific needs.
-
How do I use the LED Driver 18 Click Board?
To use the LED Driver 18 Click Board, simply connect it to your microcontroller board or other compatible device, and program it using the software provided.
-
What are the features of the LED Driver 18 Click Board?
The LED Driver 18 Click Board features 24 channels that can be programmed individually, a thermal shutdown function, and an easy-to-use interface.
-
What is the purpose of the LED Driver 18 Click Board?
The purpose of the LED Driver 18 Click Board is to provide an easy and efficient way to control multiple LEDs simultaneously. It is designed to be programmable, which means you can adjust the settings to suit your specific needs.
-
What is the LED Driver 18 Click Board?
The LED Driver 18 Click Board is a device that enables you to control multiple LEDs with ease. It is a programmable device with 24 channels and a thermal shutdown function.