TOP Contributors

  1. MIKROE (2752 codes)
  2. Alcides Ramos (372 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 (139064 times)
  2. FAT32 Library (71594 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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
mikroSDK Library

Brushless 7 click

Rating:

5

Author: MIKROE

Last Updated: 2020-07-13

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Brushless

Downloaded: 2277 times

Not followed.

License: MIT license  

Brushless 7 Click based on TC78B009FTG IC from Toshiba is a three-phase BLDC motor controller that does not require Hall sensors. Some of the main features are a built-in closed loop speed control function that regulates and maintains the motor rotational speed under dynamic power fluctuations and load variations.

No Abuse Reported

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

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

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

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Brushless 7 Click

Brushless 7 Click

Native view of the Brushless 7 Click board.

View full image
Brushless 7 Click

Brushless 7 Click

Front and back view of the Brushless 7 Click board.

View full image

Library Description

Library provides functions for controlling brushless motor. It has functions for communicating with device with I2C module, and controlling pins. There are function for controlling device over couple of modes.

Key functions:

  • void brushless7_generic_write ( uint8_t reg_adr, uint8_t tx_data ) - Function for writing one byte of data to device
  • uint8_t brushless7_generic_read ( uint8_t reg_adr ) - Function for reading one byte of data from device
  • void brushless7_default_config ( void ) - Function for setting default configuration of device

Examples description

The application is composed of three sections :

  • System Initialization - Initialization of communication module
  • Application Initialization - Setts default configuration and sets parameters for selected mode
  • Application Task - Setts 3 different speed of motor in span of 20 seconds
void application_task ( )
{
    if ( BRUSHLESS7_CTRL_TYPE_DUTY == demo_type_data )
    {
        mikrobus_logWrite( " ----- 20 ----- ", _LOG_LINE );
        stop_start();
        brushless7_change_duty( 20 );
        Delay_ms( 20000 );
        mikrobus_logWrite( " ----- 40 ----- ", _LOG_LINE );
        stop_start();
        brushless7_change_duty( 40 );
        Delay_ms( 20000 );
        mikrobus_logWrite( " ----- 8 ----- ", _LOG_LINE );
        stop_start();
        brushless7_change_duty( 8 );
        Delay_ms( 20000 );
    }
    else if ( BRUSHLESS7_CTRL_TYPE_RPM == demo_type_data )
    {
        mikrobus_logWrite( " ----- 400 ----- ", _LOG_LINE );
        stop_start();
        brushless7_start_rpm( 400 );
        Delay_ms( 20000 );
        mikrobus_logWrite( " ----- 1000 ----- ", _LOG_LINE );
        stop_start();
        brushless7_start_rpm( 1000 );
        Delay_ms( 20000 );
        mikrobus_logWrite( " ----- 100 ----- ", _LOG_LINE );
        stop_start();
        brushless7_start_rpm( 100 );
        Delay_ms( 20000 );
    }
}

Additional Functions :

  • void stop_start ( ) - Funcnction stops motor and then restores previous mode of working

Other mikroE Libraries used in the example:

  • I2C
  • UART

Additional notes and informations

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

EXPAND 6

5

EXPAND 6 Click is a compact add-on board that contains an I2C configurable multi-port I/O expander with independently configurable pins as bi-directional input/outputs or PWM outputs. This board features the CY8C9520A, 20-bit I/O expander with EEPROM, and 4 independently configurable 8-bit PWM outputs from Cypress Semiconductor.

[Learn More]

BARGRAPH 3 Click

0

BarGraph 3 Click is equipped with a five-segment LED bar graph display, notable for its strong and uniform illumination of the segments. Each segment consists of three internal LEDs with a common cathode, while the anodes of all LEDs are connected in a single point.>

[Learn More]

Cap Touch 4 Click

0

Cap Touch 4 Click is a compact add-on board for wake-on-touch and activation applications. This board features the IQS211B, a single-channel capacitive controller from Azoteq, featuring ProxSense® technology for highly sensitive self-capacitance measurements. The board includes a defined circular touch-sensing area, signal conditioning for parasitic capacitance, and a low-power Sleep mode with wake-up functionality, ensuring efficient energy consumption. It communicates via the I2C interface with a fixed address of 0x47, operates at 3.3V logic, and features the new Click Snap for added flexibility.

[Learn More]