# Title: DC Motor 16 Click Board™ ## Description: How Does The DC Motor 16 Click Board™ Work? The DC Motor 16 Click Board™ is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated. The driver output stage is designed to minimize audible switching noise and electromagnetic interference (EMI) ensuring a low noise solution. The device has four motor operation modes: Standby Forward Reverse Brake Mode These four modes are controlled by the FWD and REV pins routed to the RST and PWM pins of the mikroBUS™ used for controlling the motor rotation directions. In the Standby mode, all the internal circuits are turned off to minimize power consumption, while the Brake mode allows the motor to stop quickly. The power consumption in the Standby mode is less than in the Brake mode. To prevent the ZXBM5210 from entering the Standby mode during mode changes, the signal change should be completed within 125μs. The ZXBM5210 also possesses three modes of motor speed control: VREF speed control mode, PWM speed control mode, and motor speed control by adjusting the supply voltage. Motor speed can be controlled by adjusting the duty cycle of the PWM signal while keeping the supply voltage pin at the nominal motor voltage or can be controlled by varying the supply voltage while the FWD and REV pins are set to either a logic high or low depending on needed motor direction. In PWM Mode the input voltage on the Vref pin of the ZXBM5210 must be greater than or equal to the supply voltage value. The motor speed of the ZXBM5210 can be controlled by adjusting the DC voltage on the Vref pin. For this purpose, the DC Motor 16 Click Board™ employs the MCP4161 digital potentiometer from Microchip, which allows setting the corresponding voltage value via the SPI serial interface. The potentiometer terminal B is fixed to the Zero-Scale wiper value (which corresponds to a wiper value of 0x00 for both 7-bit and 8-bit devices), while the potentiometer terminal A is fixed connected to the Full-Scale wiper value (which corresponds to a wiper value of 0x100 for 8-bit devices or 0x80 for 7-bit devices). For this reason, it was chosen that when the user selects 0x100 as the desired value, the value on the Vref pin takes the value of supply voltage from the mikroBUS™ (VCC), while in the case of selecting 0x00 on the Vref pin value is equal to the 0.2*VCC. In this mode, FWD and REV pins are only used for direction control, and therefore high-frequency PWM control signal should not be applied to those pins. The DC Motor 16 Click Board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library that contains 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 a reversible DC motor and actuator drive, remote control motorized toy applications, home appliances, handheld power tools, and many more. On-board modules The DC Motor 16 Click Board™ is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated. Key Features Low power consumption, wide supply voltage range, under/over voltage protection, over current limit, thermal shutdown capability, and many more. Interface GPIO,SPI Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout onf the DC Motor 16 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 REV Reverse Direction PWM Control Signal Forward Direction FWD 2 RST INT 15 NC SPI Chip Select CS 3 CS RX 14 NC SPI Clock SCK 4 SCK TX 13 NC NC 5 MISO SCL 12 NC SPI Data IN SDI 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 Power Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V DC MOTOR 16 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit External Supply Voltage 3 - 18 V FWD and REV Pin Voltage -0.3 - 7 V Maximum Output Current - 700 1200 mA PWM Speed Control Signal Frequency 8 25 100 kHz Operating Temperature Range -40 - +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Brushed, Click Board, Diodes Incorporated, MikroE, Motor Control ## Price range: 7.7 - 7.7 GBP ## Link: https://thedebugstore.com/products/mikroe-4333-dc-motor-16-click-board-uk ## Compare-at price range: 11.0 - 11.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) - [Diodes Incorporated Device Support: Debug Store's Development Boards and Tools](https://thedebugstore.com/a/llms/collections/diodes-incorporated-device-support) - [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-4333, Available: yes, Inventory: 1 ## Metafields - full_description:

How Does The DC Motor 16 Click Board™ Work?

The DC Motor 16 Click Board™ is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated. The driver output stage is designed to minimize audible switching noise and electromagnetic interference (EMI) ensuring a low noise solution. The device has four motor operation modes: 

These four modes are controlled by the FWD and REV pins routed to the RST and PWM pins of the mikroBUS™ used for controlling the motor rotation directions. In the Standby mode, all the internal circuits are turned off to minimize power consumption, while the Brake mode allows the motor to stop quickly. The power consumption in the Standby mode is less than in the Brake mode. To prevent the ZXBM5210 from entering the Standby mode during mode changes, the signal change should be completed within 125μs.

dc motor 16 click inner

The ZXBM5210 also possesses three modes of motor speed control: VREF speed control mode, PWM speed control mode, and motor speed control by adjusting the supply voltage. Motor speed can be controlled by adjusting the duty cycle of the PWM signal while keeping the supply voltage pin at the nominal motor voltage or can be controlled by varying the supply voltage while the FWD and REV pins are set to either a logic high or low depending on needed motor direction. In PWM Mode the input voltage on the Vref pin of the ZXBM5210 must be greater than or equal to the supply voltage value.

