DC Motor 14 Click Board
DC Motor 14 Click Board
Overview
The DC Motor 14 Click Board™ is a PWM chopper type brushed DC motor driver, labelled as TB67H450FNG. This IC includes one channel of motor output block, using a wide range of supply voltages while delivering reasonably high current to the connected DC motors. Low ON-resistance MOSFETs and a PWM control help the TB67H450FNG exhibit lower heat generation thus efficient motor drive. Furthermore, the TB67H450FNG has two inputs, IN1 and IN2, which allow for the selection of the four operation modes; forward (clockwise), reverse (counter-clockwise), short break, and stop modes.
The DC Motor 14 Click Board™ is supported by the mikroSDK compliant library, which includes functions that simplify software development. The Click Board™ comes as a fully tested product, ready to be used on a system equipped with mikroBUS™.
How Does The DC Motor 14 Click Board™ Work?
The main component of DC Motor 14 Click Board™ is the TB67H450FNG, a PWM chopper-type brushed DC motor driver, produced by Toshiba. This IC uses a proprietary BiCD manufacturing process, allowing this IC to be powered by a wide range of supply voltages, from 4.5 up to 44V. Due to a very low ON resistance of the MOSFETs, it can theoretically deliver up to 3.5A of current to the connected load. However, many external parameters affect both the maximum voltage and the current specifications, especially when the connected load is of a complex nature, such as the DC motor. In using TB67H450FNG, the voltage should be applied to the pins of VM and VREF. The absolute maximum rating of VM supply voltage is 50V (no active). The usage range is 4.5 to 44V. The absolute maximum rating of VREF supply voltage is 5V. The usage range is 0 to 4V.
There are no special procedures of inputting a power supply and shutdown because the TB67H450FNG incorporates the under voltage lockout (UVLO). However, under the unstable state of inputting the power supply (VM) and shutdown (transient area), setting the motor operation to OFF state is recommended. After the power supply is in the stable state, the motor should be operated by switching the input signal.The absolute maximum rating of motor output current is 3.5A. Its operating range is 3A or less. The maximum current of the actual usage is limited depending on the usage conditions (the ambient temperature, the wiring pattern of the board, the radiation path, and the exciting design). Configure the most appropriate current value after calculating the heat and evaluating the board under the operating environment.
When the logic signal is input under the condition that the voltage of VM is not supplied, the electromotive force by an input signal is not generated. However, configure the input signal low level before the power supply is applied by referring to the detailed description in datasheet ("1.2 Power Supply Sequence").
A speed of the motor can be controlled by Inputting PWM signal to pins IN1 and IN2, and operating them with PWM control.When both IN1 and IN2 pins are set to L for 1 ms (typ.) or more, the operation mode enters into the standby mode. When IN1 or IN2 is set to H, the mode returns from the standby mode, and enters to the operation mode.
When the constant current function is disabled, RS pin should be connected to GND, and the voltage of 1 to 5V should be applied to VREF pin. Maximum 30 μs are required for the return time from the standby release. The OUT1 and OUT2 outputs operate after 30 μs (max) from the standby release.
In this product, a constant current threshold is set by the current detection resistor between RS and GND, and VREF input voltage. When the constant current function is disabled, RS pin should be connected to GND, and the voltage of 1 to 5V should be applied to VREF pin. When the output current reaches the threshold due to forward rotation and reverse rotation, the constant current control is performed in Mixed Decay mode. In case of the constant current control, the OFF time (toff) is fixed to 25 μs (typ.) to determine the pulse width of the current (current pulsating flow). The percentage of Mixed Decay Mode is as follows; Fast Mode: 50% to Slow Mode: 50%. If the output current is zero-detected in Fast Mode, the outputs are in High impedance.
When the junction temperature of the IC reaches the specified value, the internal detection circuit (TSD) operates to turn off the output block. It has a dead band time to prevent the IC from malfunction, which is caused by switching and so on. Since the temperature has a hysteresis range, when the junction temperature falls to the return temperature, the operation returns automatically to the normal operation.
The TSD is triggered when the device is over heated irregularly. Make sure not to use the TSD function aggressively. When the IC detects an over current, the internal circuit turns off the output block. It has a dead band time to avoid ISD misdetection, which may be triggered by external noise. The under voltage detection circuit operates when the applied voltage of VM pin falls 3.8V (typ.) or less. All output power transistors are turned off. The UVLO operation is released when the voltage applied to VM pin rises 4.0V (typ.) or more.
Although the TB67H450FNG IC requires an external PSU, The DC Motor 14 Click Board™ can operate with 5V MCUs only. The current detection resistor (R2) installed on click is 0.51 ohm and set for range from 0 to 1.5A. If it's needed range from 1.5 to 3A, that can be achieved by replacing it with 0.22 ohm resistor. It is ready to be used as soon as it is inserted into a mikroBUS™ socket of the development system.
SPECIFICATIONS
Type | Brushed |
Applications | Usable for various RC cars and boats, small to medium-sized robots, drones, and similar applications. as well as for driving motors in air or water pumps, air conditioners, ventilation systems, handheld tools, etc. |
On-board modules | DThe DC Motor 14 Click Board™ is a PWM chopper type brushed DC motor driver, labeled as TB67H450FNG. This IC includes one channel of motor output block, using a wide range of supply voltages, while delivering reasonably high current to the connected DC motors. |
Key Features | Complete DC brushed motor driving solution with reasonably high current capability, a wide range of power supply voltages supported |
Interface | GPIO |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 5V |
PINOUT DIAGRAM
This table shows how the pinout of the DC Motor 14 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Ctrl IN1 | IN1 | 1 | AN | PWM | 16 | NC | |
Ctrl IN2 | IN2 | 2 | RST | INT | 15 | NC | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
NC | 7 | 3.3V | 5V | 10 | 5V | power Supply | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
P1 | Vref | - | The absolute maximum rating of VREF supply voltage is 5V. The usage range is 0 to 4V. |
SUPPLY | PWR | - | The absolute maximum rating of VM supply voltage is 50V (no active). The usage range is 4.5 to 44V. |
DC MOTOR 14 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 4.5 | 5 | 5.5 | V |
VM Power Supply | 4.5 | - | 45.0 | V |
Maximum Output Current | 0 | - | 2 | A |
Operating Temperature Range | -40 | - | 85 | °C |
Logic input (VIN(L)) | 0 | - | 0.8 | V |
Logic input (VIN(H)) | 2.0 | 5 | 5.5 | V |
VREF | 0 | - | 4.0 | V |
Power dissipation | - | 2.85 | - | W |
Software Support
We provide a library for the DC Motor 14 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control the DC Motor 14 Click Board™. The DC Motor 14 Click Board™ communicates with the target board through the AN and RST lines on MikroBUS. This library offers functions for setting or clearing of both pins used for communication, also user can use functions that drive motor forward and in reverse or apply brake and stop functions.
Key Functions
void dcmotor14_forward ( );
- Function is used to drive the motor forward.void dcmotor14_reverse ( );
- Function is used to drive the motor reverse.void dcmotor14_brake ( );
- Function is used to brake the motor.
Example Description
The application is composed of three sections :
- System Initialization - Initializes LOG structure and sets AN and RST pins as output.
- Application Initialization - Initializes GPIO driver and starts log.
- Application Task - This example demonstrates the use of DC Motor 14 click by driving it forward motion for 5 seconds, than applying brakes it for 2 second, and then driving it in reverse for 5 seconds, after that, it stops for 2 second.
void application_task ( ) { mikrobus_logWrite( "The motor turns forward!", _LOG_LINE ); dcmotor14_forward( ); Delay_ms( 5000 ); mikrobus_logWrite( "The motor brakes!", _LOG_LINE ); dcmotor14_brake( ); Delay_ms( 2000 ); mikrobus_logWrite( "The motor turns in reverse", _LOG_LINE ); dcmotor14_reverse( ); Delay_ms( 5000 ); mikrobus_logWrite( "The motor stops", _LOG_LINE ); dcmotor14_stop( ); Delay_ms( 2000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The DC Motor 14 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the DC Motor 14 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control the DC Motor 14 Click Board™. The DC Motor 14 Click Board™ communicates with the target board through the AN and RST lines on MikroBUS. This library offers functions for setting or clearing of both pins used for communication, also user can use functions that drive motor forward and in reverse or apply brake and stop functions.
Key Functions
void dcmotor14_forward ( );
- Function is used to drive the motor forward.void dcmotor14_reverse ( );
- Function is used to drive the motor reverse.void dcmotor14_brake ( );
- Function is used to brake the motor.
Example Description
The application is composed of three sections :
- System Initialization - Initializes LOG structure and sets AN and RST pins as output.
- Application Initialization - Initializes GPIO driver and starts log.
- Application Task - This example demonstrates the use of DC Motor 14 click by driving it forward motion for 5 seconds, than applying brakes it for 2 second, and then driving it in reverse for 5 seconds, after that, it stops for 2 second.
void application_task ( ) { mikrobus_logWrite( "The motor turns forward!", _LOG_LINE ); dcmotor14_forward( ); Delay_ms( 5000 ); mikrobus_logWrite( "The motor brakes!", _LOG_LINE ); dcmotor14_brake( ); Delay_ms( 2000 ); mikrobus_logWrite( "The motor turns in reverse", _LOG_LINE ); dcmotor14_reverse( ); Delay_ms( 5000 ); mikrobus_logWrite( "The motor stops", _LOG_LINE ); dcmotor14_stop( ); Delay_ms( 2000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The DC Motor 14 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.