Component guide · Beginner · 4 min read
L9110S and MX1508 Dual Motor Driver

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The L9110S and MX1508 are tiny dual H-bridge boards for small DC motors such as TT and N20 gear motors. Each motor uses two input pins: one HIGH and one LOW sets direction, and PWM on one pin sets speed. They run from about 2.5 to 10 V and handle roughly 0.8 A (L9110S) or 1.5 A (MX1508) per motor, with far less voltage loss than an L298N.
Key specs at a glance
- Channels
- 2 DC motors (or 1 bipolar stepper)
- Motor supply
- 2.5 to 12 V (L9110S), 2 to 10 V (MX1508)
- Current
- About 0.8 A per channel (L9110S), 1.5 A per channel (MX1508), short peaks higher
- Logic
- 3.3 V and 5 V inputs
- Control
- Two inputs per motor: IN A / IN B (L9110S: A-IA, A-IB)
- Size
- About 29 x 23 mm (L9110S), 24 x 21 mm (MX1508)
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1L9110S Dual DC Motor Driver Module₹46
Option 2HG7881 L9110S Motor Driver Module₹58
Option 3MX1508 Mini Dual H-Bridge Motor Driver₹35
Option 42-Channel DC Motor Drive Module Dual H-Bridge (2V-10V)₹35
What the L9110S and MX1508 motor driver is
Both chips hold two H-bridges made of MOSFETs, so they lose only a few tenths of a volt, where an L298N loses about 2 V. That makes them a good match for 4 AA or 2S Li-ion robot cars.
There is no enable pin. Each motor has two inputs: drive one with PWM and hold the other LOW for forward, swap them for reverse, both LOW to coast and both HIGH to brake.
L9110S and MX1508 motor driver pinout
The pins on the L9110S and MX1508 motor driver and what each one does.
| Pin | Function |
|---|---|
| VCC | Motor supply, 2.5 to 10 V (also powers the logic) |
| GND | Ground, shared with the controller |
| A-IA / IN1 | Motor A input 1 |
| A-IB / IN2 | Motor A input 2 |
| B-IA / IN3 | Motor B input 1 |
| B-IB / IN4 | Motor B input 2 |
| MOTOR A / MOTOR B | Screw terminals or pads for each motor |
- VCC
- Motor supply, 2.5 to 10 V (also powers the logic)
- GND
- Ground, shared with the controller
- A-IA / IN1
- Motor A input 1
- A-IB / IN2
- Motor A input 2
- B-IA / IN3
- Motor B input 1
- B-IB / IN4
- Motor B input 2
- MOTOR A / MOTOR B
- Screw terminals or pads for each motor
Wiring the L9110S and MX1508 motor driver
Use PWM-capable pins for all four inputs so either direction can be speed-controlled. Do not power the motors from the Uno 5V pin: motor noise and stall current will reset the board. Join the grounds.
| L9110S and MX1508 motor driver pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | Battery + (4 AA or 2S, under 10 V) | Battery + (under 10 V) |
| GND | Battery - and Uno GND | Battery - and ESP32 GND |
| A-IA | D5 (PWM) | GPIO 25 |
| A-IB | D6 (PWM) | GPIO 26 |
| B-IA | D9 (PWM) | GPIO 27 |
| B-IB | D10 (PWM) | GPIO 14 |
- VCC
- Arduino Uno:
- Battery + (4 AA or 2S, under 10 V)
- ESP32:
- Battery + (under 10 V)
- GND
- Arduino Uno:
- Battery - and Uno GND
- ESP32:
- Battery - and ESP32 GND
- A-IA
- Arduino Uno:
- D5 (PWM)
- ESP32:
- GPIO 25
- A-IB
- Arduino Uno:
- D6 (PWM)
- ESP32:
- GPIO 26
- B-IA
- Arduino Uno:
- D9 (PWM)
- ESP32:
- GPIO 27
- B-IB
- Arduino Uno:
- D10 (PWM)
- ESP32:
- GPIO 14
Example code
On an ESP32 with core 3.x, analogWrite() works on any output pin. Copy the motor() function for motor B with pins 9 and 10.
const int IA = 5, IB = 6;
void motor(int speed) { // -255 to 255
if (speed >= 0) { analogWrite(IA, speed); analogWrite(IB, 0); }
else { analogWrite(IA, 0); analogWrite(IB, -speed); }
}
void setup() {
pinMode(IA, OUTPUT);
pinMode(IB, OUTPUT);
}
void loop() {
for (int s = 0; s <= 255; s += 5) { motor(s); delay(20); }
delay(800);
for (int s = 255; s >= -255; s -= 5) { motor(s); delay(20); }
delay(800);
motor(0); delay(1000);
}Setup and tuning
keep it under 10 V. A 9 V PP3 battery is too weak for motors; use AA cells or a 2S pack.
stalled TT motors draw about 1 A each, near the L9110S limit; the MX1508 has more margin.
the chips warm up at high load; short bursts are fine, continuous stall is not.
solder a 100 nF capacitor across each motor's terminals if the controller resets.
What you need
Shop this list8 of 9 found in our store · ₹710
L9110S Dual DC Motor Driver Module: the part this guide coversL9110S Dual DC Motor Driver Module₹46
HG7881 L9110S Motor Driver Module: another version this guide coversHG7881 L9110S Motor Driver Module₹58
MX1508 Mini Dual H-Bridge Motor Driver: another version this guide coversMX1508 Mini Dual H-Bridge Motor Driver₹35
2-Channel DC Motor Drive Module Dual H-Bridge (2V-10V): another version this guide covers2-Channel DC Motor Drive Module Dual H-Bridge (2V-10V)₹35- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
TT gear motor: a small motor to test withTT Gear Motor (Yellow) 3–6V₹86Closest match, check the specs
65mm robot wheel for TT motors: to build a small robot car65mm Rubber Robot Wheel for BO / TT Motors₹12Closest match, check the specs
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- L298N motor driver: bigger, 2 A, but loses about 2 V.
- TB6612FNG motor driver: 1.2 A with PWM and standby pins.
- DRV8833 motor driver: similar size with current limiting.
Common mistakes to avoid
- Powering it above 10 to 12 V and killing the chip.
- Using non-PWM pins and getting only full speed.
- Taking motor power from the Arduino 5V pin.
- Forgetting the common ground between battery and controller.
Frequently asked questions
Is the HG7881 the same as the L9110S?
Yes. HG7881 is the board name; the chips on it are two L9110S.
L9110S or MX1508?
Both use the same two-input control. The MX1508 handles more current; the L9110S tolerates slightly higher voltage.
Can it drive a stepper motor?
Yes, a small bipolar stepper under about 0.8 A per coil, using the four inputs in step order.
Why does the motor only run one way?
One input must be LOW while the other is PWM. Check that both pins are outputs and the code swaps them for reverse.
Can I use it with 3.3 V boards?
Yes. The inputs accept 3.3 V logic while the motor supply stays separate.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

