Author Topic: No mod PSP joystick  (Read 44075 times)

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
No mod PSP joystick
« on: August 21, 2008, 08:58:12 PM »
Well the development board came in.



I am using a PIC18F4550 processor with USB host built into it.

I have three game pads

1. Xbox 360 Wireless USB gamepad with the chatpad attached
2. PS2/PS3 wireless USB gamepad
3. Logitech Wingman Wireless USB gamepad

I already have the usb stack installed into the pic along with the HID drivers installed

I can see all three joysticks when they are plugged into the USB and can read
the data packets they send.

I have programmed the serial port on the PIC to 4800 baud N81
Which is the speed the PSP communicates at.

I have it run into my PC for now and I am writing the code to take the USB packets
and send them out the serial port.

The information is sent in the serial/headphone port of the PSP and it is accepted
by a blend of Pikey and reampsp.

Any button on the gamepad will be able to map to an internal PSP button.
They are logic ored with the internal buttons so both the internal and the gamepad
are both active at the same time.

The same way that remapsp kept mapping files, my program does the same so you
can change what gamepad button or joystick is mapped to what PSP button or joystick.

I should be able to have the basic system running and do a proof of concept by
next week.

BTW, It looks like the chatpad will work as a complete keyboard for the PSP
« Last Edit: August 21, 2008, 08:59:50 PM by gr8npwrfl »


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: No mod PSP joystick
« Reply #1 on: August 21, 2008, 09:31:34 PM »
Oh boy progress! I can't wait for this to happen I always wanted a DS3 on my psp. Hey gr8pwrfl can you get it so it can rumble at a certain sound length? that would be so awesome.

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #2 on: August 21, 2008, 09:37:53 PM »
Seeing as we already bringing  the audio out the the board.

We could do a small amp that does a frequency cutoff just like we separate
the sound for a sub woofer amp. Make a detector that says any sound below
a certain point will tell the rumble on the gamepad to turn on.

Yea that would work.

Then I can do a good small amp to run speakers that plug into the interface.
For that fact you could run three speakers with one being a sub woofer.
« Last Edit: August 21, 2008, 09:46:23 PM by gr8npwrfl »


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: No mod PSP joystick
« Reply #3 on: August 21, 2008, 09:52:47 PM »
sweet that would be awesome. thanks a bunch gr8npwrfl
EDIT: will this also work on the slim? or will you need a different board? I know the slim takes a different plug but I don't know if that's it.
« Last Edit: August 21, 2008, 09:54:47 PM by dslitemodder »

Offline Electro

  • E = MC²
  • *
  • Posts: 315
  • Post quality +8/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #4 on: August 21, 2008, 09:54:19 PM »
This looks great.

Can't wait to see this in action.   :tup:

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #5 on: August 21, 2008, 09:58:48 PM »
The regulator in the upper corner is there so we can set this up to do both

I will put a small header on the board so you can just plug in a different cable
and use either slim or phat.

It will be compatible with both. I just need to find a cheap slim to test with.


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: No mod PSP joystick
« Reply #6 on: August 21, 2008, 10:12:56 PM »
I already have the usb stack installed into the pic along with the HID drivers installed
hang I just though of something. since it has HID drivers installed (for pc keyboards/joysticks right?) does that mean we would be able to buy a usb joystick converter off of ebay and plug it in and work? like a snes to usb adaptor? or would we need drivers for each controller?

Offline PspKicks316

  • Acidmods Alumni
  • Mad Bomber
  • *
  • Posts: 5709
  • Post quality +5/-4
  • Gender: Male
Re: No mod PSP joystick
« Reply #7 on: August 21, 2008, 10:25:01 PM »
Once you've got this kickass mod up and running, you should make yourself a dock for it. Just sit it into the dock, it plugs in just like an iPod in an iHome kinda thing. On that dock is speakers, a subwoofer, and inside is this board and then you can plug in your controller and play!

