OFF
MIKROE-3416
20 g
Status:
DC Motor 9 Click is a brushed DC motor driver with the current limiting and current sensing. It is based on the DRV8871, an integrated H-Bridge driver IC, optimized for motor driving applications. It can be operated by two logic signals, allowing to drive the connected motor in two different ways: it can use fixed logic levels for the direction control, or it can be controlled by a PWM signal, offering an additional speed control option. The DRV8871 also contains a set of protection features, offering a very high level of reliability. Besides driving capabilities, DC Motor 9 click can also sense current consumption at its output.
DC Motor 9 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:
This Click board™ is optimized for driving brushed DC motors. it integrates an efficient H-Bridge with very low ON resistance of approximately 500mΩ through each branch. An integrated sleep mode is activated when both logic inputs are at a LOW logic level for longer than 1ms, reducing the overall power consumption. A dedicated, high-precision current sensing amplifier IC is used to sense the current through motor coils, allowing the host MCU to perform current monitoring at all times. DC Motor 9 click is perfectly suited for rapid development of various DC motor driving applications, including home appliances, printers, industrial equipment, mechatronic applications, etc.
DC Motor 9 Click is designed around two different ICs: the first IC is the DR8871, a brushed DC motor driver, with internal current sensing, by Texas Instruments. This IC is actually an integrated H-Bridge driver with the current regulation circuit that allows limiting the current through the connected load, with just a single resistor. Unlike many other solutions, no external sensing resistors are required. A very low ON resistance through the H-Bridge reduces the overall power dissipation, while an advanced control circuit injects dead-time intervals, whenever the outputs change their state, preventing current shoot-throughs. The DRV8871 integrates a set of protection features, including undervoltage, overcurrent, and overtemperature protection. Each of these events will cause the H-Bridge MOSFETs to be disabled. After a fault condition has been removed, the device will continue its operation.
There are two methods that can be used to control the motor: the first method consists of applying a constant logic level to IN1 and IN2 inputs. While one of the inputs is held at a HIGH logic level, the other should be held at a LOW logic level. The direction of the motor rotation depends on which input is at the HIGH logic level. The second method consists of holding one pin to the LOW level while applying a PWM signal to the other. By changing the PWM frequency, it is possible to control the speed of the motor, while the direction of the motor rotation is determined by the pin the PWM signal is applied to.
Both pins to HIGH will set all the MOSFETs in HIGH-Z mode (coast) allowing the backEMF generated current to return to the source through the MOSFET body diodes. If both IN1 and IN2 pins are set to the LOW logic level, the connected motor is in a braking state. When the PWM signal is applied, the motor will be switched between the braking and rotating mode, causing it to slow down, depending on the pulse width of the applied PWM signal. The frequency of the PWM signal can range between 0 and 200 kHz, with the limitation that the PWM pulses must stay above 800ns for proper detection.
Current through the connected load is internally limited to maximum 3.6A. Higher current will cause the overcurrent protection to be activated. Peak current through the motor is limited to about 3.2A, ensuring reliable spin-up while preventing the overcurrent protection to be activated, even if a large load torque is applied. Although there is a very low resistance across the H-Bridge, the current should be monitored to prevent excessive heating in situations where the load is reasonably high.
Therefore, an additional IC is added, allowing the current to be monitored. The Click board™ uses the LT1999, a bidirectional current sense amplifier from Analog Devices (Linear Technology division). It is used to amplify voltage drop across the shunt resistor, so it can be accurately sampled. The output of the LT1999 IC is routed to the AN pin of the mikroBUS™, allowing the host MCU to sense the current by using its integrated ADC module.
Type
Brushed
Applications
DC Motor 9 click is perfectly suited for rapid development of various DC motor driving applications, including home appliances, printers, industrial equipment, mechatronic applications, etc.
On-board modules
DR8871, a brushed DC motor driver, with internal current sensing, by Texas Instruments; LT1999, a bidirectional current sense amplifier from Analog Devices.
Key Features
The main IC features a set of protection features, allowing for reliable performance. It allows the motor current to be monitored at all times. It also features high efficiency, it can be operated within a wide voltage range.
Interface
Analog,GPIO
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
5V
This table shows how the pinout on DC Motor 9 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Input voltage | 6.5 | 45 | V | |
Current through the load | 0 | 3.2* | A |
Note: Large current through the connected load can result in significant power dissipation. Maximum current rating should be considered in respect with the power dissipation and heating.
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
TB1 | POWER | - | External PSU connector |
TB2 | MOTOR | - | DC Motor connector |
We provide a library for the DC Motor 9 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 9 Click driver.
Key functions
This function read ADC data.
This function starts PWM module.
This function sets the PWM duty cycle.
Example Description
DC Motor 9 Click is a brushed DC motor driver with the current limiting and current sensing. It can be operated by two logic signals, allowing to drive the connected motor in two different ways: it can use fixed logic levels for the direction control, or it can be controlled by a PWM signal, offering an additional speed control option.
void application_task ( void )
{
clockwise( );
pull_brake( );
counter_clockwise( );
high_z( );
}
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. 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.
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.