The PS2 game controller
The PS2 game controller can be used to remotely control our robot cars, robotic arms or other devices. There is a
project showing how this can be done for an Arduino.
We need to find out, however, how to connect the receiving module to the ESP32 and a driver is needed to receive the commands from the command unit.
Here is the pinout:
PS2 receiver unit |
!WeMos D1 Pins |
GPIO |
Data (controller to PS) |
D7 (MOSI) |
23 |
Command (PS to controller) |
D6 (MISO) |
19 |
Vibration Motor (nc) |
nc |
|
Ground |
GND |
|
Power (3.3V) |
3.3V |
|
Attention |
D8 (SPI CS) |
5 |
Clock |
D5 (SPI CLK) |
18 |
nc |
nc |
|
Acknowledge |
D0 |
26 |
--
Uli Raich - 2022-11-02
Comments