Idea though, you know the wireless receiver for the PC that lets you use the 360 wireless controller with it? Could you plug that wireless receiver into the board and be able to use a WIRELESS CONTROLLER?! That would be sick, especially for that dock idea I said :3

Amazing job.

Offline pax

  • CyberPyrot WannaBe
  • *
  • Posts: 303
  • Post quality +0/-0
  • Gender: Male
  • Sig and Avatar by INDYCHASE
    • GAMING LAGOON - Join now for free prizes
Re: No mod PSP joystick
« Reply #8 on: August 22, 2008, 01:19:41 PM »
amazing man  :faint: :faint: :faint:

how much will you be selling these for?

GR8NPWRFL FOR  R&D

Guppy > Chief Squatting Hard > 1/2 Pint > Fart Sniffer > Tone Deff > Motor Mouth > Allumnist > King of the Wii-tards > Who Farted > Poker Champ > Chaos Lover > Bomb Maker > CyberPyrot Wannabe

Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
Re: No mod PSP joystick
« Reply #9 on: August 22, 2008, 02:11:01 PM »

Offline PspKicks316

  • Acidmods Alumni
  • Mad Bomber
  • *
  • Posts: 5709
  • Post quality +5/-4
  • Gender: Male
Re: No mod PSP joystick
« Reply #10 on: August 22, 2008, 02:59:17 PM »
GR8NPWRFL FOR  R&D
ADVANCE R&D
That needs to stop. First off, R&D isn't a privilege anymore. Anyone over a certain post count can see it, and most can post. So what's the point in being in some secret R&D group when any old senior member can post in there anyway? There was already a bull:censored: topic in SPAM and chat about making him R&D. I deleted it (This was a while ago)

You people don't seem to understand this, R&D is basically dead. And you people shouting out crap about wanting someone as a certain position does absolutely nothing. Your cries are ignored. You guys need to get that and stop spamming it.

Offline JWhiteLightning

  • BANNED
  • Motor Mouth
  • *
  • Posts: 77
  • Post quality +0/-0
  • Gender: Male
  • Because Im CWN
Re: No mod PSP joystick
« Reply #11 on: August 22, 2008, 03:30:48 PM »
Wow that is great Gr8. This isnt the same one for the XM4, is it? i thought you were using a different chip for that, the one off the nslu2, no?

GR8NPWRFL FOR SOMETHING THAT IS SECRET AND GOOD!!!

Is that your company, the QUMEX?

Nice job.

Offline PspKicks316

  • Acidmods Alumni
  • Mad Bomber
  • *
  • Posts: 5709
  • Post quality +5/-4
  • Gender: Male
Re: No mod PSP joystick
« Reply #12 on: August 22, 2008, 03:48:00 PM »
GR8NPWRFL FOR SOMETHING THAT IS SECRET AND GOOD!!!
Learn to read moron.

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #13 on: August 22, 2008, 03:59:50 PM »
First, titles don't mean anything to me. I do what I do because I enjoy it.

I am already on some private invite only boards that are run by the main people in modding, software
and CFW.

To your other questions.

I have a wireless PS2 joystick that the wireless receiver is plugged into a USB adapter. I got this from deal extreme as
a package for $24. It has the built in leds and lights up and all.

I have the Xbox 360 Wireless Controller with the chatpad attached and I am running the USB wireless adapter with it

I have a Logitech Wingman wireless controller that interfaces to the usb wireless receiver.

All three gamepads are wireless to usb.

I have a docking station that the PSP sits on and plugs into the headphone port and the charger.

If you do not want to run the amplifier the interface will run from the PSPs power. If you want to run the amp
you have to plug in external speakers and power. At that time the PSP can plug into the docking station and
the station plugs into the interface.

I am trying to make this interface portable so you can take your PSP with you and still use the joystick and keyboard
or mouse.

