How does it work?
H-Bridge 9 Click as its foundation uses the L99UDL01, a half-bridge driver that is PWM configurable and current regulated from STMicroelectronics. The device contains six MOSFET half-bridge outputs and protection and diagnostic functions designed to improve safety and simplify the design. As a complete solution, this Click board™ replaces several separate motor drivers along with their associated analog and passive components, offering at the same time a more sophisticated functionality.
The L99UDL01 can enter four different operating modes to control the working sequence: Normal mode, Sleep mode, Emergency override mode, and Standby mode as its default operation. In the Sleep mode, no-active circuitry is supplied, where logic is initialized but not operational. There is no function present in either mode to minimize the current consumption. Only wake-up circuitry is active in the Standby mode. Also, an emergency mode represents a crash override mechanism that will interrupt any current actuation command in progress and drives outputs according to the programmed values in the command and configuration registers.
Benefits are further enhanced by PWM control of the output current and sophisticated diagnostic functions that can detect over-currents, line breaks, and short circuits to the battery and ground. The load-integrity tests can also be performed without activating the load. Also, programmable current limiting gives users the ability to reduce the load, thereby increasing reliability. The output MOSFETs are fully protected with low RDS(ON) values, increasing energy efficiency and facilitating thermal management.
The L99UDL01 communicates with MCU using the standard SPI serial interface with a maximum frequency of 4MHz, supporting the most common SPI mode, SPI Mode 0. It also features an interrupt function, labeled as DO and routed to the INT pin of the mikroBUS™ socket that provides the host processor with a real-time fault indication. Besides an interrupt pin, Enable pin labeled as ENO and routed to the PWM pin of the mikroBUS™ socket enables the output functionality while held high and disables the outputs when kept low. This pin can also be used to initiate an output timed actuation, based on programmed parameters, on a rising edge.
The H-Bridge 9 Click supports an external power supply for the L99UDL01, which can be connected to the input terminal labeled as VS and should be within the range of 6V to 18V, while the DC motor coils can be connected to the terminals labeled from O1 to O6. These outputs are configured as switching drivers incorporating active re-circulation to minimize power dissipation. It also has over-current protection, under-current detection, and OFF-state diagnostics.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library containing 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 as a multiple brushed DC motor driver for various applications
On-board modules
L99UDL01 – multiple half-bridge driver that is PWM configurable and current regulated from STMicroelectronics
Key Features
Six integrated fully protected half bridges, several operational modes, low power consumption, high level of programming, high level diagnostics, protection features, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on H-Bridge 9 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 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
H-Bridge 9 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3.3 | – | 5 | V |
External Supply Voltage VS | 6 | – | 18 | V |
Operating Supply Current | – | 13 | 18 | mA |
Operating Temperature Range | -40 | +25 | +175 | °C |
Software Support
We provide a library for the H-Bridge 9 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.
Library Description
This library contains API for H-Bridge 9 Click driver.
Key functions:
hbridge9_write_register
– This function writes a desired data to the selected register.hbridge9_read_register
– This function reads a desired data from the selected register.hbridge9_send_actuation_pulse
– This function sends an actuation pulse by toggling the ENO pin.
Examples description
This example demonstrates the use of H-Bridge 9 Click board™.
void application_task ( void ) { hbridge9_send_actuation_pulse( &hbridge9 ); log_printf( &logger, " Actuation pulse has been sent. rnn" ); Delay_ms( 5000 ); }
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.HBridge9
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.
For more information about mikroSDK, visit the official page.