TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136551 times)
  2. FAT32 Library (69745 times)
  3. Network Ethernet Library (55849 times)
  4. USB Device Library (46189 times)
  5. Network WiFi Library (41809 times)
  6. FT800 Library (41000 times)
  7. GSM click (28929 times)
  8. PID Library (26385 times)
  9. mikroSDK (26288 times)
  10. microSD click (25303 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

H-Bridge Driver click

Rating:

5

Author: MIKROE

Last Updated: 2021-07-12

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Motor control

Downloaded: 1237 times

Not followed.

License: MIT license  

H-Bridge Driver Click is a compact add-on board that contains an H-bridge gate driver, also known as a full-bridge pre-driver. This board features the MC33883, an H-Bridge gate driver with an integrated charge pump and independent high and low side gate drive channels from NXP Semiconductors.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "H-Bridge Driver click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "H-Bridge Driver click" changes.

Do you want to report abuse regarding "H-Bridge Driver click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

H-Bridge Driver Click

H-Bridge Driver Click

Native view of the H-Bridge Driver Click board.

View full image
 H-Bridge Driver Click

H-Bridge Driver Click

Front and back view of the H-Bridge Driver Click board.

View full image

Library Description

The library covers all the necessary functions to control the H-Bridge Driver Click board™. User can use functions that control four separate input pins.

Key functions:

  • void hbridgedriver_glo_enable ( uint8_t state ); - Function is used to turn the device on or off.
  • void hbridgedriver_in_ls_2 ( uint8_t state ); - Function is used to set the state of the 'IL2' pin.
  • void hbridgedriver_in_ls_1 ( uint8_t state ); - Function is used to set the state of the 'IL1' pin.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes GPIO and LOG structures, and sets AN, RST, CS, PWM and INT pins as output and start to write log.
  • Application Initialization - Initalizes GPIO driver and turns the device on.
  • Application Task - Demonstrates use of the H-Bridge Driver Click board™ by turning connected MOSFETs gates high or low in order to drive the motor forward, in reverse, brake or coast.
void application_task ( )
{
    mikrobus_logWrite( "The motor turns forward!", _LOG_LINE );
    hbridgedriver_forward( );
    Delay_ms( 1000 );
    mikrobus_logWrite( "The motor brakes!", _LOG_LINE );
    hbridgedriver_braking( );
    Delay_ms( 1000 );
    mikrobus_logWrite( "The motor turns in reverse", _LOG_LINE );
    hbridgedriver_reverse( );
    Delay_ms( 1000 );
    mikrobus_logWrite( "The motor coasting", _LOG_LINE );
    hbridgedriver_coasting( );
    Delay_ms( 1000 );
}

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 clickUSB 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.

ALSO FROM THIS AUTHOR

I2C MUX 4 click

0

I2C MUX 4 Click is a compact add-on board that contains a dual bidirectional translating switch dedicated for applications with I2C slave address conflicts.

[Learn More]

UWB 2 click

0

UWB 2 Click is a compact add-on board that brings Ultra-Wideband communication to any solution. This board features the DWM3000, an IEEE 802.15-z UWB transceiver module from Qorvo. This module fully aligns with FiRaTM PHY, MAC, and certification development. It uses an integrated UWB antenna to establish wireless communication in UWB channels 5 (6.5GHz) and 9 (8GHz). This Click board™ makes the perfect solution for developing precision real-time location systems (RTLS) using two-way ranging or TDoA schemes in various markets, location-aware wireless sensor networks (WSNs), and more.

[Learn More]

Stepper 14 Click

5

The Stepper 14 Click is a Click board that features the DRV8847PWPR, a step motor driver, from Texas Instruments. This Click boardâ„¢ provides a bipolar step motor controle, It features an H-bridge bipolar step motor driver, which supports full-, half-, quarter-, or eighth-step modes.

[Learn More]