I was talking to some of my friends that work on custom firmware and I am going to put a Rs232 serial port in the interface
so that it can be used for debugging code or hooked up to a serial printer.

Status update:

Grrrrrrrr ran out of room for software, I have filled the built in rom on the PIC18F4550 and I have more software to write.
I am going to have to order the next size up CPU that has 4 times the storage and go from an 8 bit to 16 bit processor.

The funny part is the chips are only $.75 more.

This will take three to four days to get and I have ordered a new test board with the bigger chip. Another $60.00 to spend.

But the new chip has 10 A/d converters built into it so I can do the sound to rumble mod in software not hardware.

The 18f4550 has 32k of rom, the new chip has 256k of rom. Plenty of space for drivers.
I will also have to room to run the software to run a USB hub so you can have more than one
thing plugged in at a time.





Offline PspKicks316

  • Acidmods Alumni
  • Mad Bomber
  • *
  • Posts: 5709
  • Post quality +5/-4
  • Gender: Male
Re: No mod PSP joystick
« Reply #14 on: August 22, 2008, 04:04:01 PM »
Awesome! Keep up the good work man!

Offline Blizzrad

  • Chaos Lover
  • *
  • Posts: 267
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #15 on: August 22, 2008, 04:22:31 PM »
...This isnt the same one for the XM4, is it? i thought you were using a different chip for that, the one off the nslu2, no?...
...Is that your company, the QUMEX?...

The board in the picture is a USB ready PIC18F4550 dev board from Olimex.

This project just keeps getting more awesome with every update! I said it already in the other thread, but this is one I am really looking forward to. I had a few questions typed out, but I think you just answered all of them perfectly. If I can make one request though, please comment the code well. This way the not-so-great-and-powerless mortals like myself can try to learn from it. :laughing: Thanks for all the research, resources, and work you have put into this.

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #16 on: August 22, 2008, 07:52:06 PM »
This is the board that I have replaced the Olimex board with.



It has the PIC24FJ256GB110 MCU with 256KB Flash

Include the full blown C compiler

So we have gone 8 to 16 bit 32k to 256k flash

They say it will ship on monday



Offline ramayanalang

  • Chief squatting Hard
  • *
  • Posts: 19
  • Post quality +0/-0
  • Gender: Male
  • ouch
Re: No mod PSP joystick
« Reply #17 on: August 22, 2008, 08:25:27 PM »
nice!
i wonder if you replace the board, do you still need to debug it?

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #18 on: August 22, 2008, 11:55:43 PM »
I will use this board to debug the software.

Then when the software works and I do the proof of concept video, I will
then build the hardware that only has what is needed.

That way the development is cut in half, you are not trying to debug
two items at the same time.


Offline folklord36

  • Research & Development
  • Acid Modder
  • *
  • Posts: 810
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #19 on: August 26, 2008, 09:19:45 PM »
oh man I got my pic programmer! I cant wait to do this I'll order some of those PIC's tomarrow when I get my pc running again

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #20 on: August 26, 2008, 09:21:46 PM »
Here is a simpler solution to interfacing HID devices to the PSP

Without having to search for parts we can use this board.



It has everything we need to interface to the serial port as well
as having a usb host port on it.

You can not beat the price either. It sells for $31.95 in single
piece quanta ties.

The AT90USBKey provides the following features:

AT90USB QFN64

AVR Studio® software interface (1)

USB software interface for Device Firmware Upgrade (DFU boot loader) (2)

Power supply flagged by "VCC-ON" LED:
 
  regulated 3.3V
  from an external battery connector (for reduced host or OTG operation)
  from the USB interface (USB device bus powered application)

JTAG interface (connector not mounted):
 
  for on-chip ISP
  for on-chip debugging using JTAG ICE

Serial interfaces:
 
  1 USB full/low speed device/host/OTG interface

