Skip to content

AZO234/Arduino_PSXPad

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

PSX(Play Station 1/2) pad library for Arduino IDE by AZO

version: v1.0.2(Apr 12, 2017)
http://domisan.sakura.ne.jp/

This library is PSX(Play Station 1/2) pads connect with SPI bus for Arduino IDE(Arduino/AVR).
Other than Attention(SS) almost wire is common, then micro-controler can connect to many pads.

All PSX pad can be gotten digital keys state.(PSXPAD_KEYSTATE_DIGITAL)
PS1(with analog) pad can be gotten analog stick value.(PSXPAD_KEYSTATE_ANALOG1)
PS2 pad can be gotten analog key value.(PSXPAD_KEYSTATE_ANALOG2)

Pins connection

PSX(PS1/2) controller pins (not PSX's socket, pad side)
123 456 789
(...|...|...)

[for Arduino]
1 : DAT -> Arduino 12 MISO [need pullup by 1k owm registor to 5V]
2 : CMD -> Arduino 11 MOSI
3 : 9V (for motor, If you not necessary NC)
4 : GND
5 : 3.3V
6 : Attention -> Arduino 2 DigitalPin
7 : SCK -> Arduino 13 SCK
8 : NC (Non Connect)
9 : ACK -> (Not use)

[for ATmega88P/168P/328P 3.3V powered]
1 : DAT -> 18 MISO [need pullup 1k owm registor to 3.3V]
2 : CMD -> 17 MOSI
3 : 9V (for motor, If you not necessary NC)
4 : GND
5 : 3.3V
6 : SEL -> 2 DigitalPin
7 : SCK -> 19 SCK
8 : NC (Non Connect)
9 : ACK -> (Not use)

Reference

About

PSX(Play Station 1/2) pad library for Arduino IDE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages