AVR-Implemetented Game Controller Ian Tenney Paul Haugen

Download Report

Transcript AVR-Implemetented Game Controller Ian Tenney Paul Haugen

Research
Problem:
How does a controller communicate with a
PlayStation? There is no data sheet.
 Solution:
Observe how an official controller
communicates with a PlayStation, using a
Logic Analyzer.

Communication Protocol


Format:

SPI:
 Each transmission is
 MISO, MOSI, ATN, XCLK
5 – 9 bytes long, LSB.
 ACK each byte
except the last one.
 SPI / Full Duplex
 Also, the ACK line.
Commands:

Header:
 First 3 bytes:
Hello, Command, Slack
 12 Different
commands, 4
different Modes.
Standard Button Polling response in Digital Mode
Development

How we tested our
controller along the way:
 Connecting it to a PS2
 PC verification by
MotioninJoy Tool
 Debugging in the HID
Properties Tool
 Oscilloscope
Defined Goal:
Our objective was to mimic
the official ps2 controller’s
response to commands from
the PS2.
Circuit Schematic
DEMO
FUTURE ADDITIONS

Alternate Input Methods:
 Touchpads

Memory:
 Record & Playback

Macros:
 A string of predetermined
inputs from one button push
Acknowledgements

Resources:
 Curious Inventor:
http://store.curiousinventor.com/guides/PS2/
 Playstation.txt:
http://www.raphnet.net/electronique/psx_adaptor/Playstation.txt

Thank you:
 Professor Kruger – General Considerations
 Professor Maxted – Use of Logic Analyzer
 Matt Stuefen – Hardware Concerns