On-board resources:
 
  4+1-ways joystick
 
  2 Bi-Color LEDs
 
  temperature sensor
 
  serial data flash memories
 
  all microcontroller I/O ports access on 2x8pin headers (not mounted)

On-board RESET button

On-board HWB button to force boot loader section execution at reset.

System clock:
 
  8 MHz crystal

The headers make it easy to put connectors for interfacing or simple solder directly
to the board.

Software that I have already written only needs to be compiled for this board.

You do not have to build a processor board, it comes to you running with a usb
boot loader installed.

You do not have to buy a jtag programmer, it programs through the on board usb port.

The unit is flash based and can be reflashed to add additional features as we do them.

It is very small 3 inches by 1 inch, it will fit in the UMD driver bay if you want.

It includes the following items with it.



This is the board I am going to use for the serial joystick mod. So if you want
to get a jump on the game you can go ahead and order it from Mouser or Digikey.

The label for serial will just plug into the PSP serial port. If you have a
PSP Slim then you will have to build a small DC to DC converter circuit that
I will design to convert the 1.85 volts to 3.3 volts. The PSP Phat will have
a converter to change the 2.5 volts to 3.3 volts.

If you mount this board inside the PSP you will not have a voltage converter
board.

I don't know about you but it seems to me that by the time you were to buy all
the parts that are on this board you would spend the $30.00 anyway and you
have to make it run.



Offline DrgnSlyr

  • Chief squatting Hard
  • *
  • Posts: 24
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #21 on: September 01, 2008, 08:50:23 AM »
i got confused after reading the last few posts, hmmm, gr8npwrfl could u plz list me the component and items I need in order to do the mod after u finish everything?, i want to have everything prepared and ready :)

knowing that I'm not intending to use any game console controller, im just going to connect a switches (Arcade Action buttons) from my custom controller to use them as a controller.

Peace out.

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #22 on: September 03, 2008, 11:26:29 AM »
There is one connector that connects to the headphone/ serial port

There is one 1 inch by 3 inch printed circuit board that comes with connectors.

There is one case that is up to you.

That's it, that is the total parts for the no mod joystick other than your usb joystick.

My boards are due in tomorrow or Friday. Code is already compiled.

New Pikey is compiled and I am hooking up the PC through its serial port to test
that software right now.


Offline miceen0

  • ½ Pint
  • *
  • Posts: 38
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #23 on: September 03, 2008, 04:49:38 PM »
I'm excited, this is what I have been looking to do on my own for a while, except your way of doing this is alot better than how I was going to do it. I was going to have a similar external setup, but the controller was going to have to be modded.

You should post a tut when it is finished.

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #24 on: September 03, 2008, 04:55:51 PM »
I will be posting a tutorial and all the coding for both the PSP and the Amtel
processor.

The board you just purchase, I got several from Digikey for $39.00 including
shipping and handling.

The cable you get from DealExtreme for $5.00 as a audio remote control
and just take the cable from it.

Like I said I am testing it against an Xbox 360 wireless controller with chatpad,
PS2 wireless controller and a Logitech Wingman wireless controller.

They all have USB interfaces and will just plug into the usb host port on the
controller board.

Or you can unplug the gamepad and plug in a USB mouse or Keyboard.

We will add other projects as the tiny board had a/d converters and
30 more interface pins that can be used.


Offline everlasting_will

  • ♪♪♪ Tone deff ♪♪♪
  • *
  • Posts: 74
  • Post quality +0/-0
  • Gender: Male
    • BEPSP
