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

Offline folklord36

  • Research & Development
  • Acid Modder
  • *
  • Posts: 810
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #30 on: September 16, 2008, 07:38:40 AM »
man I love my chat pad I can't wait to see the rest of these devices compatible on the psp it is sooo useful and comfortable.

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 #31 on: September 16, 2008, 12:48:07 PM »
Well here is the proof of concept you have been waiting for

This is the prototype USB Host to serial interface



This is a AT90USB1287 chip from Atmel. IT has not only a
standard USB device interface but it has the USB Host
interface.

This is their prototype board that sells for $34.00 and
is ready to run as it comes from Digikey, Mouser, or
Arrow.

I placed it in a box to make it easier to handle as the
entire proto board is only 3 inches by 1 inch.

The two connectors on the front of the board allow me to
plug in cables. One to the PSP and another to a RS232
converter so I can send data to the PC.

I currently have completed the USB mouse driver and a
USB Keyboard driver. I am currently debugging the gamepad
drivers for the XBOX 360 wireless gamepad, the PS2/PS3
wireless gamepad, and the Logitech Wingman wireless gamepad.

All of the interfaces require the installation of Pikey
onto your PSP.

THERE ARE NO HARDWARE MODS TO THE PSP AT ALL!

IT works on both the Phat and the Slim

Here is a picture of the cables that I have made up to
work with the PSP Phat.



Again there are no hardware mods to anything. The keyboard,
mouse, joysticks are stock USB devices. That means when you are
not using them with your PSP you can use them other places.

I am working on the Pikey software to make the key mapping work
with my system. The external keyboard or gamepads will be able
to map to ANY PSP internal button or joystick. You will be able
to have multiple mapping files, one for each game of your choice
and map the buttons/sticks any way you want.

Enough talk, here is a video showing the system in action. The
final design will not have a battery, I am putting together a
2.5/1.8 volt to 5 volt converter so everything is powered from
the PSP.

http://www.youtube.com/v/rGGgBuRJFeg" type="application/x-shockwave-flash" width="425" height="350"

Now that you have seen it, I will also say that yes I have tested
a USB hard drive on this interface and can we say Sloooooooooooow.

It was never intended to do hard drives through the serial port
anyway, but I did it to say yes it can be done. Besides I had the
driver code for a mass storage device.

The interface for an internal versions the one square chip in
the middle of the board and a crystal. Small enough to put inside
the PSP WITHOUT taking out your UMD drive.

Also the device comes with a boot loader that allows the chip
to be flash programmed from your PC without a jtag device.
How is that for cool !!!

You can embed the chip in your PSP and then plug in a cable that
will connect to the PC and program the memory in it. So as we
come up with more drivers and software all I will have to do
is the same we do for a PSP, post the files and program your
device.

By the way, this chip also has 38 more unused pins on it.
Any of the pins can be programmed to do other functions like
control LEDs or other things inside the PSP and then could
be controlled by the keyboard, mouse, or gamepad. Some of the
extra inputs are A/D converters and I was thinking since we
are already plugged into the headphone/serial plug, it might
be nice to do an amp in the external box with a computer
controlled sub woofer .......

All of the code for this and further devices built on it will
be open source. It is all written in commented "C" code so you
can modify it to your hearts desire. The Atmel development
system is FREE and includes the "C" compiler. It is a integrated
development system with a simulator so you can build your code,
simulate it to debug and then plug in the AT90USB1287 chip
and program it.


Offline LUDATIC81

  • Chief squatting Hard
  • *
  • Posts: 14
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #32 on: September 16, 2008, 02:02:04 PM »
 :clap: This is awesome. just one thing can you post a shopping list real quick so i can pick everything up and set it up. i know i need the atmel how bout the rs232 converter and the two connectors. i appriciate it and again awesome work.
"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 #33 on: September 16, 2008, 02:29:56 PM »
You can use any type of connector that you want.These jacks happen to be from an old
sound board that I had and the connectors are from the cable that runs from the sound
board to the cd or DVD rom in a computer.

The rs232 adapter is from ebay and is a tiny unit the size of a serial connector. You only
need this if you are going to write your own code. I feed that into serial port monitoring
software that allows me to see the data I am sending out as well as see some debug messages
I have embedded in the data stream.

I will start posting the test software in a couple of days so people can work on it themselves.

The IDE programming environment is available free at www.atmel.com and I am using Ver 4.14
the latest version.

I also use the Atmel JtagIce MKII but that allows me to look in the device drivers as I write
them. They are $300 and you would only need one if you were really into it.

Here is the demo board:

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3879

Here is the IDE programming environment:

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725

