> For the complete documentation index, see [llms.txt](https://wiki.openelab.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.openelab.io/aiot/m5stack/m5stack-h-bridge-unit-v1.1-stm32f030.md). Agents can also search and read this documentation through its [MCP server](https://wiki.openelab.io/~gitbook/mcp).

# M5Stack H-bridge Unit v1.1 (STM32F030)

{% hint style="info" %}
[**View M5Stack H-bridge Unit v1.1 STM32F030 DC Motor Driver on OpenELAB**](https://openelab.io/products/m5stack-h-bridge-unit)

**Store SKU / option:** `M5-U160-V11`. Match the purchased model and revision to the official reference below.
{% endhint %}

### M5Stack H-bridge Unit v1.1 (STM32F030)

***

### Product Link

{% embed url="<https://openelab.io/products/m5stack-h-bridge-unit>" %}

### Introduction

Meet the **HBridge v1.1 Unit** – a state-of-the-art DC motor drive module that redefines motor control. Powered by the **"STM32F030+RZ7899"** scheme, this module enables seamless **I2C** communication with the M5 host, offering precise **PWM** control for speed adjustment, as well as easy management of forward, reverse, and braking functions.

Safety and reliability take center stage with built-in safeguards against over-current, over-voltage, and over-temperature situations. The module's total power MOSTUBE switch circuit allows dynamic motor control through programming, while the integrated total current acquisition circuit ensures safe motor operation.

<figure><img src="https://1292444914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtgOfPnscWebs1eh82EKq%2Fuploads%2Fwigggyb07J2QLVMptqVh%2Fimage.png?alt=media&amp;token=c01de39b-1855-4101-8451-ec751e17bcbd" alt=""><figcaption></figcaption></figure>

Adapting to diverse needs, the module incorporates a smart 6-12V and 5V switching circuit. It's a perfect fit for a range of applications, from robotics, motor drives, and industrial automation to smart homes. Elevate your projects with the HBridge v1.1 Unit – where cutting-edge technology meets simplicity and versatility.

### Features

* Overcurrent, overvoltage, overtemperature protection
* Power switching
* I2C address: Default 0x20
* current detech
* Programming platform: Arduino, UIFlow

### Specifications

| Resources                          | Parameters                                                      |
| ---------------------------------- | --------------------------------------------------------------- |
| MCU                                | STM32F030F4P6                                                   |
| DC bidirectional motor driver chip | RZ7899                                                          |
| Current acquisition chip           | INA199A1DCKR                                                    |
| External access DC voltage         | MAX 12V                                                         |
| I2C mailing address                | Default 0x20 (can be modified by toggle of the encoding switch) |
| Maximum allowable current          | 3A                                                              |
| Use temperature                    | 0-40°C                                                          |
| Product Size                       | 48mm\* 24mm\*8mm                                                |
| Package Size                       | 136mm\* 92mm\*13mm                                              |
| Product Weight                     | 9.1g                                                            |
| Package Weight                     | 14g                                                             |

### Pinout

* **VCC**: 3.3V to 5V power supply
* **GND**: Ground
* **SDA**: I2C data line
* **SCL**: I2C clock line
* **Motor A+**: Positive terminal for Motor A
* **Motor A-**: Negative terminal for Motor A
* **Motor B+**: Positive terminal for Motor B
* **Motor B-**: Negative terminal for Motor B

### Dimensions

<figure><img src="https://1292444914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtgOfPnscWebs1eh82EKq%2Fuploads%2FvDH3rBCwDzlbwrRj4hlo%2Fimage.png?alt=media&amp;token=24fbbb93-1f6f-409b-9dd2-fcb6727895e3" alt=""><figcaption></figcaption></figure>

### How to Use

* **Connect to a Microcontroller**: Use the I2C interface to connect the H-bridge Unit to your microcontroller (e.g., Arduino, ESP32).
* **Install Necessary Libraries**: Ensure you have the correct libraries installed in your development environment to communicate with the H-bridge Unit.
* **Initialize the Unit**: Write initialization code to set up the H-bridge Unit and configure motor control parameters.
* **Control Motors**: Use provided functions to control the speed and direction of connected motors.
* **Monitor and Protect**: Utilize built-in protection features to ensure safe operation of the motors.

### FAQ

<details>

<summary><strong>Can I use the M5Stack H-bridge Unit with any microcontroller?</strong></summary>

Yes, as long as the microcontroller supports I2C communication, you can integrate the H-bridge Unit.

</details>

<details>

<summary><strong>How do I power the unit?</strong></summary>

The unit operates between 3.3V and 5V, so ensure your power supply matches this requirement.

</details>

<details>

<summary><strong>What types of motors can I control with this unit?</strong></summary>

The H-bridge Unit is designed for controlling DC motors.

</details>

<details>

<summary><strong>What libraries are needed to operate the unit with Arduino?</strong></summary>

You will need appropriate motor control libraries compatible with the STM32F030 microcontroller.

</details>

<details>

<summary><strong>How do the protection features work?</strong></summary>

The unit includes overcurrent and thermal protection to prevent damage to the unit and connected motors. These features automatically engage if the current exceeds the safe limit or if the unit overheats.

</details>

<details>

<summary><strong>Can the unit handle high-current motors?</strong></summary>

The unit can handle up to 1.2A continuous current per channel. For higher current requirements, additional external drivers may be needed.

</details>

## Official documentation and development resources

Use [Unit HBridge v1.1](https://docs.m5stack.com/en/unit/Unit_HBridge_v1.1) for the manufacturer's complete model reference, diagrams and maintained examples. The official product code is **`U160-V11`**; match the board/Unit label before choosing a firmware or host example. The references below complement this guide's local instructions.

| Development need                            | Model-specific reference                                                                                                                               |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Electrical schematic                        | [Read electrical schematic](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/615/SCH_UNIT_HBridge_V1.1.pdf)                                            |
| Mechanical / CAD files                      | [Read mechanical / cad files](https://github.com/m5stack/M5_Hardware/tree/master/Products/U160-V11_Unit_HBridge_v1.1/Structures)                       |
| Mechanical / CAD files                      | [Read mechanical / cad files](https://github.com/m5stack/M5_Hardware/blob/master/Products/U160-V11_Unit_HBridge_v1.1/Structures/Unit_HBridge_v1.1.stl) |
| Official source: M5Unit-Hbridge             | [Read official source: m5unit-hbridge](https://github.com/m5stack/M5Unit-Hbridge)                                                                      |
| Arduino development tutorial                | [Read arduino development tutorial](https://docs.m5stack.com/en/arduino/projects/unit/unit_hbridge)                                                    |
| Official source: M5Unit-Hbridge-Internal-FW | [Read official source: m5unit-hbridge-internal-fw](https://github.com/m5stack/M5Unit-Hbridge-Internal-FW)                                              |

Keep the example's host model, interface pins and dependency versions together when reproducing a result. A schematic or SDK link does not establish that another revision uses the same wiring. Official model pages and accessible tutorial links reviewed **23 November 2026**. Other downloads above are manufacturer-listed resources; listing a file is not a test of its contents. Compilation, firmware flashing and hardware operation were **not performed** in this review.
