TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 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 (137081 times)
  2. FAT32 Library (70222 times)
  3. Network Ethernet Library (56094 times)
  4. USB Device Library (46411 times)
  5. Network WiFi Library (42029 times)
  6. FT800 Library (41375 times)
  7. GSM click (29109 times)
  8. mikroSDK (26555 times)
  9. PID Library (26487 times)
  10. microSD click (25483 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: 2297 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

EEPROM 6 click

5

EEPROM 6 Click is a compact add-on board that contains a serial EEPROM memory that operates from the 1-Wire interface. This board features the DS28EC20, a 20480-bit EEPROM organized as 80 memory pages of 256 bits each from Maxim Integrated.

[Learn More]

Boost 7 click

0

Boost 7 Click is a compact add-on board that steps up the voltage from its input (supply) to its output (load). This board features the BD8316GWL, a dual DC/DC converter from Rohm Semiconductor. Each converter inside the BD8316GWL is designed with up to 200mA current limit generating well-regulated positive and negative outputs of ±3.3V or ±5V, making the BD8316GWL ideal for various applications. In addition to the possibility of working with both mikroBUS™ power rails, it also provides the opportunity of using an external power supply with a very low voltage of 2.5V.

[Learn More]

Clock Gen click

0

Clock Gen Click offers an ideal replacement for crystals, crystal oscillators, VCXOs, phase-locked loops (PLLs), and fanout buffers in cost-sensitive applications. This click features the Si5351A from Silicon Labs, an I2C configurable clock generator based on a PLL + high resolution MultiSynth fractional divider architecture which can generate any frequency up to 200 MHz on each of its outputs with 0 ppm error.

[Learn More]