Brushless 20 Click Board
Brushless 20 Click Board
Key Features:
- Triple 1/2 H-bridge driver, high current drive capability, low MOSFET ON resistance, integrated protection features, sleep mode for standby operation, and more
- Based on the DRV8313 - three-phase BLDC motor driver from Texas Instruments
- Can be used for driving three-phase brushless DC motors up to 2A output current rating
- mikroBUS: I2C Interface
The Brushless 20 Click Board™ is a compact add-on board that controls brushless DC (BLDC) motors with any MCU. This board features the DRV8313, a fully integrated three-phase BLDC motor driver from Texas Instruments. It provides three individually controllable half-H-bridge drivers intended to drive a three-phase BLDC motor, solenoids, or other loads. Each output driver channel consists of N-channel power MOSFETs configured in a 1/2-H-bridge configuration. Besides, it has a wide operating voltage range from 8V to 60V, alongside several built-in protection circuits such as under-voltage, charge pump faults, overcurrent, and over-temperature. This Click board™ makes the perfect solution for driving three-phase brushless DC motors up to 2A output current rating.
The Brushless 20 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Brushless 20 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 The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Brushless 20 Click Board™ driver.
Key functions
-
brushless20_perform_com_sequence
This function performs a single commutation sequence for the selected rotation direction at a desired speed. -
brushless20_drive_motor
This function drives the motor for a desired time by performing multiple commutation sequences for the selected rotation direction at a desired speed. -
brushless20_get_fault_pin
This function returns the fault pin logic state.
Example Description
This example demonstrates the use of the Brushless 20 Click Board™ by driving the motor in both directions at different speeds.
void application_task ( void )
{
log_printf ( &logger, "rn Driving motor clockwise rn" );
for ( uint8_t speed = BRUSHLESS20_SPEED_MIN; speed <= BRUSHLESS20_SPEED_MAX; speed += 20 )
{
log_printf ( &logger, " Speed: %urn", ( uint16_t ) speed );
if ( BRUSHLESS20_OK != brushless20_drive_motor ( &brushless20, BRUSHLESS20_DIR_CW, speed, 3000 ) )
{
log_error ( &logger, " Drive motor " );
}
}
Delay_ms ( 1000 );
log_printf ( &logger, "rn Driving motor counter-clockwise rn" );
for ( uint8_t speed = BRUSHLESS20_SPEED_MIN; speed <= BRUSHLESS20_SPEED_MAX; speed += 20 )
{
log_printf ( &logger, " Speed: %urn", ( uint16_t ) speed );
if ( BRUSHLESS20_OK != brushless20_drive_motor ( &brushless20, BRUSHLESS20_DIR_CCW, speed, 3000 ) )
{
log_error ( &logger, " Drive motor " );
}
}
Delay_ms ( 1000 );
}
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 the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Brushless20
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 MikroElektronika compilers.
MIKROSDK
The Brushless 20 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.
Brushless 20 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.