TOP Contributors

  1. MIKROE (2745 codes)
  2. Alcides Ramos (371 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (138914 times)
  2. FAT32 Library (71500 times)
  3. Network Ethernet Library (56914 times)
  4. USB Device Library (47269 times)
  5. Network WiFi Library (42993 times)
  6. FT800 Library (42282 times)
  7. GSM click (29724 times)
  8. mikroSDK (27668 times)
  9. PID Library (26828 times)
  10. microSD click (26087 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: 2419 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

H-Bridge 3 click

0

H-Bridge 3 Click is designed for the control of small DC motors and inductive loads, it features TLE9201SG a general purpose 6A H-Bridge perfectly suited for industrial and automotive applications. This IC meets the harsh automotive environmental conditions and it is qualified in accordance with the AEC-Q100 standard, also has set of features such as the short circuit and over-temperature protection, under-voltage protection, detailed SPI diagnosis or simple error flag and fully 3.3/5.5V compatible logic inputs.

[Learn More]

H-Bridge 2 click

5

H-Bridge 2 click can be used to drive a motor by utilizing a specific configuration of the output stage MOSFETs, known as the H-bridge. This configuration enables H-Bridge 2 click to drive a motor with up to 1.2A and 15V, providing control of the speed and direction, as well as the dynamic (rheostatic) braking capability.

[Learn More]

ADC 6 click

0

ADC 6 click is an advanced 24bit multichannel analog to digital converter (ADC), with 8 fully differential or 15 single ended/pseudo differential sampling inputs, and very flexible routing capabilities. The click board has two 2x10 pin headers, used both to configure the device and connect the input channels.

[Learn More]