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
On this page
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
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.
PS2 receiver motor and servo shield pinout
The pins on the PS2 receiver motor and servo shield and what each one does.
| Pin | Function |
|---|---|
| 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 |
- 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
Wiring the PS2 receiver motor and servo shield
Connect the PS2 receiver motor and servo shield like this.
| PS2 receiver motor and servo shield pin | Arduino Uno / Mega | ESP32 |
|---|---|---|
| PS2 DAT/CMD/ATT/CLK | As set by the shield (check silkscreen) | Not used |
| Motors | M1 to M4 terminals | Not used |
| Supply | 7 to 12 V battery | Not 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
Example code
Check the pin numbers printed on your shield and change config_gamepad to match.
#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);
}Setup and tuning
plug onto an Arduino Uno or Mega and check the pin map.
feed motors from a separate battery through the shield's power terminal.
connect the wireless receiver and use the PS2X library.
wire DC motors to the motor terminals and test direction.
power servos from a 5 to 6 V rail, not the Arduino 5 V.
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
Alternatives and when to choose them
- L298N motor driver: separate driver for two motors.
- PCA9685 servo driver.
- Motor drivers overview.
Common mistakes to avoid
- Powering motors from USB.
- Wrong PS2X pin settings.
- Servos on Arduino 5 V.
- No common ground.
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
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.

