Brushless 6 Click Board
Brushless 6 Click Board
The Brushless 6 Click Board™ is designed to drive a three-phase sensorless, brushless motor, also known as the BLDC motor. The motor rotation is controlled by receiving driving commands via the incoming PWM signal. This Click Board™ fully controls the rotation of the BLDC motor by utilizing the on-board MCU ATmega8A, an 8-bit MCU from Microchip. The on-board MCU outputs are not adequate to power on the coils of the BLDC motor directly, so this MCU is used to control the power circuitry, instead. This circuit consists of 6 MOSFET transistors, used to switch the power from an external power source to the appropriate stator coils.
Software Support
We provide a demo application for the Brushless 6 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.
Example Description
The example demonstrates how to initialize and control a brushless motor using Brushless 6 click. The demo application is composed of two sections :
- systemInit - Initializes PWM module but also and Brushless click by executing initialization procedure. Initialized UART module is used for message logging.
- appTask - Periodically changes the motor speed using PWM module but also log current setting to UART.
void applicationTask() { brushless6_setMotor( _BRUSHLESS6_SPEED1 ); UART_Write_Text( " Speed 1 "); UART_Write( 13 ); UART_Write( 10 ); Delay_ms( 1000 ); brushless6_setMotor( _BRUSHLESS6_SPEED2 ); UART_Write_Text( " Speed 2 "); UART_Write( 13 ); UART_Write( 10 ); Delay_ms( 1000 ); brushless6_setMotor( _BRUSHLESS6_SPEED3 ); UART_Write_Text( " Speed 3 "); UART_Write( 13 ); UART_Write( 10 ); Delay_ms( 1000 ); brushless6_setMotor( _BRUSHLESS6_CCW ); UART_Write_Text( " Direction Change "); UART_Write( 13 ); UART_Write( 10 ); Delay_ms( 1000 ); brushless6_setMotor( _BRUSHLESS6_INIT ); UART_Write_Text( " Stoped "); UART_Write( 13 ); UART_Write( 10 ); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other MikroElektronika libraries used in the example:
- PWM
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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 mess
Brushless 6 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.