Poll

What do you guys think of the MOD?

SWEET!
20 (62.5%)
Great!
4 (12.5%)
GOOD
5 (15.6%)
OK.
2 (6.3%)
I can do better!   (Good, do it.)
1 (3.1%)

Total Members Voted: 30

Author Topic: PSP Joystick Via Remote Port! (Updated!)  (Read 24163 times)

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #30 on: August 02, 2008, 11:00:50 PM »
The source code for the PSP has been supplied to me.

I will work on a proof of concept and have a video and tutorial in a couple of weeks.

I am swamped trying to finish the tutorial for nethostfs on the NSLU2, I am not
slowing that project down.

The POC will be an external joystick plugged into the serial headphone port.
Running a remapping program to map the joystick buttons to the internal
buttons.

You will use mapping files so you can have different buttons mapped in different
games.

We now have both sides so we will proceed.


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #31 on: August 02, 2008, 11:10:21 PM »
sweet, I can't wait for a simple ps2 controller mod

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #32 on: August 02, 2008, 11:16:37 PM »
I was researching the code while I was doing some other things.

The original remapsp WILL remap the analogue controls !!!

So yes we will be able to use the analogue of an external joystick !

And the base code also has RAPID FIRE !

I will keep those functions


Offline nez

  • Granny Spanker
  • *
  • Posts: 516
  • Post quality +0/-0
  • Gender: Male
  • Pirate For Life
    • 13xic0n administrator\owner
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #33 on: August 03, 2008, 08:33:00 PM »
Man are you a robot you seam to be too good with all this stuff. What search engine do you use.
I cant wait sound like it will be sweet with a rapid fire feature.


Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #34 on: August 03, 2008, 08:58:45 PM »
I use google.

I used to teach a class on how to search the internet.

It is all out there for you if you just know how to search for it.

The serial mod:

Let me give you some links

Start here:

http://forums.ps2dev.org/viewtopic.php?t=986

Next here:

http://www.rmbwoc.com/vidpage/s9pin.html

Then here:

http://nil.rpc1.org/psp/remote.html

and Here:

http://forums.ps2dev.org/viewtopic.php?p=31634#31634

and here:

http://mc.pp.se/psp/phones.xhtml

http://pc-mobile.net/pspgps.htm

http://localhost.geek.nz/2007/01/25/remapsp-source-code/

Just some light reading.

If you know the GPS interface that was done for the PSP ?

I have the source code for that too. It allows unlimited serial communications
through the headphone jack. Remapsp remaps the psp internal buttons.
I have the source code for that too. So if I marry the two softwares together
we can take a small PIC and put it in a PS2 joystick, use one of the cables
I gave you the link to and we will have a complete functioning joystick that
we can map any way we want it for each individual game. No wiring inside
the PSP. Just plug and go, powered by the PSP !

How cool is that for a mod ?


Offline nez

  • Granny Spanker
  • *
  • Posts: 516
  • Post quality +0/-0
  • Gender: Male
  • Pirate For Life
    • 13xic0n administrator\owner
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #35 on: August 04, 2008, 04:48:06 PM »
that is way cool
 so do you use like the Google language when searching all the special fancy stuff.


Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #36 on: August 04, 2008, 08:33:20 PM »
Google and only google


Offline DrgnSlyr

  • Chief squatting Hard
  • *
  • Posts: 24
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #37 on: August 08, 2008, 03:15:07 PM »
C'mon ppl don't drop this development, this is a most wanted mod, to use an external controller
with no internal modding .. unbelievable, so .. gr8npwrfl where are u at now?
did u partially stopped working on this? u were waiting for the codes and no news since
u got them ... I just hope this project ends successfully. ^_^

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #38 on: August 08, 2008, 07:26:54 PM »
I am building a joystick right now

I am using a stock PS2 joystick.

I am embeding a PIC cpu in the joystick all wiring is in the joystick ONLY

The cable from the joystick to the PSP is a headphone remote cable

Both the PSP phat and PSP slim will be supported just different cable ends

The cable will plug into the headphone joystick port on the PSP and get
its power from the PSP.

You will load up a modified version of remapsp. So you can map any button
on the joystick to any button in the PSP. INCLUDING the analogue sticks.
The joystick buttons will be logic ORED with the internal buttons so they
are both active at the same time.

