hbridge12
2.1.0.0
|
H Bridge 12 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 DRV8823, a 4-bridge serial interface motor driver from Texas Instruments.
We provide a library for the H-Bridge 12 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 12 Click driver.
hbridge12_cfg_setup
Config Object Initialization function. hbridge12_init
Initialization function. hbridge12_default_cfg
Click Default Configuration function. hbridge12_write_config
H-Bridge 12 write settings function. hbridge12_set_current_scale
H-Bridge 12 set current scale function. hbridge12_turn_clockwise
H-Bridge 12 turn motor clockwise function. This example demonstrates the use of the H-Bridge 12 Click board by
driving the motor connected to OUT A and OUT B, in both directions with braking and freewheeling.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Driving motor in both directions for 5 seconds with a motor braking and freewheeling in between.
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.