Quick Jump Daily Digest
Thank you for your interest in the Quick Jump Daily Digest. Get notified of all new content on QJ in our free Daily Digest. To subscribe, enter your email address below and click the subscribe button.
PSP Gamepad Mod |
Listed in: Homebrew Applications, Homebrew Development, Mods Tags: psp homebrews
The interface consists of an ATMega8 microcontroller, an IR diode and some resistors. Basically the microcontroller handles any changes of the Button states of the Gamepads and sends them immediatly to the PSP. A basic protocol was developed which can handle a 16 Buttons each for a maximum of 4 Gamepads.
The first step to be done for this Project was to send data to the PSP with the IR diode. Data transmission over infrared is very similar to transmission over the serial port. Each frame has a start- and a stop-bit, and the standard baud rate of the PSP is set to 9200. The difference to the standard serial protocol is that bits are determined as short pulses, and the byte to send has to be inverted.
For more accurate timing, a 16 Mhz crystal oscillator was used as clock source (lower frequencies will work too, you just have to recalculate the software delays. For calculating the delays i used the AVR Delay Generator. The routine for sending Data works like this:
Send start bit
Send the current data bit
Shift right the data byte (goto the step above until the whole byte is sent)
Send the stop bitThese 10 Bytes are called Frame. For a baud rate of 9200 bps, as one Frame contains 10 Bits with only 8 of them containing data, we get a resulting Bandwidth of 920 Bps, the duration of one Frame is therefore 1/920s. The rest of the timing calculations can be found in the assembler source.
The protocol used for updating the button states is fairly simple. Each Byte sent contains the adress of a button register stored in the upper 4 Bytes, with the register data in the lower 4 Bytes. This results in a total of 16 different 4-Bit Registers, 16 Bit for each gamepad.
Klesk has also released the source codes for this mod.
You can get it in our PSP Download section [here].
| This story sucks? This story rocks! |
|
|












Comments
Reply
Reply
Reply
Reply
And I find this to be quite useless. Although IR has alot of potential.
Reply
Im in the process of building a projector box for my PSP to throw the display up on the wall. I was only gonna use it to watch movies, but now I'll be able to play games as well!
Keep up the good work guys!
Reply
Reply