hbridge6
2.0.0.0
|
H-Bridge 6 Click is a compact add-on board that contains a DC motor driver for automotive applications. This board features the VNHD7008AY, an H-bridge motor driver for automotive DC motor driving from STMicroelectronics. The VNHD7008AY, features an undervoltage shutdown, load current limitation, overload active power limitation, overtemperature shutdown, and more.
We provide a library for the HBridge6 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 HBridge6 Click driver.
hbridge6_cfg_setup
Config Object Initialization function. hbridge6_init
Initialization function. hbridge6_default_cfg
Click Default Configuration function. hbridge6_reset
HW reset function. hbridge6_enable_diagnostic
Enable the diagnostic function. hbridge6_set_direction
Adjust the direction function. This is an example that demonstrates the use of H-Bridge 6 Click board.
The demo application is composed of two sections :
Initialization driver enables - I2C, reset the device and set default configuration, initialization and configure the PWM, also write log.
It shows moving in the clockwise direction of rotation and moving in the counterclockwise direction of rotation from slow to fast speed. All data logs write on USB uart changes.
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.