Re: No mod PSP joystick
« Reply #25 on: September 05, 2008, 09:40:32 AM »
I am working with a friend in a kind of new creative mod (just an external mod, no internal modification of the psp), nothing to do with this though. But the thing is that we are going to interface the psp serial port attaching at it an RF reciever from sparkfun (a pack with both rx and tx), very cheap (10$ the pack) and quite small. I already thought about modifying the ps1 or ps2 controller for interfacing wirelessly with the PSP. I already have the step up converter (for powering the reciever from the PSP serial), waiting for the level shifter for the reciever too and some components.
I just saw this and i thought it would be quite cool to attach that board (the one from atmel) to the controller itself and use the serial on it for the transmitter, then in the psp the reciever and we will have a wireless controller.
« Last Edit: September 05, 2008, 09:55:50 AM by everlasting_will »
First Be then PSP !!


Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #26 on: September 06, 2008, 01:38:29 PM »
The new boards are in and I have downloaded the software to the board.

I have a mouse already running and pulsing the LEDs on the At90usb board

I am waiting for my in circuit debugger to arive on Tuesday so I can debug the
code. I am going to throw some code in to send a string to the PSP that types
my name to make sure the serial port is working and then Tuesday I can start
debugging the drivers for the joysticks and the keyboard.

I will post some new video of this project later toady.


Offline Tri-edge

  • I found Nemo!!
  • Around the block
  • *
  • Posts: 2381
  • Post quality +4/-0
  • Gender: Male
  • Azure knight
RE:
« Reply #27 on: September 06, 2008, 02:59:16 PM »
SWEET! keep up good work.  if it's small enough I will mount this inside my psp

Offline LUDATIC81

  • Chief squatting Hard
  • *
  • Posts: 14
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #28 on: September 09, 2008, 08:57:57 AM »
Just want to say great mod and love this site, dont be fooled by my low posts number im a reader not a talker, i find most of my questions have been answered if i read the entire post. i have all the parts needed for this in my shopping cart. i was wondering if this was going to be complete soon or a little later. you see im in the navy and my only private spot to enjoy free time is a 3 x 6 box called my rack. i want to mount my psp to the side of my metal box and then lay comfortably with a controller. so this is PERFECT! i guess im just asking if there is any updates or seperate threads on this. i know the last post is only 3 days old but im both anxious and curious to get this going, so i can further enjoy my metal box. thanks
"Whatsoever thy hand findeth to do, do it with thy might; for there is no work, nor device, nor knowledge, nor wisdom, in the grave, whither thou goest."

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: No mod PSP joystick
« Reply #29 on: September 09, 2008, 10:37:02 AM »
I am supposed to receive my in circuit debugger today. That will let me finish the code.

I will be a couple of days behind as I had a major system crash yesterday. I have a 1.5 terrabyte raid array
that is striped so I do not have to do backups. One of the drives in the raid array died and corrupted the
directories on the other ones. This is not supposed to happen with my configuration. I have recovered
all my programming and coding but it will take me a few days to build up all my tools and programs again.

I run three computers but they all connect to the same array, and it dying has killed all three of my computer
systems. I am running on a micro atx board right now running Ubuntu Linux. This just really pisses me off
as it took me several years to get my system exactly the way I wanted it. Oh well I am going to run down
and look at a new motherboard with a core 2 quad on it. May as well upgrade while I am at it.

Back to your questions.

I have the Atmel board running usb host. I have installed drivers for the usb mouse,keyboard,xbox 360 controller, ps2 controller, and Logitech wingman controllers. All the devices are wireless and I am just plugging
in their usb dongles.

The mouse driver is working correctly.
The keyboard is working 90% with Pikey

The gamepads are not working, I need to debug them

I am working on the keyboard mapping in pikey that is not working correctly.

The keyboard mapping is critical as the entire project depends on it.

The gamepads map to a keyboard key, The keyboard keys map to the PSP internal
buttons. So you can map any gamepad button or joystick to any internal PSP button.
You will be able to have different mappings for different games. You will run a small
utility to change which is the active mapping running for everything but the XMB,
it has its own mapping file.

I am working with the Xbox 360 chatpad to be the keyboard input to the psp while
the 360 controller is plugged in.

Some of my work is based on jean@pspdev.org's work with the chatpad and pikey.
We have a few bugs on certain programs that do not work that we are chasing.


 

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