The motor speed of the ZXBM5210 can be controlled by adjusting the DC voltage on the Vref pin. For this purpose, the DC Motor 16 Click Board™ employs the MCP4161 digital potentiometer from Microchip, which allows setting the corresponding voltage value via the SPI serial interface. The potentiometer terminal B is fixed to the Zero-Scale wiper value (which corresponds to a wiper value of 0x00 for both 7-bit and 8-bit devices), while the potentiometer terminal A is fixed connected to the Full-Scale wiper value (which corresponds to a wiper value of 0x100 for 8-bit devices or 0x80 for 7-bit devices). For this reason, it was chosen that when the user selects 0x100 as the desired value, the value on the Vref pin takes the value of supply voltage from the mikroBUS™ (VCC), while in the case of selecting 0x00 on the Vref pin value is equal to the 0.2*VCC. In this mode, FWD and REV pins are only used for direction control, and therefore high-frequency PWM control signal should not be applied to those pins.

The DC Motor 16 Click Board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library that contains 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 a reversible DC motor and actuator drive, remote control motorized toy applications, home appliances, handheld power tools, and many more.
On-board modules The DC Motor 16 Click Board™ is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated.
Key Features Low power consumption, wide supply voltage range, under/over voltage protection, over current limit, thermal shutdown capability, and many more.
Interface GPIO,SPI
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout onf the DC Motor 16 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
NC 1 AN PWM 16 REV Reverse Direction
PWM Control Signal
Forward Direction FWD 2 RST INT 15 NC
SPI Chip Select CS 3 CS RX 14 NC
SPI Clock SCK 4 SCK TX 13 NC
NC 5 MISO SCL 12 NC
SPI Data IN SDI 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 Power Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V

DC MOTOR 16 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
External Supply Voltage 3 - 18 V
FWD and REV Pin Voltage -0.3 - 7 V
Maximum Output Current - 700 1200 mA
PWM Speed Control Signal Frequency 8 25 100 kHz
Operating Temperature Range -40 - +85 °C

 

- description_tag: The DC Motor 16 Click Board™ is a compact add-on board that contains a high-performance single phase reversible DC motor drive with speed control. This board features the ZXBM5210, a fully-featured DC motor drive solution from Diodes Incorporated. Available from Debug Store UK. - title_tag: MikroE DC Motor 16 Click Board™ (MIKROE-4333) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: DC Motor 16 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 7.92 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 8.9496 - amazon_fr_currency: EUR - amazon_fr_price: 8.9496 - amazon_es_currency: EUR - amazon_es_price: 8.9496 - amazon_nl_currency: EUR - amazon_nl_price: 8.9496 - amazon_it_currency: EUR - amazon_it_price: 8.9496 - amazon_se_curency: SEK - amazon_se_price: 90.288 - amazon_product_id: 8606018718498 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The DC Motor 16 Click Board™ is a compact add-on board that contains a high-performance single phase reversible DC motor drive with speed control. This board features the ZXBM5210, a fully-featured DC motor drive solution with an average current capability of up to 700mA from Diodes Incorporated. The ZXBM5210 has several modes of operations selected by two GPIO pins, has a wide supply voltage range from 3V to 18V, and low power consumption. It possesses three speed control modes, and provides under/over voltage protection, over current limit, and thermal shutdown capability. This Click board™ is suitable for a reversible DC motor and actuator drive, remote control motorized toy applications, home appliances, handheld power tools, and many more.DC Motor 16 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. - amazon_main_image: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-front.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-back.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-fusion.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-shuttle.jpg - amazon_other_image_4: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-clicker.jpg - amazon_other_image_5: https://www.thedebugstore.com/images/product/lg-dc-motor-16-click-breadboard.jpg - amazon_other_image_6: https://www.thedebugstore.com/images/product/lg-dc-motor-14-click-shuttle.jpg - amazon_browse_node: 428655031 - related_products: MIKROE-3649 - mpn: MIKROE-4333 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

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

We provide a library for the DC Motor 16 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 16 Click Board™. There are functions for controlling motor speed, direction, starting and stoping.

Key Functions

Example Description

The application is composed of three sections :

void application_task ( )
{
 uint16_t cnt;
 mikrobus_logWrite( ">> Motor start with direction [FORWARD] <<", _LOG_LINE );
 dcmotor16_set_direction( DCMOTOR16_DIR_FORWARD );
 for( cnt = 0; cnt <= 0x0100; cnt+= 25 )
 {
 dcmotor16_ctrl_vref( cnt );
 Delay_ms( 250 );
 }
 Delay_ms( 2000 );
 mikrobus_logWrite( ">> Motor stop ", _LOG_LINE );
 dcmotor16_stop();
 Delay_ms( 1000 );
 mikrobus_logWrite( ">> Motor start with direction [BACKWARD] <<", _LOG_LINE );
 dcmotor16_set_direction( DCMOTOR16_DIR_BACKWARD );
 for( cnt = 0; cnt <= 0x0100; cnt+= 25 )
 {
 dcmotor16_ctrl_vref( cnt );
 Delay_ms( 250 );
 }
 Delay_ms( 2000 );
 mikrobus_logWrite( ">> Motor stop ", _LOG_LINE );
 dcmotor16_stop();
 Delay_ms( 1000 );
}

