brushless14 2.0.0.0
|
Brushless 14 Click is a compact add-on board suitable for controlling BLDC motors with any MCU. This board features the TB67B001FTG, a three-phase, brushless, Hall sensorless driver IC from Toshiba Semiconductor.
We provide a library for the Brushless14 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 Brushless14 Click driver.
brushless14_cfg_setup
Config Object Initialization function. brushless14_init
Initialization function. brushless14_default_cfg
Click Default Configuration function. brushless14_set_duty_cycle
Sets PWM duty cycle. brushless14_set_la
Set lead angle setting input. brushless14_set_dir
Set dirrection pin state. This application example showcases ability of the device to control motor,
It's speed and rotation direction. Also it gives user ability to change other configuration parameters.
The demo application is composed of two sections :
Initialization of communication modules (I2C, PWM, UART) and additional
pins (INT, DIR). It reads ID from DAC ic to confirm communcation. Then configures device for control.
Drives motor using PWM from 10% duty cycle to 100% and back to 0%.
Increment is done by 10% in span of 2 seconds. Whenever application gets to 0% duty cycle it chages direction of rotation.
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.