NO HARDWARE MODS TO THE PSP
ZERO
NONE
NADA

Once the joystick is built, you load up your favorite CFW and a custom remapsp.prx
and plug it in and you are flying.

Parts are already starting to arrive at my house.
I have even found a supplier for the cable end that fits the PSP 5 connectors for $10.00
You can then use the stock cable that is stress relieved into the controller that way.

Programming for the PIC is software that scans a key matrix that I already have written
for another project that is in production already and all the pic has to do is convert to
serial and send it to the PSP 4800 baud, no parity bits, 8 data bits and 1 stop bit.

The software for the PSP side is already written. As soon as I have all the parts it should
take me about a week to build the first unit and do a proof of concept video.
Then maybe a week to complete the tutorials on it.

Is that what you want to know ?


Offline folklord36

  • Research & Development
  • Acid Modder
  • *
  • Posts: 810
  • Post quality +0/-0
  • Gender: Male
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #39 on: August 08, 2008, 07:33:51 PM »
YES sounds great i can do write ups  :hifive:

Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #40 on: August 08, 2008, 07:36:32 PM »
be sure to tell when your done so I can do it  :drunk:

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #41 on: August 08, 2008, 07:54:10 PM »
I have my controller taken apart now and I am looking at it.

There is a lot of empty space here.

Since we are already plugged into the headphone port
what if we bring the audio up to the joystick so we can
amplify it and put a set of larger speakers in the joystick ?

Matter of fact if I use a pic with an A/D converter
I could frequency discriminate  the audio and make the
rumble work from the base that comes from the PSP
and make the rumble pad work also ?

It would work just like a sub woofer does, just instead
of going to a speaker we drive the rumble motor ?


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #42 on: August 08, 2008, 08:14:04 PM »
it would be cool, but for now all I want is a ps2 controller to work

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #43 on: August 08, 2008, 09:32:44 PM »
OK,

Even better, I found the code to read a ps2 controller.

If I can find some connectors we could put the small interface into a box
that plugs into the PSP headphone port and any stock ps2 compatible
controller would plug into our box.

NO WIRING IN EITHER CONTROLLER just a small adapter box !

Now where can I get a couple of ps2 joystick sockets ???????


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #44 on: August 08, 2008, 09:56:41 PM »
extension cords would be your cheapest bet. I'll see if I can find some on DX
EDIT: I couldn't find any on DX, but I did find a cheap 4 player adaptor that you could desolder the connectors off of.
http://www.dealextreme.com/details.dx/sku.4207
here is a lot of 12 extension cords on ebay
http://cgi.ebay.com/12-LOT-NEW-PS2-PLAY-STATION-2-BREAKAWAY-EXTENSION-6-FT_W0QQitemZ190242863544QQihZ009QQcategoryZ139969QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

I found this on ebay, there is this recoil ps2 extension cord that also has slots for gamecube and xbox, maybe you can get that use all three slots?  :dribble:
http://cgi.ebay.com/Recoil-10-Retractable-Extension-Cable-PS2-Xbox-GC-NEW_W0QQitemZ370074548973QQihZ024QQcategoryZ139969QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

« Last Edit: August 08, 2008, 10:17:11 PM by dslitemodder »

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #45 on: August 08, 2008, 11:40:25 PM »
Well I will let the cat out of the bag

I just ordered the wireless ps2 gamepad from DX tonight
This is the one that comes with the usb adapter

I am going to take the usb adapter and steal the connector from it.

I just ordered 5 pic 18LF4550 40 pin dip processors tonight

The processor has 3 serial ports and 13 10 bit A/D converters built in.

The PS2 wireless controller will plug into a small box.
One serial port will talk to the PS2 controller
Another serial port will talk to the PSP.

The left and right audio channels will get amplified and fed to two speakers
in the box.
The left and right audio channels will feed into two of the A/D converters

The PIC will convert all button functions of the PS2 controller and feed them
to the PSP into the modified remapsp program which will allow you to map any
button or joystick to any button or joystick in the PSP.

At the same time the PIC will do frequency discrimination on the audio
channels of the PSP and take any frequency of less the 100 cycles and convert
that to rumble on off commands to the joystick.

