TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136545 times)
  2. FAT32 Library (69739 times)
  3. Network Ethernet Library (55845 times)
  4. USB Device Library (46184 times)
  5. Network WiFi Library (41803 times)
  6. FT800 Library (40991 times)
  7. GSM click (28925 times)
  8. PID Library (26385 times)
  9. mikroSDK (26287 times)
  10. microSD click (25300 times)
Libstock prefers package manager

Package Manager

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]

< Back
Example

Brushless 6 click

Rating:

0

Author: MIKROE

Last Updated: 2017-12-26

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Brushless

Downloaded: 2266 times

Not followed.

License: MIT license  

Brushless 6 click 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.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Brushless 6 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Brushless 6 click" changes.

Do you want to report abuse regarding "Brushless 6 click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)

Example Blog

Brushless 6 Click

Brushless 6 Click

Native view of the Brushless 6 click

View full image
Bruchless 6 Click

Bruchless 6 Click

Front and back view of the Brushless 6 Click.

View full image

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 );
}

Other MikroElektronika libraries used in the example:

  • PWM
  • UART

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 clickor 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.

ALSO FROM THIS AUTHOR

Temp-Log 4 click

5

Temp-Log 4 Click is a temperature measuring Click board featuring the SE97B IC, an accurate temperature sensor IC with integrated EEPROM. Besides the thermal sensor, this IC is equipped with additional 256 bytes of EEPROM, integrated on the same die.

[Learn More]

DIGI POT 2 click

0

DIGI POT 2 click is a mikroBUS™ add-on board with a single channel digital potentiometer TPL0501 with 256 wiper positions.

[Learn More]

Brushless 13 click

0

Brushless 13 Click is a compact add-on board that controls brushless DC motors with any MCU. This board features the STSPIN830, a compact and versatile three-phase and three-sense motor driver from STMicroelectronics. The driver integrates both the control logic and a fully protected low RDson triple half-bridge power stage.

[Learn More]