MikroElektronika
H-Bridge 4 Click
H-Bridge 4 Click
SKU:MIKROE-3787
Couldn't load pickup availability
Share
H-Bridge 4 Click is a Click board™ that contains the AP1010AEN, which is a two channel H-Bridge motor driver compatible with a motor operating voltage up to 18V and can drive two DC motors or one stepper motor. The protection circuit has under voltage lockout circuit, thermal shutdown circuit, and overcurrent protection circuit, and overcurrent protection circuit can be disabled with the DIS OCP terminal.
H-Bridge 4 click supports multiple connection options and can be used in different application setups which might include DC or Stepper motors.
HOW DOES IT WORK?
The main component of the H-Bridge 4 click is, as mentioned, the AP1010AEN from AsahiKASEI (AKM), which is a two channel H-Bridge motor driver compatible with motor operating voltage up to. This IC is an efficient integrated H-bridge driver, with very low RDS ON output per switch. H-bridge in general, allows the current to flow in one or another direction. The output stages consist of four n-channel mosfets in H-bridge configuration. The outputs are protected against short circuits and over temperature. The bridge is controlled using the inputs IN1, IN2, IN3, and IN4, which are witer to the AN, RST, INT, and PWM pins on the mikroBUS™, respectively.
Its motor operating voltage range is between 6.0V~18V and control power supply is unnecessary. When it comes to its maximum output current (DC) its 0.7A @Ta=25°C and it has H-Bridge On-Resistance, which equals RON(TOP+BOT) = 1.1Ω @Ta=25°C. The Click board™ has an onboard motor voltage supply selection switch, although it is recommended to use the external power supply. The AP1010AEN also has the possibility of a parallel connection, under voltage lockout circuit and the thermal shutdown circuit. The Overcurrent protection circuit is disabled when DIS OCP terminal = “H” and the operating Temperature Range is between -30°C~85°C.
When the internal temperature of the IC reaches the specified temperature (TTSD=155°C), and the H-Bridge driver outputs Hi-Z. When the internal temperature after the detection is lowered about 30°C (TTSDHYS), the driver resumes operation. Restart Temperature = TTSD - TTSDHYS
When the current of 2.6 A or more continues to flow to the H - Bridge driver for 10 μs, all H - Bridge driver outputs are set to Hi - Z, and automatically return after 200 ms. Over current protection circuit can be used by setting the DIS OCP terminal to L level. When not using the overcurrent protection circuit, connect the DIS OCP terminal to the VDC terminal.
SPECIFICATIONS
Type | Stepper,Brushed |
Applications | Can be used for a wide range of different applications which require two DC motors or one stepping motor. |
On-board modules | AP1010AEN, which is a 2ch H-Bridge motor driver compatible with a motor operating voltage 18V |
Key Features | The protection circuit has under voltage lockout circuit, thermal shutdown circuit, and overcurrent protection circuit, and overcurrent protection circuit can be disabled with the DIS OCP terminal |
Interface | GPIO |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 5V,3.3V |
PINOUT DIAGRAM
This table shows how the pinout on H-Bridge 4 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VM SEL | - | Select motor voltage |
SOFTWARE SUPPORT
We provide a library for the H-Bridge 4 click 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 H-Bridge 4 click board. The H-Bridge 4 click communicates with the target board through the AN, INT, PWM, RST and CS lines on MikroBUS. This library offers functions for setting or clearing of any and every of the five pins used for communication, also user can use functions that enable or disable clockwise or counter-clockwise motion, as well as standby mode and brake for both channels.
Key functions:
-
void hbridge4_motorAStandby()
- Function is used to put motor A into standby. -
void hbridge4_motorACW()
- Function is used to put motor A into clockwise motion. -
void hbridge4_motorABrake()
- Function is used to brake motor A to a halt.
Examples description
The application is composed of three sections :
- System Initialization - Initializes GPIO and LOG structures, sets AN, INT, PWM, RST and CS pins as output.
- Application Initialization - Initialization driver enables GPIO and also starts write log.
- Application Task - (code snippet) This example demonstrates the use of H-Bridge 4 click board by putting A motor in standby mode, then spining it in clockwise direction and applying brake function, and then spining it in counter-clockwise direction and applying brake function again.
void applicationTask() { mikrobus_logWrite( "The motor A is in standby mode", _LOG_LINE ); hbridge4_motorAStandby(); Delay_ms( 100 ); mikrobus_logWrite( "The motor A turns clockwise", _LOG_LINE ); hbridge4_motorACW(); Delay_ms( 2000 ); mikrobus_logWrite( "The motor A applies brake", _LOG_LINE ); hbridge4_motorABrake(); Delay_ms( 1000 ); mikrobus_logWrite( "The motor A turns counter-clockwise", _LOG_LINE ); hbridge4_motorACCW(); Delay_ms( 2000 ); mikrobus_logWrite( "The motor A applies brake", _LOG_LINE ); hbridge4_motorABrake(); 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:
- UART
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
This 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.






New Products
-
Sold out
OAK 4 D Auto Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Fixed Focus
Vendor:LuxonisRegular price Rs. 95,479.00Regular priceUnit price / perSold out -
Sold out
OAK 4 D Wide
Vendor:LuxonisRegular price Rs. 106,719.00Regular priceUnit price / perSold out -
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per