There will be a headphone cable from the box to the PSP getting the audio and
sending the data to the PSP.

The Joystick I will be running for the test will be WIRELESS
The small box will be totally powered from the PSP.

No mods in the PSP
No mods to the PS2 joystick
Just plug add software and play.
All soldering in remote box only.

Any PS2 compatible joystick will work, wired or wireless
You can have configuration files for different mapping for each game
Volume control for the external amp controlled by PSP volume control

I already have all the code for the PIC processor that has been tested
and talks to the PS2 joystick. The speed of the serial port was the
only software that had to change and I have made that already.

I have remapsp already working.

First pass will be just the joystick for Proof of Concept
Then I will add the amplifier and rumble to complete

BTW the PICs are $4.00 each in single quantities.


Offline DrgnSlyr

  • Chief squatting Hard
  • *
  • Posts: 24
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #46 on: August 09, 2008, 01:29:40 AM »
WOW .. FOKIN NOICE!

That's great mate, keep up the good work, we'll be waiting for the PoC video, im excited.


about the controller ... u said any PS2 compatible controller will work, well .. I need details here
the PS2 controllers uses DualShock2 PCB, but the PS2 also support DualShock1 PCB controllers
which are originally PS1's, now .. will the adapter box ur going to build will support it?
i mean the PS1 controller?, because those DualShock1 PCBs are the easiest to hack and wire out the button signals and ground to use them
for ur own custom built controller "Arcade stick for example" or any special controller like the
one im about to finish building.

http://arkadesticks.com/hackedpads/PSOneDualShockH.jpg
http://arkadesticks.com/hackedpads/wiredPSOneand3.3volt.jpg

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #47 on: August 09, 2008, 08:58:17 AM »
As far as I know right now without testing
If you can plug it in to a PS2 and use it
it will work on my mod



Offline folklord36

  • Research & Development
  • Acid Modder
  • *
  • Posts: 810
  • Post quality +0/-0
  • Gender: Male
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #48 on: August 09, 2008, 07:17:23 PM »
EHHM....If i may clarify for the all great and powerful modder Gr8npwrfl :hifive:


This project involves programming a pic with what essentially would be like drivers on a computer where mass storage is a driver that many devices work under such as ipods thumb drives and your psp acts as one with the mspd when plugged into a PC. The "drivers" on the pic will be ported versions of the original software on the PS2 that lets you use any type of controller and he can add the ones from a ps3 and ps1 so it can potently be compatible with any controller play station, xbox, game cube, and atari just depends on how much code ppl are willing to convert but ps2 controller alone is enough to play any games the psp will be able to emulate. So your homemade controller should work on psp and any other ps2 controllers you have will be plug and play no mods needed the pic will be inside the box you are plugging into that plugs into psp.

Offline Blizzrad

  • Chaos Lover
  • *
  • Posts: 267
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #49 on: August 09, 2008, 08:31:19 PM »
Excellent, a fully functional unmodified external Ps2 controller has always been one of the mods I have most wanted to see for the PSP. Gr8npwrfl, I assume you are working with the PIC18F4550 code and schematics from Curious Inventor for reading the Ps2 controller? Do you plan to power this from an additional battery in the box, or from another source?

There are commercially produced breakout cables for the Ps2 controllers that can be found on robotics sites for around $5.00 each, though there must be a source for just the connectors if they are used in low production products like this. The challenge there is also finding a source that allows single orders. I think dslitemodder has a good idea in cutting the female ends off some cheap extension cables. PC cd audio cables will also fit directly over the pins on the controller connector nicely for testing purposes.

DrgnSlyr, since you will be hardwiring the buttons for your project anyway, you can cut out the Ps2 controller and just read the button states directly from the PIC. I think there should be plenty of I/O pins left on the PIC18F4550 for what you want to do.
« Last Edit: July 22, 2009, 08:23:51 PM by Blizzrad »

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #50 on: August 09, 2008, 10:32:45 PM »
I ordered a new joystick from DX extreme it is the lightup wireless ps2 rumble pad.

It comes with the PS2 wireless adapter made to plug into the PS2
It also comes with a PS2 to usb adapter. I will take the PS2 to usb adapter and steal the
connector from it.

