- You will need one Atmega32u4 (e.g. Arduino Leonardo).
As the following picture from the amazing CuriousInventor PS2 Interface Guide shows, PlayStation controllers use 9 pins:
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