# Title: DC Motor 21 Click Board™ ## Description: How Does The DC Motor 21 Click Board™ Work? The DC Motor 21 Click Board™ is based on the A3910, a dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems. The DC Motor 21 Click Board™ is controlled via several GPIO pins of the mikroBUS™ socket and has a wide operating voltage range with an output current capacity of 500mA maximum. The integrated MOSFETs, which configures a half-bridge circuit inside the A3910, provide the possibility to drive dual DC motors but also allow to be used in the full-bridge configuration to drive a single bidirectional DC motor. Thanks to its plane features and benefits, the DC Motor 21 Click Board™ is targeted at the consumer market with end applications to low voltage equipment. Using an integrated MOS switch improves braking action for the motor, compared to implementation with a simple clamp diode. Besides, it also features built-in protection such as crossover current and thermal shutdown protection, alongside "Sleep" Standby mode with zero drain-current. As mentioned in the product description, the DC Motor 21 Click Board™ communicates with MCU using several GPIO pins. To turn ON the internal MOSFETs of the A3910, they need to be switched by the logic level, which is input to the control input pins: HN1, LN1, HN2, and LN2 pins routed to the AN, CS, PWM, and INT pins of the mikroBUS™ socket. Thereby, the Drive/Break/Coast/Sleep motor functions can be selected according to the state of its input control signals. The DC Motor 21 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use communication lines properly. However, the 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. SPECIFICATIONS Type Brushed Applications Can be used for driving DC brushed motors and targeted at the consumer and industrial market with end applications to low voltage equipment On-board modules A3910 - dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems Key Features Low power consumption, full- and half-bridge configuration, low rds, Standby mode with zero drain-current, crossover and thermal shutdown protection, and more Interface GPIO Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on the DC Motor 21 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Motor 1 Control Input HN1 1 AN PWM 16 HN2 Motor 2 Control Input NC 2 RST INT 15 LN2 Motor 2 Control Input Motor 1 Control Input LN1 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power Supply 3.3V 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 JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V DC MOTOR 21 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Maximum Output Current - - 500 mA Operating Temperature Range -40 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Allegro Microsystems, Brushed, Click Board, MikroE, Motor Control ## Price range: 4.9 - 4.9 GBP ## Link: https://thedebugstore.com/products/mikroe-4877-dc-motor-21-click-board-uk ## Compare-at price range: 7.0 - 7.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Allegro MicroSystems Device Support: Development Boards & Tools](https://thedebugstore.com/a/llms/collections/allegro-microsystems-device-support-uk) - [Motor Control Click Boards™](https://thedebugstore.com/a/llms/collections/motor-control-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [Brushed Motor Control Click Boards™](https://thedebugstore.com/a/llms/collections/brushed-motor-control-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4877, Available: yes, Inventory: 2 ## Metafields - title_tag: MikroE DC Motor 21 Click Board™ (MIKROE-4877) - description_tag: The DC Motor 21 Click Board™ is a compact add-on board that contains a brushed DC motor driver. This board features the A3910, a DC motor driver designed for low voltage power applications from Allegro Microsystems. Available from Debug Store UK. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- full_description:

How Does The DC Motor 21 Click Board™ Work?

The DC Motor 21 Click Board™ is based on the A3910, a dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems. The DC Motor 21 Click Board™ is controlled via several GPIO pins of the mikroBUS™ socket and has a wide operating voltage range with an output current capacity of 500mA maximum. The integrated MOSFETs, which configures a half-bridge circuit inside the A3910, provide the possibility to drive dual DC motors but also allow to be used in the full-bridge configuration to drive a single bidirectional DC motor. Thanks to its plane features and benefits, the DC Motor 21 Click Board™ is targeted at the consumer market with end applications to low voltage equipment.

DC motor 21 Click inner

Using an integrated MOS switch improves braking action for the motor, compared to implementation with a simple clamp diode. Besides, it also features built-in protection such as crossover current and thermal shutdown protection, alongside "Sleep" Standby mode with zero drain-current.

As mentioned in the product description, the DC Motor 21 Click Board™ communicates with MCU using several GPIO pins. To turn ON the internal MOSFETs of the A3910, they need to be switched by the logic level, which is input to the control input pins: HN1, LN1, HN2, and LN2 pins routed to the AN, CS, PWM, and INT pins of the mikroBUS™ socket. Thereby, the Drive/Break/Coast/Sleep motor functions can be selected according to the state of its input control signals.

The DC Motor 21 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use communication lines properly. However, the 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.

SPECIFICATIONS

Type Brushed
Applications Can be used for driving DC brushed motors and targeted at the consumer and industrial market with end applications to low voltage equipment
On-board modules A3910 - dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems
Key Features Low power consumption, full- and half-bridge configuration, low rds, Standby mode with zero drain-current, crossover and thermal shutdown protection, and more
Interface GPIO
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout on the DC Motor 21 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
Motor 1 Control Input HN1 1 AN PWM 16 HN2 Motor 2 Control Input
NC 2 RST INT 15 LN2 Motor 2 Control Input
Motor 1 Control Input LN1 3 CS RX 14 NC
NC 4 SCK TX 13 NC
NC 5 MISO SCL 12 NC
NC 6 MOSI SDA 11 NC
Power Supply 3.3V 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
JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V

