Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Motors & Motion
  4. ›Cytron MDD10A, MDD20A and MDD3A Dual Motor Drivers

Component guide · Intermediate · 4 min read

Cytron MDD10A, MDD20A and MDD3A Dual Motor Drivers

Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the Cytron MDD10A isCytron MDD10A pinoutWiring the Cytron MDD10AExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

Cytron's dual drivers run two brushed DC motors from one board: the MDD10A (10 A per channel), MDD20A (20 A), MDD3A (3 A) and Maker Drive (1 A), plus Arduino shields, a Raspberry Pi HAT and an Uno-compatible robot controller. The MDD10A and MDD20A use PWM + DIR per motor; the MDD3A and Maker Drive use two PWM inputs per motor like a small H-bridge.

Key specs at a glance

Current per channel
MDD20A 20 A, MDD10A 10 A, MDD3A 3 A, Maker Drive 1 A
Motor supply
6 to 30 V (MDD10A, MDD20A), 4 to 16 V (MDD3A), 2.5 to 9.5 V (Maker Drive)
Logic
1.8, 3.3 and 5 V compatible
Control
PWM + DIR per motor (MDD10A, MDD20A, shields, HAT); two PWM per motor (MDD3A, Maker Drive)
Extras
Test buttons; MDD3A and Maker Drive also give a 5 V output

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1Cytron MDD10A 10A Dual DC Motor Driver₹2,618
  • Option 2Cytron MDD20A 20A Dual DC Motor Driver₹3,953
  • Option 3Cytron MDD3A 3A Dual DC Motor Driver₹864
  • Option 4Cytron 10A Dual Motor Driver Shield for Arduino₹2,978
  • Option 5Cytron 3A Dual Motor Driver Shield for Arduino₹2,181
  • Option 6Cytron HAT-MDD10 10A Dual Motor Driver HAT for Raspberry Pi₹3,203
01

What the Cytron MDD10A is

A dual driver is the usual choice for a two-wheel robot: one channel per side. The Maker Drive and MDD3A suit TT, N20 and small gear motors; the MDD10A suits 12 V or 24 V gear motors in larger robots; the MDD20A handles wheelchair-size motors.

The Arduino shields and the HAT-MDD10 put the MDD10 design on a board that plugs on, with jumpers to choose the control pins.

02

Cytron MDD10A pinout

The pins on the Cytron MDD10A and what each one does.

PinFunction
VB+ / VB-Motor battery
M1A / M1B, M2A / M2BMotor 1 and motor 2 terminals
PWM1 / DIR1Motor 1 speed and direction (MDD10A, MDD20A)
PWM2 / DIR2Motor 2 speed and direction
M1A / M1B inputsTwo PWM inputs per motor (MDD3A, Maker Drive)
GNDLogic ground
5V outRegulated 5 V output (MDD3A and Maker Drive only)
PinFunction
VB+ / VB-
Motor battery
M1A / M1B, M2A / M2B
Motor 1 and motor 2 terminals
PWM1 / DIR1
Motor 1 speed and direction (MDD10A, MDD20A)
PWM2 / DIR2
Motor 2 speed and direction
M1A / M1B inputs
Two PWM inputs per motor (MDD3A, Maker Drive)
GND
Logic ground
5V out
Regulated 5 V output (MDD3A and Maker Drive only)
03

Wiring the Cytron MDD10A

This is the MDD10A and MDD20A wiring. For the MDD3A and Maker Drive, wire M1A, M1B, M2A and M2B inputs to four PWM pins and drive them like an L9110S. Join grounds and fuse the battery.

Cytron MDD10A pinArduino UnoESP32
PWM1D3GPIO 25
DIR1D4GPIO 26
PWM2D5GPIO 27
DIR2D7GPIO 14
GNDGNDGND
PWM1
Arduino Uno:
D3
ESP32:
GPIO 25
DIR1
Arduino Uno:
D4
ESP32:
GPIO 26
PWM2
Arduino Uno:
D5
ESP32:
GPIO 27
DIR2
Arduino Uno:
D7
ESP32:
GPIO 14
GND
Arduino Uno:
GND
ESP32:
GND
04

Example code

Cytron's CytronMotorDriver Arduino library wraps both modes: choose PWM_DIR for the MDD10A or PWM_PWM for the MDD3A and Maker Drive.

Two-motor robot drive: forward, turn and reverse (MDD10A) · Arduino C++Verify & upload in Electrolark
const int PWM1 = 3, DIR1 = 4, PWM2 = 5, DIR2 = 7;

void motor(int pwm, int dir, int speed) {   // speed -255 to 255
  digitalWrite(dir, speed < 0);
  analogWrite(pwm, abs(speed));
}

void drive(int left, int right) {
  motor(PWM1, DIR1, left);
  motor(PWM2, DIR2, right);
}

void setup() {
  for (int p : {PWM1, DIR1, PWM2, DIR2}) pinMode(p, OUTPUT);
}

void loop() {
  drive(180, 180);   delay(1500);   // forward
  drive(150, -150);  delay(600);    // spin right
  drive(-180, -180); delay(1500);   // reverse
  drive(0, 0);       delay(1000);
}
05

Setup and tuning

Test buttons

press M1A/M1B and M2A/M2B with only battery and motors connected to check each wheel's direction.

Swap a wheel

if one side runs backwards, swap its two motor wires instead of changing code.

Pi HAT

the HAT-MDD10 uses GPIO 12, 13 for PWM (hardware PWM) and 24, 26 for DIR by default.

