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. ›Robotics
  4. ›PS2 Receiver Adapter Shield with 4 DC Motor and 8 Servo Outputs

Component guide · Beginner · 3 min read

PS2 Receiver Adapter Shield with 4 DC Motor and 8 Servo Outputs

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 PS2 receiver motor and servo shield isPS2 receiver motor and servo shield pinoutWiring the PS2 receiver motor and servo shieldExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

This shield joins a wireless PS2 game controller receiver to an Arduino and adds drivers for four DC motors and eight PWM servo outputs. It is a quick way to build a remote-controlled robot car or arm: read the sticks with the PS2X library and map them to motor speeds and servo angles.

Key specs at a glance

Controller
PS2 wireless receiver socket
DC motors
4 channels
Servos
8 PWM outputs
Board
Arduino Uno or Mega footprint
Motor supply
Separate terminal, about 6 to 12 V
Library
PS2X_lib
01

What the PS2 receiver motor and servo shield is

PS2 motor and servo shields for Arduino combine motor drivers, servo headers and a PS2 controller receiver socket for remote-controlled robots.

The PS2 receiver uses an SPI-like link (DAT, CMD, ATT, CLK) at 3.3 V logic; the shield handles level and power. Pair the controller after power-up by pressing its start button.

Keep motor power separate from the Arduino supply, or noise from the motors will reset the board and drop the PS2 link.

02

PS2 receiver motor and servo shield pinout

The pins on the PS2 receiver motor and servo shield and what each one does.

PinFunction
PS2 socketDAT, CMD, ATT, CLK, 3.3 V, GND
M1 to M4DC motor outputs
S1 to S8Servo headers
Power terminalMotor and servo supply
PinFunction
PS2 socket
DAT, CMD, ATT, CLK, 3.3 V, GND
M1 to M4
DC motor outputs
S1 to S8
Servo headers
Power terminal
Motor and servo supply
03

Wiring the PS2 receiver motor and servo shield

Connect the PS2 receiver motor and servo shield like this.

PS2 receiver motor and servo shield pinArduino Uno / MegaESP32
PS2 DAT/CMD/ATT/CLKAs set by the shield (check silkscreen)Not used
MotorsM1 to M4 terminalsNot used
Supply7 to 12 V batteryNot used
PS2 DAT/CMD/ATT/CLK
Arduino Uno / Mega:
As set by the shield (check silkscreen)
ESP32:
Not used
Motors
Arduino Uno / Mega:
M1 to M4 terminals
ESP32:
Not used
Supply
Arduino Uno / Mega:
7 to 12 V battery
ESP32:
Not used
04

Example code

Check the pin numbers printed on your shield and change config_gamepad to match.

Read the PS2 left stick (Uno) · Arduino C++Verify & upload in Electrolark
#include <PS2X_lib.h>
PS2X ps2;

void setup() {
  Serial.begin(9600);
  // clk, cmd, att, dat: match the shield's pin map
  ps2.config_gamepad(13, 11, 10, 12, false, false);
}

void loop() {
  ps2.read_gamepad();
  Serial.println(ps2.Analog(PSS_LY));   // 0 up, 255 down
  delay(50);
}
05

Setup and tuning

Fit

plug onto an Arduino Uno or Mega and check the pin map.

Power

feed motors from a separate battery through the shield's power terminal.

PS2 receiver

connect the wireless receiver and use the PS2X library.

Motors

wire DC motors to the motor terminals and test direction.

Servos

power servos from a 5 to 6 V rail, not the Arduino 5 V.

06

What you need

Shop this list1 of 2 found in our store · ₹2,450

  • PS2 Receiver Adapter Shield with 4 DC Motor and 8 PWM Servo Control: the part this guide coversPS2 Receiver Adapter Shield with 4 DC Motor and 8 PWM Servo Control₹2,450
  • Uno R3 development board: the controller used in the wiring tableFind this part
07

Alternatives and when to choose them

  • ✓L298N motor driver: separate driver for two motors.
  • ✓PCA9685 servo driver.
  • ✓Motor drivers overview.
08

Common mistakes to avoid

  • !Powering motors from USB.
  • !Wrong PS2X pin settings.
  • !Servos on Arduino 5 V.
  • !No common ground.
09

Frequently asked questions

How do I read a PS2 controller with Arduino?

Use the PS2X library with the shield's pin map.

Why does the controller not pair?

Check power to the receiver and the pin settings.

Can I power motors from USB?

No. Use a battery on the motor power terminal.

Why does the Arduino reset when motors start?

Motor current drops the voltage; power motors and the Arduino from separate supplies.

Can I use it with Mega?

Yes, if the shield pins match the Mega layout.

Parts for this guide

  • PS2 Receiver Adapter Shield with 4 DC Motor and 8 PWM Servo Control
    ₹2,450View
  • Uno R3 Development Board (No Cable)
    ₹359View
Shop Servo Drivers & Controllers

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 1 dayQuadruped spider robot: centre the servos, then code a walking gaitView project
Browse all 1 project

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 guideBeginnerServo Motors GuideA hobby servo is a small motor with a gearbox, position sensor and control circuit that moves to an angle you set with a pulse signal.3 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

  • PS2X library documentation

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 PS2 receiver motor and servo shield isPS2 receiver motor and servo shield pinoutWiring the PS2 receiver motor and servo shieldExample 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 guide1 item · ₹2,450

PS2 Receiver Adapter Shield with 4 DC Motor and 8 PWM Servo Control

Run itChange the inputs and watch the output

Left stick up/down: 0 at the top, 128 centred, 255 at the bottom.

Serial monitor9600 baud
128

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