hbridge14
2.1.0.0
|
H-Bridge 14 Click is a compact add-on board with an H-Bridge gate driver, also known as a full-bridge pre-driver. This board features the DRV8873, an automotive H-Bridge motor driver from Texas Instruments. The DRV8873 is an N-channel H-Bridge motor driver that can drive one bidirectional brushed DC motor, two unidirectional brushed DC motors, solenoids, or other resistive inductive loads.
We provide a library for the H-Bridge 14 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for H-Bridge 14 Click driver.
hbridge14_cfg_setup
Config Object Initialization function. hbridge14_init
Initialization function. hbridge14_default_cfg
Click Default Configuration function. hbridge14_set_pins
H-Bridge 14 set pins function. hbridge14_sleep_state
H-Bridge 14 control sleep function. hbridge14_drive_motor
H-Bridge 14 drive motor function. This example demonstrates the use of the H-Bridge 14 board by driving the
motor in both directions with braking and coasting in between.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Drives the motor in both directions with coasting and braking in between, every sate is lasting 5 seconds.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), 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 MikroElektronika compilers.