DC MOTOR 21 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage 3.3 - 5 V
Maximum Output Current - - 500 mA
Operating Temperature Range -40 +25 +85 °C

 

- examples:

We provide a library for the DC Motor 21 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

The 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 the DC Motor 21 Click Board™ driver.

Key functions

Example Description

This example demonstrates the use of the DC Motor 21 Click Board™.


 void application_task ( void ) 
 { 
     dcmotor21_set_out_1 ( &dcmotor21, DCMOTOR21_OUT_LOW ); 
     dcmotor21_set_out_2 ( &dcmotor21, DCMOTOR21_OUT_HIGH ); 
     log_printf( &logger, " rn Driving the motor...rn" ); 
     Delay_ms( 2000 ); 
     dcmotor21_set_out_1 ( &dcmotor21, DCMOTOR21_OUT_HIGH ); 
     dcmotor21_set_out_2 ( &dcmotor21, DCMOTOR21_OUT_LOW ); 
     log_printf( &logger, " Switch direction.rn" ); 
     Delay_ms( 2000 ); 
     dcmotor21_set_out_1 ( &dcmotor21, DCMOTOR21_OUT_HIGH_Z ); 
     dcmotor21_set_out_2 ( &dcmotor21, DCMOTOR21_OUT_HIGH_Z ); 
     log_printf( &logger, " The motor is disconnected.rn" ); 
     Delay_ms( 2000 ); 
 }

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 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. UART terminal is available in all MikroElektronika compilers.

MIKROSDK

The DC Motor 21 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.

- manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - attachments: [{"download_file":[{"download_file":"DC Motor 21 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Allegro Microsystems A3910 DC Motor Driver Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4877 - google_product_category: Electronics - custom_label_0: Click Board - mpn: MIKROE-4877 - device_vendor: Allegro MicroSystems - device_type: A3910EEETR-T - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: DC Motor 21 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545248957","gid://shopify/Collection/279405134013"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The DC Motor 21 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the A3910, a dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems. The "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true},{"type":"text","value":" is controlled via several GPIO pins of the mikroBUS™ socket and has a wide operating voltage range with an output current capacity of 500mA maximum. The integrated MOSFETs, which configures a half-bridge circuit inside the A3910, provide the possibility to drive dual DC motors but also allow to be used in the full-bridge configuration to drive a single bidirectional DC motor. Thanks to its plane features and benefits, the "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true},{"type":"text","value":" is targeted at the consumer market with end applications to low voltage equipment."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"Using an integrated MOS switch improves braking action for the motor, compared to implementation with a simple clamp diode. Besides, it also features built-in protection such as crossover current and thermal shutdown protection, alongside \"Sleep\" Standby mode with zero drain-current."}]},{"type":"paragraph","children":[{"type":"text","value":"As mentioned in the product description, the "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true},{"type":"text","value":" communicates with MCU using several GPIO pins. To turn ON the internal MOSFETs of the A3910, they need to be switched by the logic level, which is input to the control input pins: HN1, LN1, HN2, and LN2 pins routed to the AN, CS, PWM, and INT pins of the mikroBUS™ socket. Thereby, the Drive/Break/Coast/Sleep motor functions can be selected according to the state of its input control signals."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true},{"type":"text","value":" can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use communication lines properly. However, the 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":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nBrushed\nApplications\nCan be used for driving DC brushed motors and targeted at the consumer and industrial market with end applications to low voltage equipment\nOn-board modules\nA3910 - dual half-bridge motor driver designed for low voltage power applications from Allegro Microsystems\nKey Features\nLow power consumption, full- and half-bridge configuration, low rds, Standby mode with zero drain-current, crossover and thermal shutdown protection, and more\nInterface\nGPIO\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on the "},{"type":"text","value":"DC Motor 21 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nMotor 1 Control Input\nHN1\n1\nAN\nPWM\n16\nHN2\nMotor 2 Control Input\nNC\n2\nRST\nINT\n15\nLN2\nMotor 2 Control Input\nMotor 1 Control Input\nLN1\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\n Description\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"DC MOTOR 21 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nMaximum Output Current\n-\n-\n500\nmA\nOperating Temperature Range\n-40\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The DC Motor 21 Click Board™ is a compact add-on board that contains a brushed DC motor driver. This board features the A3910, a DC motor driver designed for low voltage power applications from Allegro Microsystems. It is controlled via several GPIO pins and has a wide operating voltage range with an output current capacity of 500mA. In addition to the possibility to be used in the full-bridge configuration to drive a single bidirectional DC motor, it can also be used as a dual half-bridge to drive dual DC motors. Using an integrated MOS switch improves braking action for the motor, compared to implementation with a simple clamp diode. Besides, it also features built-in protection such as crossover current protection and thermal shutdown.

The DC Motor 21 Click Board™ is suitable for driving DC brushed motors and targeted at the consumer and industrial market with end applications to low voltage equipment.