Driver 2 Click Board
Driver 2 Click Board
The Driver 2 Click Board™ is a compact add-on board that contains a gate driver with a level-shift technology with an additional Shutdown function. This board features the IR2104S, a high voltage, high-speed power MOSFET and IGBT driver with typical 0.21 A source and 0.36 A sink currents and independent high and low side referenced output channels from Infineon Technologies. It consists of a level shifter in combination with a power amplifier that accepts a low-power input compatible with standard CMOS or LSTTL outputs and produces a high-current drive input for the gate of a high-power transistor. This Click Board™ is suitable for any application ranging from DC-DC power supply for high power density and efficiency up to a wide range of motor applications.
The Driver 2 Click Board™ 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.
Software Support
We provide a library for the Driver 2 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library contains a basic functions for using Driver 2 click.
Key Functions
void driver2_set_sd_pin ( uint8_t state )
- Set SD pinvoid driver2_set_pwm_pin ( uint8_t state )
- Set PWM pinuint8_t driver2_get_fb_pin ( void )
- Get FB pin
Example Description
The application is composed of three sections :
- System Initialization - Initializes GPIO pins.
- Application Initialization - Initializes driver module and sets pwm.
- Application Task - Change the PWM duty cycle every 100ms
void application_task ( ) { for ( duty_cycle = 0; duty_cycle < pwm_period; duty_cycle += 25 ) { driver2_pwm_set_duty( duty_cycle ); Delay_ms( 100 ); } for ( duty_cycle = pwm_period; duty_cycle <= 0; duty_cycle -= 25 ) { driver2_pwm_set_duty( duty_cycle ); Delay_ms( 100 ); } } The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- PWM library
- UART Library
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 Driver 2 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.
Driver 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.