Component guide · Intermediate · 4 min read
Cytron MD10C, MD13S, MD20A and MD30C Motor Drivers

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The Cytron MD10C, MD13S, MD20A and MD30C are single-channel brushed DC motor drivers rated 10, 13, 20 and 30 A continuous. All use the same two-wire control: PWM for speed and DIR for direction, with 3.3 V or 5 V logic and PWM up to 20 kHz. The MD10-POT adds a speed knob and switches, and the 10A shield plugs straight onto an Arduino Uno.
Key specs at a glance
- Current
- MD10C 10 A, MD13S 13 A, MD20A 20 A, MD30C 30 A continuous (higher peaks)
- Motor supply
- 5 to 30 V (MD10C, MD13S, MD20A), 5 to 30 V (MD30C)
- Logic
- 1.8 V, 3.3 V and 5 V compatible
- Control
- PWM + DIR (sign-magnitude), PWM up to 20 kHz
- Protection
- Over-current limit on MD20A and MD30C, reverse polarity on some versions
- Test buttons
- On-board buttons to run the motor without a controller
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Cytron MD10C 10A Single DC Motor Driver₹1,249
Option 2Cytron MD13S 13A Single DC Motor Driver₹1,567
Option 3Cytron MD20A 20A Single DC Motor Driver₹2,341
Option 4Cytron MD30C 30A Single DC Motor Driver₹3,628
Option 5Cytron MD10-POT 10A DC Motor Driver with Potentiometer₹1,398
Option 6Cytron 10A Motor Driver Shield for Arduino₹1,658
What the Cytron MD10C is
These drivers use discrete MOSFET H-bridges, so they lose almost no voltage and stay cool at their rated current. They suit wheelchairs, sumo and mobile robots, linear actuators, conveyors and large gear motors.
Use one board per motor. For two motors, a dual driver such as the MDD10A is simpler; for a speed knob without a microcontroller, use the MD10-POT.
Cytron MD10C pinout
The pins on the Cytron MD10C and what each one does.
| Pin | Function |
|---|---|
| POWER + / - | Motor battery, 5 to 30 V |
| MOTOR A / B | Motor terminals |
| PWM | Speed input: duty cycle sets speed |
| DIR | Direction: LOW one way, HIGH the other |
| GND | Logic ground, join to the controller GND |
| Test buttons A / B | Spin the motor each way for testing |
- POWER + / -
- Motor battery, 5 to 30 V
- MOTOR A / B
- Motor terminals
- PWM
- Speed input: duty cycle sets speed
- DIR
- Direction: LOW one way, HIGH the other
- GND
- Logic ground, join to the controller GND
- Test buttons A / B
- Spin the motor each way for testing
Wiring the Cytron MD10C
Size wires for the motor current (1.5 mm2 or thicker above 10 A) and put a fuse in the battery positive. The logic side needs only PWM, DIR and GND; the board takes its own logic power from the motor supply.
| Cytron MD10C pin | Arduino Uno | ESP32 |
|---|---|---|
| PWM | D3 (PWM) | GPIO 25 |
| DIR | D4 | GPIO 26 |
| GND | GND | GND |
| POWER + / - | Battery + / - through a fuse | Battery + / - through a fuse |
- PWM
- Arduino Uno:
- D3 (PWM)
- ESP32:
- GPIO 25
- DIR
- Arduino Uno:
- D4
- ESP32:
- GPIO 26
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- POWER + / -
- Arduino Uno:
- Battery + / - through a fuse
- ESP32:
- Battery + / - through a fuse
Example code
Arduino Uno PWM on pin 3 runs at about 490 Hz, which works but can whine. For quiet motors, use a 20 kHz PWM from an ESP32 (analogWriteFrequency) or a timer library.
const int PWM = 3; // speed
const int DIR = 4; // direction
void setup() {
pinMode(PWM, OUTPUT);
pinMode(DIR, OUTPUT);
}
void drive(int speed) { // -255 to 255
digitalWrite(DIR, speed >= 0 ? LOW : HIGH);
analogWrite(PWM, abs(speed));
}
void loop() {
for (int s = 0; s <= 255; s += 5) { drive(s); delay(30); } // ramp up forward
delay(1000);
for (int s = 255; s >= -255; s -= 5) { drive(s); delay(30); } // slow down, then reverse
delay(1000);
drive(0); delay(1000);
}Setup and tuning
connect only the battery and motor, then press the test buttons to check direction.
the 10A shield uses jumpers to choose its PWM and DIR pins; keep them off pins your other shields use.
works without any controller: power, motor, knob for speed, switch for direction.
setting PWM to 0 brakes the motor; for long downhill loads, check the driver's regenerative voltage rating.
What you need
Shop this list10 of 12 found in our store · ₹12,785
Cytron MD10C 10A Single DC Motor Driver: the part this guide coversCytron MD10C 10A Single DC Motor Driver₹1,249
Cytron MD13S 13A Single DC Motor Driver: another version this guide coversCytron MD13S 13A Single DC Motor Driver₹1,567
Cytron MD20A 20A Single DC Motor Driver: another version this guide coversCytron MD20A 20A Single DC Motor Driver₹2,341
Cytron MD30C 30A Single DC Motor Driver: another version this guide coversCytron MD30C 30A Single DC Motor Driver₹3,628
Cytron MD10-POT 10A DC Motor Driver with Potentiometer: another version this guide coversCytron MD10-POT 10A DC Motor Driver with Potentiometer₹1,398
Cytron 10A Motor Driver Shield for Arduino: another version this guide coversCytron 10A Motor Driver Shield for Arduino₹1,658- 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
7.4V 2S Li-Po battery: to power the motors7.4V 3800mAh 2S Li-Po Battery (114253)₹373- Fuse holder: to protect the battery wiringFind this part
Automotive blade fuse: sized just above the motor currentAutomotive Blade Fuse₹5
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- Cytron MDD10A dual driver: two channels on one board.
- BTS7960 motor driver: a cheaper 43 A module with two PWM inputs.
- High-current motor drivers: how big drivers compare.
Common mistakes to avoid
- Leaving out the common GND between driver and controller.
- Using thin jumper wires for motor current.
- Running without a fuse on a large battery.
- Expecting it to drive a brushless (BLDC) motor.
Frequently asked questions
Which Cytron driver do I need?
Choose one rated at or above the motor's stall current or at least twice its running current.
Can I control it with a Raspberry Pi?
Yes. The inputs accept 3.3 V; use one hardware PWM pin and one GPIO.
What PWM frequency should I use?
Up to 20 kHz. Higher than about 18 kHz is silent.
Does it work with an RC receiver?
Not directly. Use a SmartDrive (MDDS) board, which reads RC signals.
Can I parallel two boards for more current?
No. Choose a higher-rated driver instead.
Parts for 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.


