1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-25 02:22:21 -05:00
Arduino-USB-HID-RetroJoysti.../playstation/README.md

28 lines
1.7 KiB
Markdown
Raw Normal View History

2023-11-12 17:46:20 -05:00
## Sony Playstation
## What do I need?
- You will need one [Atmega32u4](https://pt.aliexpress.com/item/New-Pro-Micro-ATmega32U4-5V-16MHz-Module-with-2-row-pin-header-For-Leonardo-best-quality/32273120508.html?spm=2114.13010608.0.0.Uv843y&detailNewVersion=&categoryId=400103) (e.g. Arduino Leonardo).
2023-11-12 17:48:04 -05:00
![playstation-adapter](Sony_Playstation_Multitap.jpg)
2023-11-14 12:08:14 -05:00
## Wiring the Controller
As the following picture from the [amazing CuriousInventor PS2 Interface Guide](https://store.curiousinventor.com/guides/PS2) shows, PlayStation controllers use 9 pins:
![PS2 Controller Pinout](https://store.curiousinventor.com/wp-content/uploads/2019/09/wiring.jpg)
| Pin # | Signal | Direction | Notes |
|-------|-------------|---------------------------|----------------|
| 1 | Data | Controller -> PlayStation | Open Collector |
| 2 | Command | PlayStation -> Controller | |
| 3 | Motor Power | | 7.5V |
| 4 | Ground | | |
| 5 | Power | | 3.6V |
| 6 | Attention | PlayStation -> Controller | |
| 7 | Clock | PlayStation -> Controller | |
| 8 | (Unknown) | | |
| 9 | Acknowledge | Controller -> PlayStation | Open Collector |
**You are advised not to rely on wire colors, but rather on pin positions**. The wires in the image come from an official Sony controller, I expect their colors to be fairly consistent among all Sony controllers, but you shouldn't really trust them.
-- documentation taken from https://github.com/SukkoPera/PsxNewLib