M5Stack motorstyrenhet med 4 encodrar, DRV8837DSGR, I2C
Shipping from China within 5–10 working days
- During check out, you can choose direct shipping from China, or let us import the order to our EU/US office first and ship it to you locally.
- Import customs clearance and VAT are fully handled by us.
Need a larger quantity?
Need bulk pricing?
Get a formal quotation with lead time and volume pricing.
For universities, companies, distributors, and project orders.
M5Stack motorstyrenhet med 4 encodrar, DRV8837DSGR, I2C
Description
The M5Stack Unit 4EncoderMotor Driver controls four brushed DC motors with corresponding two-phase feedback inputs. This four-channel motor driver combines a local microcontroller, four H-bridges and acquisition of encoder feedback. It suits articulated mechanisms and mobile platforms whose drives need commands from a common host.
Its motor interfaces suit compatible six-wire geared motors and TT geared motors. Direction, duty cycle and regulated motion are commanded through the documented interface. Current sensing and motor operating-voltage detection provide additional operating information. Motors, gearboxes, a chassis and a host are not included.
Two Grove connectors share the same bus. Multiple driver units can operate together using distinct software addresses. External power is reduced to the motor supply and can also power a host through Grove. Check current demand, pin assignment and the power arrangement of the complete assembly before connecting devices.
Features
- Four channels: Four DRV8837DSGR stages provide forward, reverse and stop functions. Each motor channel has corresponding encoder inputs; the outputs are not intended to be paralleled into one motor.
- Local controller: The STM32F030C8T6 handles commands and feedback. I2C communication reduces the number of individual power-stage and feedback signals managed directly by the host.
- Flexible motion: Four AB encoder inputs support 3–15 PPR. PWM, speed control, position control, soft start, soft stop and sleep enable different movement sequences.
- Bus integration: The default address is 0x24 and can be configured within 0x08–0x77. Grove expansion through both ports still requires appropriate device addressing and power planning.
- Electrical monitoring: An INA199A circuit and voltage detection support diagnosis and load observation. These readings do not replace an independent shutdown or mechanical protection.
- Power and indication: A buck converter and programmable WS2812C-2020 RGB LED complement the drive electronics. Converter capacity is not the allowable load of an individual motor channel.
Specifications
| Model / SKU | U233 / M5-U233 |
|---|---|
| MCU | STM32F030C8T6 |
| Communication Interface | I2C @ 0x24; 0x08–0x77 |
| Motor Driver | 4 × DRV8837DSGR |
| Motor Load | Maximum DC 5 V / 1.2 A per channel with external supply |
| Operating Modes | PWM, forward/reverse, soft start/stop, speed loop, position loop, sleep |
| Encoder | 4 × AB; 3–15 PPR |
| Motor Interfaces | 4 × PH2.0-6P; M+ / M− / GND / 5V / EN_B / EN_A |
| Power Supply | 2 × PH2.0-2P: DC 6–12V; Grove: DC 5 V |
| Grove Interfaces | 2 × HY2.0-4P |
| Grove Power Limit | All four motors combined ≤1 A at 5 V |
| Buck Converter | DC 5 V / 8 A maximum total output capacity, not per motor channel |
| Current Detection | INA199A |
| RGB LED | 1 × WS2812C-2020 |
| Product Size | 56.5 × 24.0 × 12.8 mm |
| Product Weight | 10.0 g |
| Package Size | 138.0 × 93.0 × 21.0 mm |
| Gross Weight | 25.5 g |
Applications
- Four-wheel platform: Command four compatible wheel drives separately and use feedback in a host-level motion application. Travel and counting directions depend on installation and software mapping.
- Articulated mechanism: Operate several lightweight joints from a compact electronics unit. Each axis requires appropriate limits, reference handling and conversion between motor rotation and joint movement.
- Gripper and conveyor: Combine small actuators in an experimental assembly. Pinch protection, end positions and overload handling belong to the design and are not automatically solved by encoder signals.
- Coordinated experiments: Execute planned movement sequences and compare different loads. Four channels alone do not guarantee a particular mechanical synchronization accuracy or shared real-time timing.
- STEAM instruction: Compare open duty-cycle commands with feedback-regulated motion. Study startup behavior, signal processing and current demand separately to understand the limits of a complete drive system.
Product List
- 1 × Unit 4EncoderMotor Driver
- 1 × HY2.0-4P Grove cable, 20 cm
- 2 × PH2.0-2P cables, 100 mm
- 4 × PH2.0-6P cables, 100 mm
Other Content
Model Comparison
| Feature | U233 – this product | U232 |
|---|---|---|
| Communication Interface | I2C | I2C |
| Channel Count | 4-channel encoder motor | 1-channel encoder motor |
| Motor Driver | 4x DRV8837DSGR | DRV8837DSGR |
| Main Controller | STM32F030C8T6 | STM32G031G8U6 |
| Encoder Motor Interface | 4x PH2.0-6P | 1x PH2.0-6P |
| Power Input | DC 6–12V (2x PH2.0-2P) | DC 6–12V (1x PH2.0-2P) |
| Load Capacity | Single-channel DC 5V@1.2A | DC 5V@1.2A |
| Current Detection | INA199 | INA199 |
| Grove Interface | 2x HY2.0-4P | 1x HY2.0-4P |
Connection and Commissioning
Disconnect every power source before changing wiring. Assign each motor to a clearly identified channel. The six-contact interface carries motor leads, ground, encoder supply and both phase signals. Confirm the actual pin map instead of assuming electrical compatibility from connector shape.
First verify communication, then test one unloaded motor with the mechanism secured. Motor and counting directions must agree before starting regulated operation. Add other channels individually so swapped leads and unexpected current surges are easier to identify.
Both Grove ports share one interface. They are not independent bus controllers and provide no additional isolation. Other devices need available addresses, suitable signal references and compatible power. Configure addresses individually before joining several units to the common bus.
External input voltage is not motor voltage. The converter provides five volts. Its total output capacity must not be interpreted as permissible current for every motor. With Grove power, observe the combined limit of all four motors and the host supply capability.
An externally powered module can also supply the host through Grove. Review the power arrangement before connecting devices that already have their own supplies. Do not join independent sources without suitable power-path provisions; two external connectors do not authorize paralleling arbitrary adapters.
For positioning experiments, define pulse count, gearbox ratio and reference point for every axis. Electronic feedback does not remove mechanical backlash. Begin at low target speed with clear movement space. Do not continuously energize stalled motors; provide appropriate end stops and an independent safe shutdown for the application.
Schematic

Dimension Drawing

Features and Included Cables

Pin Assignment

Resources
- Product Documentation
- Bus Protocol
- Arduino Driver Library
- UiFlow2 Documentation
- Schematic PDF
- Dimension Drawing PDF
- Mechanical Design Files
- Application Examples
FAQ
Are four motors included?
No. The package contains the unit, one Grove cable, two power leads and four motor connection leads. Choose motors and the host separately.
Are the Grove ports independent?
No. Both connectors share one bus. Additional devices must suit the addressing, pin assignment and power arrangement of the complete system.
Can every motor channel deliver eight amps?
No. Converter total capacity is not channel load. With external power, the maximum is 1.2 A per motor at five volts.
What changes with Grove power only?
The combined load of all four motors must not exceed one amp at five volts. Also observe source and wiring limits.
Is a safe reference position available automatically?
No. The application needs an appropriate reference procedure and movement limits. Encoder signals do not replace safe end-position protection.