Supply sizing

the battery must supply both motors' stall current at once.

06

What you need

Shop this list12 of 14 found in our store · ₹32,779

  • Cytron MDD10A 10A Dual DC Motor Driver: the part this guide coversCytron MDD10A 10A Dual DC Motor Driver₹2,618
  • Cytron MDD20A 20A Dual DC Motor Driver: another version this guide coversCytron MDD20A 20A Dual DC Motor Driver₹3,953
  • Cytron MDD3A 3A Dual DC Motor Driver: another version this guide coversCytron MDD3A 3A Dual DC Motor Driver₹864
  • Cytron 10A Dual Motor Driver Shield for Arduino: another version this guide coversCytron 10A Dual Motor Driver Shield for Arduino₹2,978
  • Cytron 3A Dual Motor Driver Shield for Arduino: another version this guide coversCytron 3A Dual Motor Driver Shield for Arduino₹2,181
  • Cytron HAT-MDD10 10A Dual Motor Driver HAT for Raspberry Pi: another version this guide coversCytron HAT-MDD10 10A Dual Motor Driver HAT for Raspberry Pi₹3,203
  • Cytron Maker Drive Dual Motor Driver: another version this guide coversCytron Maker Drive Dual Motor Driver₹518
  • Cytron Dual Channel 10A Motor Driver UNO Robot Controller: another version this guide coversCytron Dual Channel 10A Motor Driver UNO Robot Controller₹4,048
  • 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
  • Raspberry Pi 4 Model B 4GB: the Pi the HAT plugs ontoRaspberry Pi 4 Model B with 4GB RAM₹11,461Closest match, check the specs
  • 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
  • Metal 4-wheel robot chassis: a base for a larger robotMetal 4-Wheel Robot Chassis 260×160mm₹193Closest match, check the specs
07

Alternatives and when to choose them

  • ✓Cytron MD10C single driver: one motor per board.
  • ✓Cytron SmartDrive MDDS30: RC, serial and analog input for big robots.
  • ✓L298N motor driver: the basic 2 A dual driver.
08

Common mistakes to avoid

  • !Mixing up the PWM+DIR and PWM+PWM wiring between models.
  • !Powering a Pi from the motor battery without a separate regulator.
  • !Undersized battery wiring for two high-current motors.
  • !Leaving logic GND unconnected.
09

Frequently asked questions

MDD10A or MDD20A?

Use the MDD20A if either motor stalls above about 15 A; otherwise the MDD10A is enough.

Can I run 24 V motors?

Yes on the MDD10A and MDD20A (up to 30 V). The MDD3A stops at 16 V.

Does the Maker Drive need a separate 5 V?

No. It outputs 5 V that can power a small controller.

Is there a library?

Yes, CytronMotorDriver in the Arduino Library Manager.

Can the shields stack with other shields?

Yes, if the jumper-selected pins do not clash with the other shield.

Parts for this guide

  • Cytron MDD10A 10A Dual DC Motor Driver
    ₹2,618View
  • Cytron MDD20A 20A Dual DC Motor Driver
    ₹3,953View
  • Cytron MDD3A 3A Dual DC Motor Driver
    ₹864View
  • Cytron 10A Dual Motor Driver Shield for Arduino
    ₹2,978View
  • Cytron 3A Dual Motor Driver Shield for Arduino
    ₹2,181View
  • Cytron HAT-MDD10 10A Dual Motor Driver HAT for Raspberry Pi
    ₹3,203View
  • Cytron Maker Drive Dual Motor Driver
    ₹518View
  • Cytron Dual Channel 10A Motor Driver UNO Robot Controller
    ₹4,048View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Raspberry Pi 4 Model B with 4GB RAM
    ₹11,461View
  • 7.4V 3800mAh 2S Li-Po Battery (114253)
    ₹373View
  • Fuse Holder (Panel, PCB and HRC)
    ₹105View
  • Metal 4-Wheel Robot Chassis 260×160mm
    ₹193View
Shop DC Motor Drivers

Keep learning

ComparisonBeginnerMotor Drivers ExplainedA motor driver lets a low-power microcontroller control the speed and direction of motors using an H-bridge.4 min read · Motors & MotionComponent guideIntermediateHigh-Current Motor DriversWhen an L298N is not enough, a high-current H-bridge module such as the BTS7960 (IBT-2) or a Cytron MD10C drives large DC motors at tens of amps.3 min read · Motors & MotionComponent guideBeginnerDC Motors ExplainedA brushed DC motor spins when current flows through it: voltage sets the speed and the load sets the current it draws.4 min read · Motors & MotionComponent guideBeginnerL298N motor driverThe L298N module drives two DC motors (or one bipolar stepper) in both directions with speed control.5 min read · Motors & Motion

Sources

  • Cytron MDD10A, MDD20A, MDD3A and Maker Drive user manuals
  • CytronMotorDriver Arduino library

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Cytron MDD10A isCytron MDD10A pinoutWiring the Cytron MDD10AExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)7 items · ₹9,736

Cytron MDD10A 10A Dual DC Motor Driver · Cytron MDD3A 3A Dual DC Motor Driver · Cytron 10A Dual Motor Driver Shield for Arduino · Cytron 3A Dual Motor Driver Shield for Arduino · Cytron Maker Drive Dual Motor Driver · 7.4V 3800mAh 2S Li-Po Battery (114253) · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

Forward 1.5 s, spin 0.6 s, reverse 1.5 s, stop 1 s.

Left fwd 71%
Right fwd 71%

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question