Here is the programmer software to flash the code through the usb port

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886

Just so you can see it this is the JtagIce MKII

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3353

Here is the Rs232 converter if you want:

http://search.ebay.com/max232_W0QQcatrefZC6QQdfspZ32QQfromZR40QQfsooZ1QQfsopZ34QQftrtZ1QQftrvZ1QQsabfmtsZ1QQsacatZQ2d1QQsaobfmtsZinsifQQsbrsrtZd




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 #34 on: September 16, 2008, 09:11:10 PM »
it's great to see a lot of progress!  I can't believe that we can have a ps2 controller on a psp without opening it up. GREAT WORK!

Offline folklord36

  • Research & Development
  • Acid Modder
  • *
  • Posts: 810
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #35 on: September 18, 2008, 08:03:30 AM »
hmmmmm I'm soooo conflicted here I want to say this is the best psp mod ever released (so far hehe :winker:) completely openly with such a user friendly interface no mods required at all to psp some people including me have spent days routing wire trough our psps to have this capability and it was no where near as effective as this with integrated OSK features and the fact that the days of work have been eliminated and wireless devices too but there are so many other good mods. Ok I have decided this is the BEST soft mod since CFW  :#1: since it is technically a completely soft mod as long as you don't internalize 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 #36 on: September 18, 2008, 09:53:51 AM »
Just wait till you see the next revision

I have written device drivers before and when I started this I completely forgot
that I would have to write the device drivers for everything we are going to connect
to.

The remapping software runs in the external cpu flash memory. The joystick
maps to keyboard keys and outputs keystrokes very much like the remote joy
did.

I will have to write an app for the PSP that will download the new mappings out the
serial port to store them in the AVR processor.

The keyboard works in all games and in the xmb but any of the apps the ZX-81 did
read the ir keyboard input directly so do not work.

That is why ir keyboards do not work on the PSP 2000 or 3000 because there
is no ir port.

Trying to figure out a way to fake the ir software into thinking the keys came in
a virtual ir port so the other software works with out keyboard.

All USB keyboards output unique scan codes and I am translating them to ascii.
I think it would make the system much better to be able to let people mod the
translation table instead of the mapping file. I also want to dig into the Pikey
software so I can tell what mode the PSP is in so I can have different mappings
for the xmb or irshell, the games, and the homebrew.

All gamepads output a mapping table. I am reading that table and mapping that table
into memory and then writing a routing that reads the table and sends ascii strings
depending on the mapping of the gamepad table to the PSP.

If this all sounds complex, it sort of is, but if I do it all in the external cpu
then I reduce the amount of resources that are required by the PSP and the more
compatible they are with everything else the PSP runs including irshell.

Also  then any app that wants to support external devices only has to read ascii data
from the serial port. Makes it very simple for all the software developers to use and
incorporate these mods into their software.


Offline ryan0

  • I EAT STUFF
  • Millennium Poster
  • *
  • Posts: 1128
  • Post quality +0/-0
  • Gender: Male
  • I LIEK CHEEEEZE
Re: No mod PSP joystick
« Reply #37 on: September 18, 2008, 09:59:36 AM »
wow,I am absolutely speechless,I wish my Dad was as cool as you!I think I've fallen in love with you :O XD.Its brilliant how this will be programmable so people who want to add their own controllers can,or if like me you just want to practice your coding on it then you can.You are a true inspiration,don't leave any time soon.
ryan0
Derp.

Offline Electro

  • E = MC²
  • *
  • Posts: 315
  • Post quality +8/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #38 on: September 18, 2008, 04:38:59 PM »
Amazing job gr8npwrfl this is turning out to be really good.  :tup:

 :drunk:

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 #39 on: September 18, 2008, 06:12:53 PM »
Let me tickle your imagination a little.

Since we already bring out the audio on the serial connector. And we have ten A/D converters
left over in the CPU. Why not do frequency discrimination in software and build an amplifier for
the PSP that has a true sub woofer ?

My current mouse and keyboard driver take up less than 3 K of space. There is 128k of program
space in this processor.

I have the gamepad mapping working already. The image of the entire button and joystick is now
placed in a memory map. Then a separate small program that I am writing now reads the map
looks for change and then will send out the corresponding keystroke that is mapped to that function.

I am working on the xbox 360 wireless gamepad first as this one most interests me. I am working
on the protocol for the chatpad keyboard AND the headset/microphone. Feed the audio to the headset
and the microphone back to the PSP.

I have not seen any new articles on the touch screen that was being done. With the extra A/D converters
that are on this chip, we could connect the touchscreen to the analogue inputs and map it to
keystrokes. It would then work with almost all the existing software.   :tup:

Also this is only an eight bit processor, I can move up to a 32 bit processor at any time if we need the
horsepower.

Like I said before the chip, crystal, and the connector are all that are being used by this mod. We can do
a board that fits inside the PSP if you want.

We could have the two versions one for modders, one for users and they would be software compatible.

Yes I think I am getting more excited about this than the USB/Mass storage mod. I will keep working on that
just right now I am at a lul waiting for the proto boards to get back.


Offline ryan0

  • I EAT STUFF
  • Millennium Poster
  • *
  • Posts: 1128
  • Post quality +0/-0
  • Gender: Male
  • I LIEK CHEEEEZE
Re: No mod PSP joystick
« Reply #40 on: September 19, 2008, 08:03:35 AM »
hey gr8,if you don't mind me asking what equiptment/software do you use for analysing the packets from the controllers?I wanna get ready for this mod to be finished and write some drivers for various other controllers
Derp.

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 #41 on: September 19, 2008, 10:27:48 AM »
I use HDD Software serial port monitor that is free, then I use their USB monitor that is not free

Most devices you want to write drivers for, the packets are already documented if you look
on the internet.

I only use the monitoring software to check the incoming data when I first write the driver
to make sure I am not losing any incoming data


Offline ryan0

  • I EAT STUFF
  • Millennium Poster
  • *
  • Posts: 1128
  • Post quality +0/-0
  • Gender: Male
  • I LIEK CHEEEEZE
Re: No mod PSP joystick
« Reply #42 on: September 19, 2008, 11:48:17 AM »
Derp.

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 #43 on: September 20, 2008, 09:51:41 AM »
You do not even need my interface to make one of those work.

Just buy the serial version, make up an adapter cable and you are
working. Th serial version already puts out the format the psp needs.

You will have to use a max3232 to convert the rs232 levels to what
the PSP needs you can get the schematics for that here:

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

This powers the interface chip from the PSP and you can then just
plug in the laser keyboard and install Pikey and you are off
and running


Offline megaman987

  • Chief squatting Hard
  • *
  • Posts: 13
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #44 on: September 20, 2008, 09:56:55 PM »
Wow its amazing how you people can actually do all this to a psp i bet sony thought its psp would do this lol

Offline l0rdnic0

  • 2%
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1836
  • Post quality +8/-0
  • Gender: Male
  • TeamCYBER

Re: No mod PSP joystick
« Reply #45 on: September 21, 2008, 09:55:57 PM »
Trying to figure out a way to fake the ir software into thinking the keys came in
a virtual ir port so the other software works with out keyboard.

I know you know that you have me frothing at the mouth!!!!

 :#1: A+ man, A+


L0rdNiC0 Pioneering Mods on the PSP Slim :taunt:
Sound Mod, Button LED Mod, Security Mod, Dual NUB, Mode Select Switch + More

Offline LUDATIC81

  • Chief squatting Hard
  • *
  • Posts: 14
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #46 on: September 24, 2008, 09:37:29 AM »
got the atmel in the mail this weekend, any idea when this will be done and ready to post for all to enjoy?  :drunk: cheers
"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 #47 on: September 25, 2008, 01:03:11 AM »
Install the development studio first.

Goto the MyUSB forums and download the demos

Try playing with the demos and I will post the wiring diagrams for the demo to the PSP
before this weekend.

You will want to have a headset remote control you can steal the cable from
so you have the plug that goes to the PSP.


Offline Rory

  • ZOMG, A Deda!!!!!
  • Club AM VIP
  • Acid Modder
  • *
  • Posts: 641
  • Post quality +0/-0
  • Gender: Male
  • Eyy lmao
Re: No mod PSP joystick
« Reply #48 on: September 25, 2008, 03:03:25 AM »
What I find funny is you claim its TOTALLY unmodified. *Cough* "Clear shell with funky buttons" *Cough* :D?
Awesome news man.

You really do kick ass, but I'm wondering  if you actually have a life :P jk jk.
Stick some of these in stores, branded "Acidmods" and that would be so awesome. I would buy 20 just because its branded AM XD.

You rock ;)
Quote from: IndyChav
I think that the king of spam should be immune to the punishment for posting spam everywhere, so post away Rory :tup:
Quote from: FreeK
couldnt of said it any better.

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 #49 on: September 25, 2008, 09:18:32 PM »
I am only spending about 5 to 6 hours a week on this project.

It looks like more because a lot of it is spill over from another project
that I get paid to work on.

I guess I should have stated that there were no wiring changes to the
PSP instead of just unmodified. So many people have given me grief over
that.


