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.

ps2_controller.png

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_connections.png

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

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng ps2_connections.png r1 manage 95.1 K 2022-11-02 - 14:16 UliRaich  
PNGpng 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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback