M5Stack DC Motor H-Bridge Unit for I2C Control
The m5stack dc motor H-Bridge Unit combines an STM32F030 controller with the RZ7899 bidirectional motor driver to add controlled forward, reverse, braking, and PWM speed adjustment to embedded projects. The host communicates through I2C, so motor-control commands can be integrated without dedicating multiple host GPIO pins to direction and PWM signals.
The default I2C address is 0x20 and can be changed through the onboard DIP switch. This is useful when a system needs more than one motor driver on the same bus or when 0x20 conflicts with another peripheral. Confirm the complete I2C address plan before assembly, especially in systems with displays, sensors, and multiple motion modules.
Drive Bidirectional DC Motors up to the Stated Limits
The external DC input supports up to 12V and the stated maximum allowable current is 3A. A built-in power-switching circuit supports 6–12V and 5V power domains for different motor and system arrangements. Select the motor and supply so startup current, stall current, wiring, connector rating, and thermal conditions remain within the actual system limits.
PWM Speed, Direction, and Braking
Firmware can command forward rotation, reverse rotation, braking, and PWM-based speed control through the I2C interface. This makes the unit suitable for mobile robots, small mechanisms, doors, feeders, conveyors, smart-home actuators, and test rigs that need reversible DC motor motion.
Integrated Protection for Safer Prototyping
Overcurrent, overvoltage, and overtemperature protection are integrated into the module design. These protections improve robustness, but they do not replace correct motor selection, fusing, power-supply sizing, cable sizing, mechanical limit handling, or emergency-stop design. Test stall and jam conditions under the intended load before field deployment.
Integration Workflow
Connect the motor and external supply to the specified terminal interface, connect Grove I2C to the M5Stack host, confirm the DIP-switch address, then start with low PWM duty cycles while verifying direction. Add application-level ramping when sudden acceleration would stress gears, wheels, or the power supply. For mechanisms with hard travel limits, add end-stop sensors and stop logic rather than relying only on timed motion.
Technical setup details are available in the M5Stack H-Bridge Unit documentation.
Q: Which motor driver does this Unit use?
A: RZ7899, controlled locally with an STM32F030F4P6.
Q: How does the host control the motor?
A: Through I2C commands for PWM speed, forward, reverse, and braking functions.
Q: What is the default I2C address?
A: 0x20. It can be changed through the DIP switch.
Q: What is the maximum external DC input?
A: 12V maximum according to the stated specification.
Q: What is the stated maximum allowable current?
A: 3A. Check motor startup and stall current, thermal conditions, connectors, wiring, and supply behavior in the complete system.
Q: Which protections are integrated?
A: Overcurrent, overvoltage, and overtemperature protection.
Q: Can I use more than one unit on the same I2C bus?
A: The address is DIP-switch configurable, so plan unique addresses and verify the complete bus configuration before deployment.
Q: Do protection functions replace end-stop sensors?
A: No. Mechanisms with travel limits should use appropriate end-stop sensing and application-level stop logic.
Mobile robots and small drive mechanisms
Reversible DC motor control
Industrial automation prototypes
Smart-home actuators
Feeders, doors, conveyors, and test rigs
1 × Unit HBridge
1 × VH3.96-4P connector
1 × HY2.0-4P Grove cable, 20cm
1 × 1.5mm L-shaped hex wrench
At LogicBoundless, we believe that technology knows no borders. Our goal is to provide makers, engineers, and DIY enthusiasts worldwide with high-quality components through a reliable and transparent shipping process.
Shipping Zones & Restrictions
We offer worldwide shipping, with a primary focus on innovation hubs in the United States, Europe, and Asia.
Note: To ensure the safe arrival of sensitive electronic components, we do not ship to P.O. boxes or APO/FPO addresses.
Shipping Carrier
All orders are shipped via YunExpress, our strategic logistics partner, ensuring efficient and trackable delivery from our fulfillment center in Shenzhen, China directly to your lab.
Shipping Costs
We offer tiered shipping rates based on your order value:
United States / Europe / Asia
-
Orders ≤ $50: Shipping fee $9.9
-
Orders > $50: FREE SHIPPING
Other Regions (Global)
-
Orders ≤ $50: Shipping fee $15.9
-
Orders > $50 and ≤ $99: Shipping fee $9.9
-
Orders > $149: FREE WORLDWIDE SHIPPING
Customs Duties & Taxes (Hassle-Free Delivery)
To provide the smoothest experience for your innovation, LogicBoundless covers the customs duties for all personal orders.
-
Prepaid DDP: Duties are prepaid by our logistics partner. You will not be asked for any additional tax payments by the courier upon delivery.
-
For Business Customers (VAT):
- If you require a formal VAT invoice, please contact us at support@logicboundless.com before placing your order.
-
Note: Due to VAT regulations, we do not cover duties for VAT-invoiced orders, but we will offer a special discount as a professional courtesy.
Order Processing Time
-
Verification & Packing: All orders are processed within 1-7 business days.
-
Quality Check: Every sensitive component undergoes a final visual inspection before being packed in anti-static or protective packaging.
-
Note: Processing may be slightly delayed during peak seasons or technical product launches. We will notify you via email of any major delays.
Estimated Delivery Time
| Region |
Estimated Delivery (Business Days) |
| United States |
7 - 12 Days |
| Europe |
7 - 14 Days |
| Asia |
5 - 10 Days |
| Rest of World |
10 - 20 Days |