Because the 18F4550 has a usb host in it, I am going to put a usb connector on the box
and a ps2 keyboard connector on the box also.

anything low speed we then should be able to interface, as long as we can run
usb human interface drivers.

Also a standard pc keyboard should be able to plug in.

The 18F4550 has 32 i/o pins, what we don't use can be used for other interfacing
like someone wanted to do a DJ interface.

I also understand the code that I am using in the 18F4550 also will interface
to a guitar hero interface also.

I have full intention of leaving this entire interface wide open for other people to
use and interface to.

And maybe even a bluetooth dongle even ????

I will use a standard side prototyping board so there will be plenty of room
for extras.

I am a little worried about the audio amp, that might be a little much to
run from the PSP.

Hell I might even be willing to design a PCB for it and then you only have
to put the parts in you want.

I have one of the inexpensive charging stations from DX extreme. It has the
plug ins for the headphone and the charger, that could be mounted on top
a flat box the whole PSP sits on and interfaces to the plugs.


Offline Electro

  • E = MC²
  • *
  • Posts: 315
  • Post quality +8/-0
  • Gender: Male
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #51 on: August 11, 2008, 02:36:14 PM »
WOW I'm glad everyone has taken a great interest in this project.

Good luck to you gr8npwrfl.  :hifive:

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #52 on: August 12, 2008, 11:31:32 PM »
It's not really luck.

Not really something new.

Just putting together stuff that other people have done, and changing it a little


Offline Ombre

  • Guppy
  • *
  • Posts: 2
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #53 on: August 14, 2008, 01:32:33 AM »
I'm sorry if this question is overly stupid, but could you effectively use a multi-tap with your mod gr8npwrfl? I'm guessing the answer is no since you can probably only use the buttons that the psp already has, but I thought I'd register anyways just to ask.

Offline DrgnSlyr

  • Chief squatting Hard
  • *
  • Posts: 24
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #54 on: August 14, 2008, 03:57:20 PM »
didn't u make the PoC video yet Gr8npwrfl ?

Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #55 on: August 14, 2008, 04:07:28 PM »
he probably hasn't got his parts yet. it's only been a week, it takes long to get them from DX

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #56 on: August 14, 2008, 06:33:40 PM »
Ok what do you mean by multi-tap ?

Just got the connectors and PSP remotes. Haven't got the PIC's yet.

I will make a proof of concept video of typing on the PC hooked up
to the PSP through the serial port.

My joysticks shipped yesterday, still have not heard on the other parts yet


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #57 on: August 14, 2008, 07:06:18 PM »
you know how the ps2 has only two controller ports right? well the multi-tap is an adaptor that plugs into a controller port and gives it four more controller slots. it's like this.


Offline Blizzrad

  • Chaos Lover
  • *
  • Posts: 267
  • Post quality +0/-0
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #58 on: August 14, 2008, 09:53:10 PM »
I will make a proof of concept video of typing on the PC hooked up
to the PSP through the serial port.

Will you be modifying the psp_remote v1.00 code to send additional commands beyond emulation of the remote? Or using/coding something else? Not having a PSP remote, I have been using the psp_remote v1.00 app and serial line converter circuit (both located here) to try out remapsp with serial input.
« Last Edit: July 22, 2009, 08:20:00 PM by Blizzrad »

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Joystick Via Remote Port! (Coded Arms video added.)
« Reply #59 on: August 14, 2008, 10:17:46 PM »
The interface that I have laid out will accept a PC keyboard, a PS2/PS3 joystick and a stereo amp.

I have built that serial interface and have it running that you are showing.

The 4550 will be running the code to read an unmodified Joystick, I have taken part of remapsp and pikey
so that everything can be remapped in the PSP. I am adding the code to read a PC keyboard and send it to
Pikey so that any time the PSP calls for keyboard input. you can take the keyboard and type the input

You will be able to run multiple configuration files so you can have different mapping for different games.

I also was going to put a TTL serial connector so other people can interface whatever they want.

The mutli-tap that you are talking about requires drivers to be present to run. As the PSP is not a multi-player
console there was no use for the second joystick.

I intend to go straight to the 4550 chip and not do any steps in between time.




 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal