MX1508 dual DC motor driver with ESP32
Supply 2-9.6 V
Bus GPIO
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| + | Not wired to the ESP32 | — | Pin order varies between boards: match by the printed label. Motor supply 2 to 9.6 V |
| - | Ground | GND | Share it with the motor supply and the ESP32 GND |
| IN1 | Input (the ESP32 drives it) | D25 | Motor A |
| IN2 | Input (the ESP32 drives it) | D26 | Motor A |
| IN3 | Input (the ESP32 drives it) | D27 | Motor B |
| IN4 | Input (the ESP32 drives it) | D32 | Motor B |
| MA1 | Not wired to the ESP32 | — | Motor A |
| MA2 | Not wired to the ESP32 | — | Motor A |
| MB1 | Not wired to the ESP32 | — | Motor B |
| MB2 | Not wired to the ESP32 | — | Motor B |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- MX1508 datasheet (Mixic), Supply 2 to 9.6 V; about 1.5 A per channel continuous
Try it in 3D in BoardPilot
Related parts
18650 Li-ion cell in holder28BYJ-48 stepper + ULN2003 driver433 MHz transmitter (FS1000A)74HC595 shift registerA4988 stepper driverActive buzzer
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.