TOP Contributors

  1. MIKROE (2662 codes)
  2. Alcides Ramos (357 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 (137051 times)
  2. FAT32 Library (70173 times)
  3. Network Ethernet Library (56047 times)
  4. USB Device Library (46369 times)
  5. Network WiFi Library (41991 times)
  6. FT800 Library (41324 times)
  7. GSM click (29083 times)
  8. mikroSDK (26521 times)
  9. PID Library (26462 times)
  10. microSD click (25449 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: 2291 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

Let's make - Thermal Camera

0

Thermal camera project with two different screen resolutions composed of mikroMedia Plus for STM32 and IR Grid click board.

[Learn More]

Multi Stepper TB62262 click

0

Multi Stepper Click is a compact add-on board that contains a bipolar stepper motor driver. This board features the TB62262FTG, CLOCK-in controlled bipolar stepping motor driver from Toshiba Semiconductor. It supports a PWM constant-current control drive and allows full-, half-, and quarter-step operation for less motor noise and smoother control. It has a wide operating voltage range of 10V to 38V with an output current capacity of 1.2A in addition to several built-in error detection circuits.

[Learn More]

Pressure 10 click

5

Pressure 10 Click features a digital interface barometric pressure sensor, labeled as HSPPAD042A. Barometric pressure is detected by the MEMS sensor that is placed on this Click boardâ„¢ using the piezoresistive bridge circuit formed on the silicon diaphragm.

[Learn More]