
Raspberry Pi HAT for driving two DC motors (with encoder support) via I2C using an STM32 controller and TB6612FNG driver chip.

External power positive input for the motor driver board.
External power negative / ground return for the motor supply.
Encoder 1 positive supply/output connection for a motor encoder.
Encoder 1 negative / ground connection.
Encoder 1 A-phase output signal.
Encoder 1 B-phase output signal.
Motor 1 positive terminal.
Motor 1 negative terminal.
Motor 2 negative terminal.
Motor 2 positive terminal.
Encoder 2 B-phase output signal.
Encoder 2 A-phase output signal.
Encoder 2 negative / ground connection.
Encoder 2 positive supply/output connection for a motor encoder.
Raspberry Pi HAT connector uses I2C to communicate with the onboard STM32 motor controller at default address 0x10.
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| + | Pinout table row 1 | power | External power positive input for the motor driver board. | 7V-12V external motor supply |
| - | Pinout table row 2 | ground | External power negative / ground return for the motor supply. | |
| E1+ | Pinout table row 3 | power output | Encoder 1 positive supply/output connection for a motor encoder. | |
| E1- | Pinout table row 4 | ground | Encoder 1 negative / ground connection. | |
| E1A | Pinout table row 5 | digital | Encoder 1 A-phase output signal. | |
| E1B | Pinout table row 6 | digital | Encoder 1 B-phase output signal. | |
| M1+ | Pinout table row 7 | power output | Motor 1 positive terminal. | |
| M1- | Pinout table row 8 | power output | Motor 1 negative terminal. | |
| M2- | Pinout table row 9 | power output | Motor 2 negative terminal. | |
| M2+ | Pinout table row 10 | power output | Motor 2 positive terminal. | |
| E2B | Pinout table row 11 | digital | Encoder 2 B-phase output signal. | |
| E2A | Pinout table row 12 | digital | Encoder 2 A-phase output signal. | |
| E2- | Pinout table row 13 | ground | Encoder 2 negative / ground connection. | |
| E2+ | Pinout table row 14 | power output | Encoder 2 positive supply/output connection for a motor encoder. | |
| Raspberry Pi 40-pin header: SDA/SCL | Raspberry Pi HAT connector, logical interface from specification | i2c | Raspberry Pi HAT connector uses I2C to communicate with the onboard STM32 motor controller at default address 0x10. | 5V logic board, I2C communication |
PWM · I2C · UART · Wide input · Breakout
Confirm the data interface matches your host board.
Module pins: +, -, E1-, E2-, Raspberry Pi 40-pin header: SDA/SCL. Schematik maps them to your board in the app.
H-bridge breakouts from 1A to 43A (DRV8871, TB6612FNG, BTS7960), stepper drivers (A4988, TMC260, TB6600), I2C servo/solenoid controllers, and Pi/Arduino shields — sized by current and protocol.
15A Single DC Motor Driver visual preview15A Single DC Motor Driver
2×15A DC Motor Driver visual preview2×15A DC Motor Driver
20A Bidirectional Brushed ESC Speed Controller without Brake (XT60 Connector) visual preview20A Bidirectional Brushed ESC Speed Controller without Brake (XT60 Connector)
2x1A DC Motor Shield for Arduino visual preview2x1A DC Motor Shield for Arduino
2x2A DC Motor Shield for Arduino visual preview2x2A DC Motor Shield for Arduino
2x3A DC Motor Driver Carrier Board for UNIHIKER M10 visual preview2x3A DC Motor Driver Carrier Board for UNIHIKER M10
2x7A DC Motor Driver visual preview2x7A DC Motor Driver
40A Bidirectional Brushed ESC Speed Controller (XT60, No Brake) visual preview40A Bidirectional Brushed ESC Speed Controller (XT60, No Brake)
8-Channel PWM or Servo FeatherWing visual preview8-Channel PWM or Servo FeatherWing
Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface [PCA9685] visual previewAdafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface [PCA9685]
Adafruit 16-Channel 12-bit PWM/Servo Shield - I2C interface visual previewAdafruit 16-Channel 12-bit PWM/Servo Shield - I2C interface
Adafruit 16-Channel PWM / Servo Bonnet for Raspberry Pi visual previewAdafruit 16-Channel PWM / Servo Bonnet for Raspberry Pi
12V 184P Gear Motor with Encoder visual preview
12V DC Motor 350RPM w/Encoder (12kg*cm) visual preview
12V Low Noise DC Motor 143RPM w/Encoder visual preview
12V Metal DC Geared Motor with Encoder (131:1, 83RPM, 45Kg.cm) visual previewN20 micros in 1:50–1:298 ratios, 6V TT gearbox motors (120:1, 160RPM), 12V quadrature encoder gearmotors up to 45kg.cm, plus coreless micros, vibration discs, USB fans and a few outlier brushless motors.
Motors & actuators · DC & gear motors · 136 parts
12V Solenoid Valve - DN15 visual preview
370 Mini Vacuum Pump visual preview
5V Electromagnet (15 Kg Height 22mm) visual preview
5V Electromagnet (15 Kg Height 25mm) visual previewSolenoid valves (DN15/DN20 12V), 6V pneumatic air valves, push-pull and lock-style solenoids, 5V electromagnets (3–35kg holding force), 6V electric push rods (10–100mm stroke), peristaltic dosing pumps and submersible water pumps.
Motors & actuators · Pumps & solenoids · 42 parts
1 Degree of Freedom DF05BB Steering Head visual preview
16mm Height Metal Caster Bearing Wheel visual preview
20mm Height Metal Caster Bearing Wheel visual preview
2GT 60-Tooth Aluminum Timing Pulley, 19 mm Bore, 6 mm Belt visual previewRobot chassis (2WD miniQ, 4WD mecanum, 6WD outdoor), mecanum wheels (48–97mm), brass hex hubs (4–6mm), shaft couplers, 2GT timing pulleys and uArm robotic arms.
Motors & actuators · Robotics & mechanics · 143 parts
2.3KG Serial Bus Servo (6V) visual preview
2.5g 360° Micro Servo (0.45kg) visual preview
2Kg 180° Clutch Servo visual preview
2Kg 300° Clutch Servo visual preview9g micros and clutch PWM servos, IP67 metal servos to 35KG, and ST/SC/CF serial bus servos (2.3kg to 120kg.cm at 24V) — protocol matters as much as torque rating here.
Motors & actuators · Servos · 99 parts