We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2020-12-03
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Brushless
Downloaded: 2032 times
Not followed.
License: MIT license
Brushless 12 Click is a compact add-on board suitable for controlling BLDC motors with any MCU. This board features the L6235, DMOS fully integrated 3-phase motor driver with overcurrent protection from STMicroelectronics.
Do you want to subscribe in order to receive notifications regarding "Brushless 12 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Brushless 12 click" changes.
Do you want to report abuse regarding "Brushless 12 click".
Library Description
The library contains a basic functions for using Brushless 12 Click.
Key functions:
void brushless12_power_mode ( uint8_t mode )
- Sets motor power modevoid brushless12_work_mode ( uint8_t state )
- Sets motor work modevoid brushless12_direction ( uint8_t dir )
- Sets motor directionExamples description
The application is composed of three sections :
void application_task ( )
{
brushless12_direction ( BRUSHLESS12_DIR_CCW );
brushless12_work_mode ( BRUSHLESS12_START );
Delay_ms( 1000 );
brushless12_work_mode ( BRUSHLESS12_BREAK );
Delay_ms( 1000 );
brushless12_direction ( BRUSHLESS12_DIR_CW );
brushless12_work_mode ( BRUSHLESS12_START );
Delay_ms( 1000 );
brushless12_work_mode ( BRUSHLESS12_BREAK );
Delay_ms( 1000 );
}
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.