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 (137099 times)
  2. FAT32 Library (70236 times)
  3. Network Ethernet Library (56124 times)
  4. USB Device Library (46434 times)
  5. Network WiFi Library (42077 times)
  6. FT800 Library (41387 times)
  7. GSM click (29116 times)
  8. mikroSDK (26562 times)
  9. PID Library (26489 times)
  10. microSD click (25487 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: 2303 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

Pressure 20 click

0

Pressure 20 Click is a compact add-on board that contains a board-mount pressure sensor. This board features the ICP-20100, a high-accuracy digital barometric pressure and temperature sensor from TDK InvenSense. The ICP-20100 is based on MEMS capacitive technology with ultra-low noise, low power consumption, and temperature stability alongside programmable output: all-pressure, all-temperature, or pressure and temperature output. It converts output data into a 20-bit digital value and sends the information via a configurable host interface that supports SPI and I2C serial communications. It measures pressure from 30kPa up to 110kPa with an accuracy of ±20Pa over a wide operating temperature range.

[Learn More]

EERAM 3v3 click

5

Add memory to your project with EERAM 3.3V click. It carries the 47L16/47C16 I2C serial EERAM from Microchip. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over I2C interface, with additional functionality provided by the INT pin on the mikroBUSâ„¢ line.

[Learn More]

LED Flash 2 click

5

LED Flash 2 click is a powerful flash or torch click, featuring the MIC2870, a high-efficiency flash LED driver, optimized for driving one or two high-brightness camera flash LEDs. The MIC2870 IC can drive one high brightness LED up to 1.5A or two high brightness LEDs, up to 750mA each.

[Learn More]