Offline LUDATIC81

  • Chief squatting Hard
  • *
  • Posts: 14
  • Post quality +0/-0
  • Gender: Male
Re: No mod PSP joystick
« Reply #50 on: September 26, 2008, 09:46:56 AM »
To hell with the people that cant read and open their mouths before they understand what they're looking at, thats why i choose to read instead of posting a thousand questions that a thousand people have already asked. i would hate to fall in the ranks of the helpless. anyway i appriciate your work, i have the development studio installed and flip, i was looking in the files that came on the atmel usb key and it talks about a joystick mouse demo i have also searched google and this site for MyUSB forums maybe im missing something but i cant seem to find it. i didnt have alot of time to look in the files on the atmel ill look agin this weekend and read all the good stuff on there. im not exactly a veteran when it comes to this kind of work. agin i appriciate your work. 

"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 #51 on: September 26, 2008, 11:05:25 AM »
That demo is already programmed into the at90usb key.

Plug the board into your PC and it should see it as a new
HID device and then the little joystick will control your
cursor on your PC.

In order to get the source code you have to sign a non
disclosure agreement with Atmel. Don't bother with the
Atmel code as it is a pain in the ass to work with.

Go here:

http://www.fourwalledcubicle.com/MyUSB.php

This is the starting base for MyUSB which has better demos
and all the source code without all the hassles. There is
also an open source library that you can link your own
applications to.

The support group where you can ask questions about the software
is in the link at the bottom of the page.

At the bottom of the page sign up for the user's group and
it will give you access to all the people working with the software
as well as the author of it all.

Also there is a user's group that pertains to all AVR (Atmel) parts
and development at:

http://www.avrfreaks.net/

They are a little uppity and will give you a little grief about
simple questions. This is because as you said many people
come there without any reading and ask incessant questions
that are covered if a person would just read. If you want to
learn something they are more than happy to point you to
a link that will contain the reading material about the question
you have.

Any of the applications and demos compile correctly from the
development system without errors.

Just follow these simple steps and you won't have a problem.

1.  Use the wizard to start a project with the same name as
     the demo.
2.  Delete the empty .C file the wizard creates
3.  You will see folders created for the source, header, external
     dependencies, and other files.
4.  Highlight the Source Files and right click it
5.  Add source files by navigating to the directory you installed the
     library to.
6.  Highlight all the .C files and import
7.  Highlight the Header files and right click it.
8.  Add the header files by navigating to the directory you installed
     the library to.
9.  Highlight all the .H files and import
10. Click on the Project header label
11. Select configuration options
12. Check the box that says use external Makefile
13. Navigate to the demo directory you are building
14. Select the Makefile and import it.
15. Note: you will now have an entry in the folder Other Files.
16. Now when you select build it will build your project without errors.
17. You can now use the simulated debugger or you can run Flip to program
     your device.

I spent many hours figuring this all out to make things work. The only
drawback to this development system is there is not an overall tutorial on
building your first project.

This should save you a whole bunch of questions and time trying to
figure this all out. I will do a tutorial and post it so that other people
that want to work with this system can without pulling out all their hair.

It seems most people that progress to AVR processors have used the
PIC before or some other embedded processors before. It still is a
daunting task to figure it all out.

This should make it easier and more enjoyable.



Offline Knightsofwar210

  • Ω Allumnist Ω
  • *
  • Posts: 136
  • Post quality +0/-0
  • Gender: Male
    • Knightsofwar210site
Re: No mod PSP joystick
« Reply #52 on: September 26, 2008, 12:35:09 PM »
 :tup: Dude you are awesome!!! So now I can use the micro computer I found here right? http://usb.brando.com.hk/prod_detail.php?prod_id=00666

How much do you think this will all cost in the end for someone like me to do 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 #53 on: September 26, 2008, 08:53:05 PM »
Yes you can use that keyboard.

If you want to buy a cpu it costs $34.00

if you want to build one an put it inside the PSP it will cost about $25.00

The keyboard is working, the mouse is working and we are still working on the usb joysticks

We have made a breakthrough with the chatpad on the joystick, we are starting to get the
keyboard to talk while the joystick is plugged in.


Offline Knightsofwar210

  • Ω Allumnist Ω
  • *
  • Posts: 136
  • Post quality +0/-0
  • Gender: Male
    • Knightsofwar210site
Re: No mod PSP joystick
« Reply #54 on: September 29, 2008, 12:00:01 PM »
Yes you can use that keyboard.

If you want to buy a cpu it costs $34.00

if you want to build one an put it inside the PSP it will cost about $25.00

The keyboard is working, the mouse is working and we are still working on the usb joysticks