The full application code, and ready to use projects can be found on our LibStock page.

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. 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 16 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.

- attachments: [{"download_file":[{"download_file":"DC Motor 16 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Diodes Incorporated ZXBM5210 DC Motor Controller Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Microchip Digital Potentiometer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4333 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Diodes Incorporated, Microchip Technology - device_type: ZXBM5210-SP-13, MCP4161-103E/SN - warranty: 12 months - brand: MikroE - key_feature_1: DC Motor Driver With Reverse and Brake Modes - manufacturer: Mikroelektronika d.o.o. - target_keyword: DC Motor 16 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 16 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" DC Motor 16 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated. The driver output stage is designed to minimize audible switching noise and electromagnetic interference (EMI) ensuring a low noise solution. The device has four motor operation modes: "}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"Standby","bold":true}]},{"type":"list-item","children":[{"type":"text","value":"Forward","bold":true}]},{"type":"list-item","children":[{"type":"text","value":"Reverse","bold":true}]},{"type":"list-item","children":[{"type":"text","value":"Brake Mode","bold":true}]}]},{"type":"paragraph","children":[{"type":"text","value":"These four modes are controlled by the FWD and REV pins routed to the RST and PWM pins of the mikroBUS™ used for controlling the motor rotation directions. In the Standby mode, all the internal circuits are turned off to minimize power consumption, while the Brake mode allows the motor to stop quickly. The power consumption in the Standby mode is less than in the Brake mode. To prevent the ZXBM5210 from entering the Standby mode during mode changes, the signal change should be completed within 125μs."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The ZXBM5210 also possesses three modes of motor speed control: VREF speed control mode, PWM speed control mode, and motor speed control by adjusting the supply voltage. Motor speed can be controlled by adjusting the duty cycle of the PWM signal while keeping the supply voltage pin at the nominal motor voltage or can be controlled by varying the supply voltage while the FWD and REV pins are set to either a logic high or low depending on needed motor direction. In PWM Mode the input voltage on the Vref pin of the ZXBM5210 must be greater than or equal to the supply voltage value."}]},{"type":"paragraph","children":[{"type":"text","value":"The motor speed of the ZXBM5210 can be controlled by adjusting the DC voltage on the Vref pin. For this purpose, the "},{"type":"text","value":"DC Motor 16 Click Board™","bold":true},{"type":"text","value":" employs the MCP4161 digital potentiometer from Microchip, which allows setting the corresponding voltage value via the SPI serial interface. The potentiometer terminal B is fixed to the Zero-Scale wiper value (which corresponds to a wiper value of 0x00 for both 7-bit and 8-bit devices), while the potentiometer terminal A is fixed connected to the Full-Scale wiper value (which corresponds to a wiper value of 0x100 for 8-bit devices or 0x80 for 7-bit devices). For this reason, it was chosen that when the user selects 0x100 as the desired value, the value on the Vref pin takes the value of supply voltage from the mikroBUS™ (VCC), while in the case of selecting 0x00 on the Vref pin value is equal to the 0.2*VCC. In this mode, FWD and REV pins are only used for direction control, and therefore high-frequency PWM control signal should not be applied to those pins."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DC Motor 16 Click Board™","bold":true},{"type":"text","value":" is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library that contains 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 a reversible DC motor and actuator drive, remote control motorized toy applications, home appliances, handheld power tools, and many more.\nOn-board modules\nThe DC Motor 16 Click Board™ is based on the ZXBM5210, a single chip solution for driving a single-coil reversible direct current (DC) fans and motors from Diodes Incorporated.\nKey Features\nLow power consumption, wide supply voltage range, under/over voltage protection, over current limit, thermal shutdown capability, and many more.\nInterface\nGPIO,SPI\nCompatibility\nmikroBUS\nClick board size\nM (42.9 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 onf the "},{"type":"text","value":"DC Motor 16 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\nNC\n1\nAN\nPWM\n16\nREV\nReverse Direction\n PWM Control Signal\nForward Direction\nFWD\n2\nRST\nINT\n15\nNC\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\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\nPower Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"DC MOTOR 16 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nExternal Supply Voltage\n3\n-\n18\nV\nFWD and REV Pin Voltage\n-0.3\n-\n7\nV\nMaximum Output Current\n-\n700\n1200\nmA\nPWM Speed Control Signal Frequency\n8\n25\n100\nkHz\nOperating Temperature Range\n-40\n-\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The DC Motor 16 Click Board™ is a compact add-on board that contains a high-performance single phase reversible DC motor drive with speed control. This board features the ZXBM5210, a fully-featured DC motor drive solution with an average current capability of up to 700mA from Diodes Incorporated. The ZXBM5210 has several modes of operations selected by two GPIO pins, has a wide supply voltage range from 3V to 18V, and has low power consumption. It possesses three speed-control modes, and provides under/over voltage protection, over current limit, and thermal shutdown capability. This Click Board™ is suitable for a reversible DC motor and actuator drive, remote control motorized toy applications, home appliances, handheld power tools, and many more.

The DC Motor 16 Click Board™ 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.