- Order number: MIKROE-4965
- Manufacturer product ID: 4965
LED Driver 13 Click is a compact add-on board that simplifies the control of multiple LEDs. This board features the A80604-1, a 4-channel LED driver designed at a switching frequency of 400kHz that provides 150mA per channel from Allegro Microsystems. It is powered by an external power supply in the range of 6V to 18V, providing an output voltage of approximately 26V, which is used to power LEDs connected to LED channels. On the logical side, this board uses both 3V3 and 5V with mikroBUS™ power rails and communicates with the MCU via GPIO pins. In addition, the user is given the option of analog or digital LED dimming selection, using a PWM pin from the mikroBUS™ socket or via an onboard potentiometer/external PWM signal. This Click board™ is suitable for various automotive applications, such as infotainment backlighting, interior/exterior lighting, heads-up display, and more.
LED Driver 13 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
How Does It Work?
LED Driver 13 Click as its foundation uses the A80604-1, a multi-output LED driver for automotive applications designed at a switching frequency of 400kHz from Allegro Microsystems. The A80604-1 implements a current-mode boost/SEPIC converter with gate driver for onboard external N-channel MOSFET. Thus, it provides an output current of 150mA per channel at an output voltage of approximately 26V, limited by the input voltage of the A80604-1, which must be in the range of 6V to 18V for proper operation. It also has integrated protection circuitry to guard against output short, overvoltage, LED short-circuit protections, and overtemperature.
This Click board™ offers two ways to implement the LED dimming: analog dimming via an onboard potentiometer or through an external PWM signal applied on the onboard header labeled as PWM, and PWM dimming using a PWM pin from the mikroBUS™ socket. Using the patented Pre-Emptive Boost control, an LED brightness contrast ratio of 15,000:1 can be achieved using PWM dimming at 200Hz. A higher ratio of 150,000:1 is possible when using a combination of PWM and analog dimming. The analog dimming selection can be made by positioning the SMD jumper labeled as ADIM SEL to an appropriate position marked as POT or PWM.
The switching frequency of the A80604-1 can be externally synchronized to an external clock or generated internally - programmed between 260kHz and 2.3MHz. The spread-spectrum technique (with user-programmable dithering range and modulation frequency) is provided to reduce EMI. A clock-out signal, available on the onboard header labeled CLKO, allows other converters to be synchronized to the switching frequency of A80604-1.
As mentioned in the product description, LED Driver 13 Click communicates with MCU using several GPIO pins. The Enable pin, labeled as EN and routed to the CS pin of the mikroBUS™ socket, optimizes power consumption used for power ON/OFF purposes of the board. In addition, it also uses a fault pin labeled as FLT and routed to the INT pin of the mikroBUS™ socket, which indicates the previously mentioned fault conditions to an external system if any fault occurs during operation. This fault signal is also visually indicated via a red LED labeled FAULT. Once the fault is removed, the soft-start process will continue.
This 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 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 various automotive applications, such as infotainment backlighting, interior/exterior lighting, heads-up display, and more |
On-board modules | A80604-1 - multi-output LED driver for automotive applications from Allegro Microsystems |
Key Features | Designed at a switching frequency of 400kHz, operate in Boost or SEPIC mode for flexible output , provides 150mA per channel, programmable boost frequency, selectable LED Dimming feature, onboard protection circuitry, and more |
Interface | GPIO,PWM |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V,External |
Pinout Diagram:
This table shows how the pinout on LED Driver 13 Click 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 |
LD2 | FAULT | - | Fault LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | ADIM SEL | Left | Analog Dimming Mode Selection POT/PWM: Left position POT, Right position PWM |
J1 | PWR | Unpopulated | Analog Dimming External PWM Signal Header |
J2 | CLKO | Unpopulated | Sync Clock-Out Signal Header |
J3 | LED DRIVER | Populated | LED Driver Header |
LED Driver 13 Click Electrical Specifications:
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3.3 | - | 5 | V |
External Supply Voltage VIN | 6 | - | 18 | V |
Output LED Supply Voltage VOUT | - | 26 | - | V |
LED Channel Current | - | 150 | - | mA |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support:
We provide a library for the LED Driver 13 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
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 13 Click driver.
Key functions
-
leddriver13_set_enable
LED Driver 13 set enable function. -
leddriver13_pwm_start
LED Driver 13 start PWM module. -
leddriver13_set_duty_cycle
LED Driver 13 sets PWM duty cycle.
Example Description:
This library contains API for LED Driver 13 Click driver.
void application_task ( void )
{
static int8_t duty_cnt = 1;
static int8_t duty_inc = 1;
float duty = duty_cnt / 1000.0;
leddriver13_set_duty_cycle ( &leddriver13, duty );
log_printf( &logger, "> Duty: %.1f%%rn", duty * 100 );
Delay_ms( 100 );
if ( 30 == 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.LEDDriver13
Additional notes and informations:
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. UART terminal is available in all MikroElektronika compilers.
MikroSDK:
This 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.
For more information about mikroSDK, visit the official page.
Resources:
Downloads:
LED Driver 13 click example on Libstock