brushless26
2.1.0.0
|
Brushless 26 Click is a compact add-on board that controls brushless DC motors with any MCU. This board features the DRV8317H, a three-phase PWM motor driver from Texas Instruments. It provides three integrated MOSFET half-bridges for driving three-phase brushless DC (BLDC) motors with 5V, 9V, 12V, or 18V DC rails or 2s to 4s batteries.
We provide a library for the Brushless 26 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.
This library contains API for Brushless 26 Click driver.
brushless26_cfg_setup
Config Object Initialization function. brushless26_init
Initialization function. brushless26_default_cfg
Click Default Configuration function. brushless26_reset_port_exp
Brushless 26 reset port expander function. brushless26_set_pins
Brushless 26 set pins function. brushless26_drive_motor
Brushless 26 drive motor function. This example demonstrates the use of the Brushless 26 click board by driving the
motor in both directions at different speeds.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Drives the motor in both directions and changes the motor speed approximately every 2 seconds.
The driving direction and speed will be displayed on the USB UART.
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:
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.