Tags:
tag this topic
create new tag
view all tags
---+ 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
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2022-11-02
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
IoT_Course_English Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
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