brushless31
2.1.0.0
|
Brushless 31 Click is a compact add-on board for precise and efficient brushless motor control. This board features the TB6605FTG, a three-phase full sine-wave brushless motor controller from Toshiba Semiconductor. The board features six onboard external N-channel MOSFETs for smooth motor operation, sine-wave PWM driving with 2-phase modulation for high efficiency and low noise, and includes essential functions like dead time, brake, and manual/auto lead-angle control. It supports clockwise and counterclockwise rotation and offers motor lock protection for added safety. Brushless 31 Click is ideal for home appliances, fans, and office equipment applications, where reliable and precise motor control is critical.
We provide a library for the Brushless 31 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 31 Click driver.
brushless31_cfg_setup
Config Object Initialization function. brushless31_init
Initialization function. brushless31_default_cfg
Click Default Configuration function. brushless31_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). brushless31_pull_brake
This function pulls brake by setting the BRAKE pin to low logic state. brushless31_switch_direction
This function switches the direction of motor rotation by toggling the DIR pin logic state. This example demonstrates the use of the Brushless 31 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.
Controls the motor speed by changing the PWM duty cycle every 500 milliseconds.
The duty cycle ranges from 80% to 0%. At the minimal speed, the motor switches direction. Each step will be logged on the USB UART where you can track the program flow.
This Click board is designed for 5V systems but can also be controlled with 3V3 GPIO lines.
Ensure your MCU is 5V tolerant on mikroBUS GPIO lines before turning on the power supply.
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.