We have made a breakthrough with the chatpad on the joystick, we are starting to get the
keyboard to talk while the joystick is plugged in.

What do I need to build one that can fit inside of my psp?

Offline abcminiuser

  • Guppy
  • *
  • Posts: 7
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #55 on: September 29, 2008, 04:00:59 PM »
gr8npwrfl: Would you like me to start including AVRStudio projects with each new MyUSB release, so that those who want a double-click solution will work? I'd want to use the existing project makefiles, but it would at least prevent problems with misconfigurations in the project setup.

Quote
What do I need to build one that can fit inside of my psp?

You'd need the raw AT90USB1287 IC (chip), a bunch of tiny surface mount resistors, and a few other odds and ends. I'm not certain what the power source for a PSP is -- if it's 5V or so it could be used to power the chip internally (if it's less you're in trouble unless you have an external secondary source, if more you'd need a small regulator). How much room is in a typical PSP?

- Dean (author of MyUSB)

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 #56 on: September 29, 2008, 05:52:04 PM »
Hey Dean great to see you here.

The PSP 1000 runs 2.5 volts and I am doing a DC to dc converter to power the USB.

Yes Please include in your release and I am uploading the modified code to the source
tree so all the code is in one spot.

I am almost done with the Xbox 360 driver and the side effect of that is the same
driver also runs the Guitar and the Steering Wheel.

That will be a separate tree that I will upload to the library.

Also for everyone there has been a breakthrough on the Xbox chatpad and
we are now turning the lighting on and off and starting to get keyboard output
from the chatpad through the Xbox controller on the USB.

I have found the bug in the Pikey driver that did not allow mapping, so I am working
on that so any gamepad key or joystick can map to any PSP button or joystick.

And yes you will be able to map the right joytick to the right button pad so you
can play first person shooters with the joysticks.



Offline abcminiuser

  • Guppy
  • *
  • Posts: 7
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #57 on: September 30, 2008, 04:27:55 AM »
Right, the next release (1.5.3) will contain AVRStudio projects for each demo and bootloader. The projects use the existing makefile and only have the demo sources (not the library sources) for simplicity and maintainability - that means its easy to edit the demo sources and rebuild with one click.

Is your code based off the Keyboard demo with the HID descriptor parser, or are you using fixed report structures (normal Keyboard demo)?

- Dean

Offline Knightsofwar210

  • Ω Allumnist Ω
  • *
  • Posts: 136
  • Post quality +0/-0
  • Gender: Male
    • Knightsofwar210site
Re: No mod PSP joystick
« Reply #58 on: September 30, 2008, 03:58:59 PM »
So can anyone give me a list of items that I need to buy in order to connect my usb keyboard to my psp? I already have the keyboard and the serial port from my origional psp remote, oh and can I have 2 usb things connected at once? Like a mouse and a keyboard or is it only just one at a time?

Offline abcminiuser

  • Guppy
  • *
  • Posts: 7
  • Post quality +0/-0
Re: No mod PSP joystick
« Reply #59 on: September 30, 2008, 04:31:29 PM »
Quote
So can anyone give me a list of items that I need to buy in order to connect my usb keyboard to my psp? I already have the keyboard and the serial port from my origional psp remote.

You'll need an "AT90USBKEY" board, typically around US$35. Find the cheapest sell, and order from them -- DigiKey and Mouser have them, but they're not always the cheapest resellers. Actually, *ANY* board with the AT90USB1287, AT90USB1286, AT90USB647 or AT90USB646 microcontrollers will work, as my code is completely portable and those are the microcontrollers supporting USB host mode. Don't by one with the AT90USB162 or AT90USB82, as those microcontrollers are USB device only. The AT90USBKEY board uses an AT90USB1287 microcontroller, Atmel's biggest and most powerful.

The USBKEY comes with an adapter already, so the only missing component (from what I can see from GR8's project) is his firmware to load into the device, and a cable to connect it to the PSP. I'm sure he'll chime in and give wiring details as I don't have (and can't afford!) a PSP, and thus am completely unfamiliar with its internals.

Also, you'll need to add salt to taste.

Quote
Oh and can I have 2 usb things connected at once? Like a mouse and a keyboard or is it only just one at a time?

Sorry, one at a time. Most small USB microcontrollers implement something called a "Reduced Host Mode" (AKA USB OTG) which allows it to act as a host or device to another single connected device only -- it's designed for applications such as connecting a camera (USB OTG) to a printer (USB device) so that you don't need a host computer to print off pictures. It can act as a regular host to another device, but doesn't have the complicated SPLIT token functionality that lets it control a USB hub.

- Dean

 

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