---+ 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 [[http://www.billporter.info/2010/06/05/playstation-2-controller-arduino-library-v1-0/][project ]]showing how this can be done for an Arduino. <img alt="ps2_controller.png" height="397" src="%ATTACHURL%/ps2_controller.png" title="ps2_controller.png" width="492" /> 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: <img alt="ps2_connections.png" height="359" src="%ATTACHURL%/ps2_connections.png" title="ps2_connections.png" width="496" /> | *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 | -- %USERSIG{UliRaich - 2022-11-02}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
ps2_connections.png
r1
manage
95.1 K
2022-11-02 - 14:16
UliRaich
png
ps2_controller.png
r1
manage
137.8 K
2022-11-02 - 14:13
UliRaich
This topic: IoT_Course_English
>
WebHome
>
PS2GameController
Topic revision: r2 - 2022-11-02 - UliRaich
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback