OFF
MIKROE-2047
25 g
Status:
DC MOTOR 3 Click is a compact add-on board that controls DC motors with brushes. This board features the TB6549FG, a full-bridge driver IC for direct current motors from Toshiba Semiconductor. It can provide the DC motors with a significant amount of current of up to 2A, and a voltage from 10V up to 27V. The TB6549FG uses an LDMOS structure for output transistors, which high-efficiency drive possible through the use of a MOS process with low ON-resistance and a PWM drive system. This Click board™ makes the perfect solution for the rapid development of various DC motor driving applications, including home appliances, printers, industrial equipment, mechatronic applications, and more.
DC MOTOR 3 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
DC MOTOR 3 Click is based on the TB6549FG, a full-bridge driver for direct current motors from Toshiba Semiconductor. The TB6549FG has built-in overcurrent protection, a thermal shutdown circuit, a standby system, and PWM motor capability. Full-bridge means it can run the connected motor in both directions. It has four modes to control the DC motors, CW, CCW, short brake, and stop. To prevent a penetrating current when upper and lower transistors are ON, a dead time of 300ns is provided in the IC when either of the transistors changes from ON to OFF, or vice versa. Note that a dead time is also provided in the IC at the time of transition between CW and CCW or between CW (CCW) and short brake mode, thereby eliminating the need for an OFF time. The TB6549FG also integrates an efficient full bridge with low ON resistance of approximately 1Ω.
Motor speed on this Click board™ can be controlled by PWM signal the mikroBUS™ socket. When PWM control is provided, normal and short brake operations are repeated. Do not attempt to control the output by inputting PWM signals to the standby pin. Doing so may cause the output signal to become unstable, destroying the IC. In standby mode, all circuits are turned OFF except the standby circuit and the charge pump circuit under the standby condition. DC MOTOR 3 Click features the SLP pin to control the standby mode. Pins IN1 and IN2 can select one of four driving modes, CW, CCW, short brake, and stop, by setting the logic states according to the table in the datasheet.
DC MOTOR 3 Click does not use the power for the TB6549FG or the connected motor from the mikroBUS™ socket. The right screw terminal powers the motor with a maximum supply voltage of 27V. The DC motor can be connected over the left screw terminal depending on the desired direction of the motor drive with a 2A max of output. At the bottom of the DC MOTOR 3 Click is a BAT SEL jumper to set the charge pump for driving the gate for the upper power transistor in the output circuit. On this Click board™, 24V is selected by default.
The only power this Click board™ will use from the mikroBUS™ socket is to power the PWR LED. This Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Type
Brushed
Applications
Can be used for rapid development of various DC motor driving applications, including home appliances, printers, industrial equipment, mechatronic applications, and more
On-board modules
TB6549FG - full-bridge driver for direct current motors from Toshiba Semiconductor
Key Features
Drives motors up to 2A, full-bridge (CW, CCW, short brake, stop), built-in thermal shutdown circuit and overcurrent protection, PWM control capability, charge pump voltage selection, and more
Interface
GPIO,PWM
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V,5V
This table shows how the pinout on DC MOTOR 3 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
- | PWR | - | Power LED Indicator |
- | BAT SEL | Right | Charge Pump Selection 12V/24V: Left Position 12V, Right Position 24V |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Power Supply Voltage | 10 | - | 27 | V |
Output Current | - | - | 2 | A |
We provide a library for the DC Motor 3 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for DC Motor 3 Click driver.
Key functions
This function set the direction of rotation in the clockwise direction by sets AN pin and clear RST pin.
This function set the direction of rotation in the counter clockwise direction by clear AN pin and sets RST pin.
This function brake the engine by sets AN and RST pins on DC Motor 3 Click board.
Example Description
This click has four operating modes: clockwise, counter-clockwise, short brake and stop. The operating mode is configured through IN1 and IN2 pins.
void application_task ( void )
{
log_printf( &logger, " Brake the engine rn" );
dcmotor3_short_brake( &dcmotor3 );
Delay_1sec();
log_printf( &logger, "---------------------rn" );
log_printf( &logger, " Clockwise rn" );
dcmotor3_clockwise( &dcmotor3 );
Delay_1sec();
for ( duty_cycle = 500; duty_cycle < dcmotor3.pwm_period; duty_cycle += 700 )
{
dcmotor3_set_duty_cycle ( &dcmotor3, duty_cycle );
log_printf( &logger, " >" );
Delay_1sec( );
}
log_printf( &logger, "rn" );
log_printf( &logger, "---------------------rn" );
log_printf( &logger, " Brake the engine rn" );
dcmotor3_short_brake( &dcmotor3 );
Delay_1sec( );
log_printf( &logger, "---------------------rn" );
log_printf( &logger, " Counter Clockwise rn" );
dcmotor3_counter_clockwise( &dcmotor3 );
Delay_1sec();
for ( duty_cycle = dcmotor3.pwm_period; duty_cycle > 500; duty_cycle -= 700 )
{
dcmotor3_set_duty_cycle ( &dcmotor3, duty_cycle );
log_printf( &logger, " <" );
Delay_1sec( );
}
log_printf( &logger, "rn" );
log_printf( &logger, "---------------------rn" );
dcmotor3_stop( &dcmotor3 );
Delay_1sec();
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - Mikroe Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.