Carte de pilote LED 10 Click
Carte de pilote LED 10 Click
Le Carte de pilote LED 10 Click Board™ est une carte complémentaire compacte qui simplifie le contrôle de plusieurs LED. Cette carte comprend le TLC59283, un pilote de diode électroluminescente (LED) à courant constant à 16 canaux avec FET de précharge de Texas Instruments. Chaque canal LED peut être contrôlé individuellement avec un simple protocole de communication série SPI compatible avec les niveaux logiques 3,3 V ou 5 V. Chaque sortie à courant constant dispose d'un transistor à effet de champ de précharge qui peut réduire les images fantômes sur l'affichage LED du lecteur de multiplexage. Il dispose de fonctionnalités supplémentaires telles que la désactivation de toutes les sorties via une seule broche mikroBUS™ et le réglage des valeurs de courant constant sur les 16 canaux via un potentiomètre intégré.
Ce LED Driver 10 Click Board™ convient au mélange de couleurs et aux applications de rétroéclairage pour les produits de divertissement, la signalisation d'état des LED, les projets de domotique et bien d'autres.
How Does The LED Driver 10 Click Board™ Work?
The LED Driver 10 Click Board™ as its foundation uses the TLC59283, an SPI bus controlled, 16-channel, constant-current sink light-emitting diode (LED) driver with pre-charge FET from Texas Instruments. It operates within a VCC supply voltage range where its outputs are 10V tolerant. Each LED output, 16 LED drivers presented on two nine position spring terminals, with a maximum output current of +50mA per channel, is programmable at OFF and ON state with a programmable individual LED brightness.
The internal pre-charge FET prevents the ghosting of multiplexed LED modules. One cause of this phenomenon is the parasitic capacitance charging current of the constant-current outputs and PCB wiring connected to LED pins of the TLC59283 through the external LED.
The TLC59283 communicates with MCU using the standard SPI serial interface with a maximum frequency of 35MHz. It has a 16-bit shift register and an output ON/OFF data latch. The shift register and data latch are 16 bits long and used to turn the constant-current outputs ON/OFF. When the serial data buffer is loaded, a LAT pin of the mikroBUS™ socket rising edge transfers the data to the LED outputs. When the TLC59283 is initially powered on, the data in the 16-bit shift register and output ON/OFF data latch are not set to default values. Therefore, the output ON/OFF data must be written to the data latch before turning ON the LED output.
PWM pin of the mikroBUS™ socket should be set to a high logic state when powered on because the constant-current may be turned on due to random data in the output ON/OFF data latch. When the PWM pin is in a low logic state, the corresponding LED output is turned ON if data in the ON/OFF control data-latch are '1' and remains off if the data are '0'. When the PWM pin is high, all LED outputs are forced OFF.
The LED Driver 10 Click Board™ also possesses the adjustable potentiometer labeled as VR1 that adjusts the constant-current value of all 16 channels. The constant-current value of all 16 channels is set by a single external resistor placed between the IREF pin, the constant-current value setting pin of the TLC59283, and the ground. Selection can be performed by onboard SMD jumper labeled as CURRENT to an appropriate position marked as L and H.
The LED Driver 10 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the SPI 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 many more |
On-board modules | TLC59283 - SPI bus controlled, 16-channel, constant-current sink light-emitting diode (LED) driver with pre-charge FET from Texas Instruments |
Key Features | Low power consumption, 16 channels, ON/OFF LED channels control, pre-charge FET for ghosting reduction, switching delay for noise reduction, channel-current setting, and more |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
Pinout diagram
This table shows how the pinout on the LED Driver 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
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 |
JP2 | CURRENT | Left | Constant-Current Resistor Selection L/H: Left position L, Right position H |
VR1 | VR1 | - | Current Adjustment Potentiometer |
LED Driver 10 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Maximum LED Channel Output Voltage | - | - | 10 | V |
Maximum LED Channel Output Current | - | - | 45 | mA |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the LED Driver 10 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for LED Driver 10 Click driver.
Key Functions
leddriver10_cfg_setup
- This function initializes click configuration structure to initial values.leddriver10_init
- This function initializes all necessary pins and peripherals used for this click board.leddriver10_pwm_start
- This function starts the PWM module output.
Example Description
This example demonstrates the use of LED Driver 10 Click board.
The demo application is composed of two sections :
void application_task ( void ){ static int16_t duty_cnt = 1; static int8_t duty_inc = 1; float duty = duty_cnt / 10.0; leddriver10_set_duty_cycle ( &leddriver10, duty ); log_printf( &logger, "> Duty: %u%%rn", ( uint16_t )( duty_cnt * 10 ) ); Delay_ms( 500 ); if ( 10 == duty_cnt ) { duty_inc = -1; } else if ( 0 == duty_cnt ) { duty_inc = 1; } duty_cnt += duty_inc;}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
We provide a library for the LED Driver 10 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for LED Driver 10 Click driver.
Key Functions
leddriver10_cfg_setup
- This function initializes click configuration structure to initial values.leddriver10_init
- This function initializes all necessary pins and peripherals used for this click board.leddriver10_pwm_start
- This function starts the PWM module output.
Example Description
This example demonstrates the use of LED Driver 10 Click board.
The demo application is composed of two sections :
void application_task ( void ) { static int16_t duty_cnt = 1; static int8_t duty_inc = 1; float duty = duty_cnt / 10.0; leddriver10_set_duty_cycle ( &leddriver10, duty ); log_printf( &logger, "> Duty: %u%%rn", ( uint16_t )( duty_cnt * 10 ) ); Delay_ms( 500 ); if ( 10 == duty_cnt ) { duty_inc = -1; } else if ( 0 == duty_cnt ) { duty_inc = 1; } duty_cnt += duty_inc; }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver10
Additional Notes and Information
Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The LED Driver 10 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver10
Additional Notes and Information
Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The LED Driver 10 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the LED Driver 10 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for LED Driver 10 Click driver.
Key Functions
leddriver10_cfg_setup
- This function initializes click configuration structure to initial values.leddriver10_init
- This function initializes all necessary pins and peripherals used for this click board.leddriver10_pwm_start
- This function starts the PWM module output.
Example Description
This example demonstrates the use of LED Driver 10 Click board.
The demo application is composed of two sections :
void application_task ( void ){ static int16_t duty_cnt = 1; static int8_t duty_inc = 1; float duty = duty_cnt / 10.0; leddriver10_set_duty_cycle ( &leddriver10, duty ); log_printf( &logger, "> Duty: %u%%rn", ( uint16_t )( duty_cnt * 10 ) ); Delay_ms( 500 ); if ( 10 == duty_cnt ) { duty_inc = -1; } else if ( 0 == duty_cnt ) { duty_inc = 1; } duty_cnt += duty_inc;}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
We provide a library for the LED Driver 10 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for LED Driver 10 Click driver.
Key Functions
leddriver10_cfg_setup
- This function initializes click configuration structure to initial values.leddriver10_init
- This function initializes all necessary pins and peripherals used for this click board.leddriver10_pwm_start
- This function starts the PWM module output.
Example Description
This example demonstrates the use of LED Driver 10 Click board.
The demo application is composed of two sections :
void application_task ( void ) { static int16_t duty_cnt = 1; static int8_t duty_inc = 1; float duty = duty_cnt / 10.0; leddriver10_set_duty_cycle ( &leddriver10, duty ); log_printf( &logger, "> Duty: %u%%rn", ( uint16_t )( duty_cnt * 10 ) ); Delay_ms( 500 ); if ( 10 == duty_cnt ) { duty_inc = -1; } else if ( 0 == duty_cnt ) { duty_inc = 1; } duty_cnt += duty_inc; }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver10
Additional Notes and Information
Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The LED Driver 10 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
- MikroSDK.Board
- MikroSDK.Log
- Click.LEDDriver10
Additional Notes and Information
Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The LED Driver 10 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Carte de pilote LED 10 Click
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.