Acidmods
Console Modding------ ( Here you can talk about your favorite Consoles ) => PSP's => PSP Phat (1000) => Topic started by: gr8npwrfl on August 21, 2008, 08:58:12 PM
-
Well the development board came in.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Folimex.jpg&hash=9a593da83641727a9789463f9f5b856a104291d2)
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
-
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.
-
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.
-
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.
-
This looks great.
Can't wait to see this in action. :tup:
-
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.
-
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?
-
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.
-
amazing man :faint: :faint: :faint:
how much will you be selling these for?
GR8NPWRFL FOR R&D
-
GR8NPWRFL FOR R&D
ADVANCE R&D
-
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.
-
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.
-
GR8NPWRFL FOR SOMETHING THAT IS SECRET AND GOOD!!!
Learn to read moron.
-
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.
-
Awesome! Keep up the good work man!
-
...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 (http://www.olimex.com/dev/pic-usb-4550.html).
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.
-
This is the board that I have replaced the Olimex board with.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpic24f.png&hash=82d0028d6928b0c5f046eada5a37842eaaf6f5e0)
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
-
nice!
i wonder if you replace the board, do you still need to debug it?
-
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.
-
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
-
Here is a simpler solution to interfacing HID devices to the PSP
Without having to search for parts we can use this board.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FAT90USBKEY+COLOR.png&hash=f88d242a698dae7ce4b920d3f60e06704ca6e96c)
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.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FAT90USBKEY+EXTRAS.jpg&hash=381f05fcaecece7bc1d8aa26610bae3d4e8758e2)
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
SWEET! keep up good work. if it's small enough I will mount this inside my psp
-
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
-
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.
-
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.
-
Well here is the proof of concept you have been waiting for
This is the prototype USB Host to serial interface
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FSerial.jpg&hash=3614a06a159e9c64c144a5f7fa2bf1a3e8cb38a0)
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.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FSerial-Cables.jpg&hash=462650d4dbbfbb55138a69ab72ff866affbdb2ad)
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" (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.
-
: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.
-
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 (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 (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 (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 (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 (http://search.ebay.com/max232_W0QQcatrefZC6QQdfspZ32QQfromZR40QQfsooZ1QQfsopZ34QQftrtZ1QQftrvZ1QQsabfmtsZ1QQsacatZQ2d1QQsaobfmtsZinsifQQsbrsrtZd)
-
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!
-
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
-
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.
-
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
-
Amazing job gr8npwrfl this is turning out to be really good. :tup:
:drunk:
-
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.
-
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
-
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
-
imagine this one the psp :O : http://www.palminfocenter.com/view_story.asp?ID=6766 (http://www.palminfocenter.com/view_story.asp?ID=6766)
-
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 (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
-
Wow its amazing how you people can actually do all this to a psp i bet sony thought its psp would do this lol
-
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+
-
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
-
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.
-
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 ;)
-
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.
-
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.
-
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 (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/ (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.
-
: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?
-
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.
-
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?
-
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.
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)
-
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.
-
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
-
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?
-
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.
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
-
Oh okay, that's not a big deal the 2 usb devices thing, which one is the smallest chips? I have limited space to put it into my psp laptop :-) Thanks for your help.
-
By "size" I meant the capabilities (FLASH, SRAM, Peripherals etc.) rather than the physical size - they're all surface mount, and the physically largest one is only about 1.2cm square. However, if you do purchase the raw chip with the intention of mouting it *in* the PSP, I'd wait for GR8 to publish instructions and prove it is possible, as you'd also need a DC-DC converter, caps, connector, etc.
The USBKEY is 9cmx3cm, so it's reasonably small by itself. Not small enough to mount it inside anything, but not too large to be a burden next to a joystick, keyboard, etc.
- Dean
-
By "size" I meant the capabilities (FLASH, SRAM, Peripherals etc.) rather than the physical size - they're all surface mount, and the physically largest one is only about 1.2cm square. However, if you do purchase the raw chip with the intention of mouting it *in* the PSP, I'd wait for GR8 to publish instructions and prove it is possible, as you'd also need a DC-DC converter, caps, connector, etc.
The USBKEY is 9cmx3cm, so it's reasonably small by itself. Not small enough to mount it inside anything, but not too large to be a burden next to a joystick, keyboard, etc.
- Dean
Oh I was talking about physical size, 9cm x 3cm isn't bad I can fit it in then, so I'll buy that and then wait for GRB to provide us with the wiring schematics on how to attack the serial cord to the chip, sounds good then oh and how to attact it to a power source :-) Thanks for your help.
-
The USBKEY requires 8-15V input, and comes with a 9V battery adapter in the box. If GR8 designs a DC-DC converter to power it from the PSP, you would be able to power both the PSP and the board/USB device from the same battery. The USBKEY regular is a standard linear regulator however, and so there would be a bit of wasted power if it has to go PSP Battery->DC-DC Converter->Liner Regulator->Chip/USB device.
- Dean
-
Yes I am doing the wiring diagram to hook the at90usb key to the psp and I will post that tomorrow.
Dean is the creator of the USB library functions my applications are written on.
I have found the AT90USBKEY is the best board to play with in conjunction with the PSP
as all the parts it comes with make it easy to use. The only other thing you will need is
a cable from a remote headphone volume control.
Without building a DC to DC converter to power the USB devices you can use the
supplied 9 volt power plug and a 9 volt battery.
I will upload the schematic and wiring diagrams tomorrow.
-
Awesome! I just ordered that kit that you mentioned above, I can't wait! Oh and I bought if from digikey.com with like 1.50$ taxes with us mail first class mail, does anyone know how much first class mail is? It said unknown for all the different shipping types.
-
i bought the kit from mouser it said the same thing to me about postage it was like 5 to 7 bucks in the US wasnt a big deal.
-
i bought the kit from mouser it said the same thing to me about postage it was like 5 to 7 bucks in the US wasnt a big deal.
Oh okay that's not too bad thanks man :tup:
-
Digikey shipped my chip the same day I ordered it, Hey it's been a day now and I am eagerly awaiting the schematic :dribble:
Did you die? :confused:
-
No I did not die, I had to finish another project for work and it was crunch time.
I will be uploading the docs today.
I will add it to this post
-
No I did not die, I had to finish another project for work and it was crunch time.
I will be uploading the docs today.
I will add it to this post
I figured that happened, my dad has to work overtime all the time to finish his projects.
Edit: What version of Pikey do I need? My psp is running 4.01 M33-2.
dslitemodder: Please don't double post.
-
USB to Serial Wiring for AT90USB Demo Hardware Build and Setup
Required Tools:
1. Soldering Iron
2. Solder
3. Wire Strippers
4 Side Cutters
5. Static Wrist Strap
6. Small Jewelers Philips Screwdriver ( Same one used to open the PSP )
7. Small file, or sandpaper, or Dremmel
8. Ohm Meter to measure resistance
Note: If you need to know how to use your multimeter read my tutorial here:
https://www.acidmods.com/forum/index.php?topic=23202.0 (https://www.acidmods.com/forum/index.php?topic=23202.0)
Required Parts:
1. AT90USB Key Demo Board
1. Old PSP Headphone remote control
1. MAX3232CPE NOTE: Make sure this is the Maxim 2.5 volt part not the TI part
5. .01 uf ceramic capacitors
1. 16 Pin IC Socket
1. Small Piece of prototype board
1. DB9 Female Connector
3. 4 pin sockets of some kind
2. 4 pin plugs that mate to the sockets
1. Foot of 4 conductor wire.
1. 2" x 4" Case for AT90USB demo board
1. 2" x 2" Case for RS232 level converter
1. 26 to 30 guage wire wrap wire about 1 foot
1. Small Shrink tubing about 1/8 inch dia
1. Larger Shrink tubing about 1/2 inch dia
Required Software for the PSP
PiKEY for the PSP with the Serial Port Patches
Level of Difficulty: Moderate
Here is the schematic of the AT90USB demo board to PSP
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpsp2at90.jpg&hash=8959c6f788aea575b51fa81d9b8304fe82a8e61d)
Step One.
Note: You can buy the connectors at this website if you do not
want to tear apart a remote control:
http://pc-mobile.net/pspslim.htm (http://pc-mobile.net/pspslim.htm)
Prepare the Headphone/Serial Remote Cable:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpspremote.jpg&hash=e29d3dfc54ac95e83785c624a70fa895d0d464e1)
The Wire in the remote headphone controls is a material fiber with a single strand of
copper in it. The wire is very difficult to strip and tin to get ready for soldering.
It is much easier to use the tinned end that is already soldered inside the remote
control.
1. Turn unit over and remove the Screws from the remote control
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpspremote_back.jpg&hash=e7fe8b7557d55e8cb9253d2f995d0ba437275341)
2. Remove the case from the remote control
3. Unsolder the cable from the printed circuit board
4. Set the case and all the plastic parts aside, all you want is the cable
with the plug end on it for the PSP.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpspremote_plug.jpg&hash=f0f3dfd97fb25b89dcc0c01529605160782df256)
5. We are only going to use 4 wires on either the PSP 1000 or 2000 for right now
Step Two
Obtain the Connectors
You can use any four pin miniature connectors you want. I found the connectors
that are used to connect CD Rom drives to the computer sound cards work really
well as they are very tiny and strong as well as locking. I had an old sound
card laying around and I stole the connector jacks from that. The cable that runs
from the CD Rom to the sound card has the matching plugs on each end.
If you are going to build the RS232 level converter so you can hook your AT90USB
demo board up to your PC you will need two of these cables. One to run from
the demo board to the level converter and the other to get the plug from to put
on the end of your PSP cable.
Here is a picture of the sound board I took the connectors from
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fsound_board.jpg&hash=5ae8cb40165116319332ca5698a6b83a5a5ef07e)
Here is a picture of one of the connectors
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fsound_connector.jpg&hash=cfba3a9e80ab00aaca7a221e7a2fdf6504fecaf4)
Here is a picture of the jumper cable with connectors
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fjumper_cable.jpg&hash=54ab9dd6a8c572bbf55b1e4f8b6ad15b8686cd18)
Step Three
Putting the AT90USB demo board in a case:
The wire wrap wiring is fragile and will not take a lot of abuse. That is
why I mounted my AT90USB demo board in a temporary case. I purchased the case
from Radio Shack and it is a perfect fit for the demo board. With the board
mounted at the top of the case it leaves room for another board underneath,
( This is where we are going to install the DC to DC converter later ).
I am sorry I did not do pictures while I was building the case but will show
closeups of the completed case.
1. Trim the case cover screw posts down about a quarter inch.
( These are the four posts with holes in them the cover screws to )
This allows the demo board to set down in the top of the case slightly
2. Take your sandpaper, or file, or Dremmel and make small notches at the
corners of your demo board so you can see the holes in the mounting posts
that you cut down.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FAT90USBKEY_COLOR.jpg&hash=d0084b7a359ad2c5f0b23e58ba7e8029f33b9e66)
NOTE: Make sure and blow off the demo board when you are done as you may
have ground a little copper on the demo board and you do not want
to create any shorts.
3. Note the locations of the two main connectors on the demo board. One is the
9 volt power connector and the other is the USB connector.
A. Mark your case as we are going to make some slots in the case. Make sure
you mark how far the connector set into the case and add about a 1/10 of
an inch extra.
B. Remove the demo board and set aside.
C. Cut the plastic of the case to make your cutouts for the USB and Power.
D. Take two of the connector jacks that you obtained in Step Two and mark
the case on one of the long sides so the two connectors are spaced
equally lengthwise and about half way down from the top.
( make the hole tight as these connectors are not panel mount and we
will have to superglue them in place. )
E. Cut the holes for the two connectors in the case.
4. Take the Two four pin connectors and solder about 3 inches of wire wrap
wire to each pin of the connectors and let it stand out straight
5. Insert the two connectors through the holes you made for them in the case
and push them about 1/2 the way in. Super Glue the connectors in place.
6. The pins are numbered 1 to 4 starting at the left side of the connector
looking down from the top.
7. On the left connector fold the wire down on pin 4 and curl it up so it does
not touch anything. ( We will use this wire in future tutorials from the
DC to DC converter )
8. Jumper the left connector pins 1,2,3 over to the right connector pins 1,2,3
You are now left with the four wires sticking out from the right connector.
Fold them up along the side of the case so when you insert the demo board
they are sticking up in the air.
9. Insert the demo board and hold it in place with the four screws that were
made to hold the cover in place.
( The demo board is now captured in the case and won't move. )
Note: The connector we are using on the demo board is J4 it is located next
to the Jtag connector and is numbered like so:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fconn.jpg&hash=b932e4aecf988c36202dab0c949a1d2ae23d3c50)
10.A. Pin number 1 (on the connector) is ground and we are going to hook that
to the demo board at J4 Pin 2
B. Pin number 4 (on the connector) is 3 volts and we are going to hook that
to the demo board at J4 Pin 1
C. Pin number 2 (on the connector) is tx data and we are going to hook that
to the demo board at J4 Pin 7
D. Pin number 3 (on the connector) is rx data and we are going to hook that
to the demo board at J4 Pin 6
Here is a picture of the completed unit
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FSerial.jpg&hash=3614a06a159e9c64c144a5f7fa2bf1a3e8cb38a0)
Step Four
Making a PSP Connector Cable
Note: The colors of the wires vary according to who the manufacturer that
made the remote was. We will have to find the correct wire by using
our multi meter.
1. Use these pictures if you have a PSP 1000 (Phat)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fremocon.png&hash=8e80c4bca851d90f157f19f421a629ea0fb67f3a)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpsp1000_pinout.png&hash=445deba538af61fa83dba692d4b4644c51f17485)
2. Use these pictures if you have a PSP 2000 (Slim)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpsp2000_serial.jpg&hash=05125c53b890f7e4e8d1061137d363c7fd2eedb9)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpsp2000_pinout.png&hash=de4566ad6870b1fe86db41fa62fff936f15e9dc7)
A. Take the cable that you obtained in step one
B. Get your surplus CD Rom cable
C. Cut the wire to one end of the cable about 1 inch from the connector
D. Remove the outer jacket insulator exposing the four wires.
E. Get the two sizes of shrink tubing
1. Cut 3 1/2 inch pieces of shrink tubing small size
2. Cut 1 1 inch piece of shrink tube larger size
3. Slide the larger shrink tube over the PSP cable
F. Find the wire that comes from the psp connector ground slide one
of the small pieces of shrink tube over the wire. Solder that
to the wire that comes from the CD plug pin 1 and then shrink
the tubing.
G. Find the wire that comes from the psp connector pin 2 and slide one
of the small pieces of shrink tube over the wire. Solder that
to the wire that comes from the CD plug pin 4 and then shrink
the tubing.
H. Find the wire that comes from the psp connector TXD (transmit data)
and slide one of the small pieces of shrink tube over the wire.
Solder that to the wire that comes from the CD plug pin 2 and then
shrink the tubing.
I. Find the wire that comes from the psp connector RXD (receive data)
and slide one of the small pieces of shrink tube over the wire.
Solder that to the wire that comes from the CD plug pin 3 and then
shrink the tubing.
J. Slide the large shrink tubing over all your connections so it covers
the small shrink tubing and supports the two different cables so
they appear as one continuous cable.
The finished cable should look like this:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fpspmade.jpg&hash=e19d6363ff31c0bd95041a59419e5f0128f4542e)
Step Five
RS232 Level Converter
This level converter is used for many things.
1. You can plug in your PSP cable to the converter and by running
Hyper terminal you can see debug information that is sent when
programming the PSP.
2. It plugs into the AT90USB demo board and allows you to see debug
information that is programmed into the demo board software.
3. You can plug in most RS232 devices and control or read from them
over the RS232 port.
Schematics:
http://mysite.verizon.net/restxsa0/PSP_Serial_Converter.pdf (http://mysite.verizon.net/restxsa0/PSP_Serial_Converter.pdf)
Procedure:
1. Cut the proto board to fit in the 2 inch by 2 inch plastic box
2. Mount the 16 pin socket in the middle of the board
3. Wire the socket with all the caps inserted
4. Cut out the plastic box to mount the DB9 Connector at one end
5. Cut out the hole for the CD Rom audio connector
6. Attach the 4 three inch wires to the the CD Rom connector
7. Insert the CD Rom Connector 1/2 and glue with Super Glue.
8 Attach 3 three inch wires to the DB9 connector
9. Mount the DB9 Connector to the box
10.Solder the TXD,RXD, and ground wires from the DB9 to your proto board
11.Solder pin 1 of the CD Rom connector to the ground of your proto board
12.Solder pin 2 of the CD Rom connector to the TX data of your proto board
13 Solder pin 3 of the CD Rom connector to the RX data of your proto board
14.Solder pin 4 of the CD Rom connector to the Power of your proto board
Optional you can hook a led and resistor across the power and ground so
you can see when the PSP is powering the RS232 Level converter.
15.Plug the chip into the socket making sure you place it in the correct
direction.
Here is a picture of a completed interface:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fserial_front.jpg&hash=c93c4b04b082798201ae3a0ee5f316d45f6627f5)
Note: The green over the CD Rom connector is a panel mount led lamp
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2Fserial_back.jpg&hash=85093d6144cfbe7b18a5ecbfa261e37465314058)
Note: The extra connector over the DB9 is power in so I can use this
interface on other projects.
Conclusion:
This concludes the hardware part of interfacing the AT90USB demo board
to the PSP. In the next part we will go over how to program the demo board
and set the PiKey software up in the PSP.
-
Thank you so much!!! I thought all I needed was that chip and the remote cables, why do I need to make that other cable and that box to get my keyboard hooked up?
-
The other box allows you to connect the board to the computer instead of the PSP for debugging and (I assume) configuration. You can ignore it if you just put any configuration settings into the firmware at compile time.
Actually, I would suspect that all the mapping is done on the PSP end, so you wouldn't even need the PC converter for configuration.
- Dean
-
Right on, i knew i took the day off tomorrow for a reason. cant wait to get it going. thanks for the work as always i appreciate it.
-
That's correct if you are not doing software development you do not need the converter box.
There are debug messages that are sent out the serial port during program debugging.
Once the code is running then the debug messages are turned off and the serial port
is only used to connect to the PSP.
The code that I am working on for the joystick, has a raw untranslated mode that sends the
packets from the joystick to the PC and I have an RS232 analyzing program that captures
and displays the packets on the screen of the PC. I can compare those packets to the ones
I get from my USB monitor program to make sure I am not dropping data from the joystick.
Also the code that is written on the PSP makes use of the serial port to dump out debug
information so that graphical formatting on the screen is not affected.
The box also is used with my pic processor projects to send serial debug data in real time
to the PC.
If you are not going to write software you do not need it at all. All programming of the memory
on the demo board is done through the USB port that is built into the demo board.
In the next tutorial I will be supplying the hex code so you can program the demo board yourselves
through the USB port. Once the compatibility with Dean's new library is tested then I will release
the usb keyboard source code. Then people can work with it themselves and compile it and debug
for themselves.
Right now I have the driver about 75% done for the XBOX 360 controller. I am receiving the maps
99% of the time from the gamepad correctly. As soon as I find the bug in the receiving part I will
move on to the mapping section that converts gamepad buttons to keystrokes.
I will then have to write a simple program that allows the PSP to send key maps to the flash of the
demo board for remapping on different games
later
-
:tup: You are gifted! Hey where I get the 4 pin plugs from? What type of wires or what store can I get them from?
-
You can use any type of 4 pin connectors you want.
The ones I use are stolen off an old sound board and the cable is the one that goes from the
CD rom to the sound card.
You can get the boxes, caps, wire, and connectors at Radio Shack
-
You can use any type of 4 pin connectors you want.
The ones I use are stolen off an old sound board and the cable is the one that goes from the
CD rom to the sound card.
You can get the boxes, caps, wire, and connectors at Radio Shack
Oh wow, I got it from an old telephone wire thing, where you connect this splitter to the wall then it has two connections one for phone and the other for internet so I ripped out the cord and I cut out one of the boxes, the only thing is that the soldering points on the box are really small, so I'll have to extra careful.
What version os Pikey do I need? I have 4.01 M33-2 on my PSP and I cannot find a version that is compatible with it, Oh and I'm still not sure where to solder my box to on the chip. Thank you very much for your time and effort, this will definately bring in some more modding ideas for the psp, the psp modding scene is not over, not even close! :tup:
-
I have the code that is modified for the PSP using a the serial port.
I just uploaded it to my server and I am writing up the programming tutorial
right now.
It will have a step by step complete tutorial as well as the download of all
the code.
I will probably finish that yet tonight and will upload the tutorial with all
the links tomorrow.
Also,
For the people that wanted to know what would be used for the internal PSP
mod look at this:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fmysite.verizon.net%2Frestxsa0%2FAT90USBMinus.jpg&hash=6c43e810e8ee3e2426d618eda508b82546249a48)
Only the areas blocked out are what is used in the internal mod
so yes it should fit behind the WiFi board.
And the crystal does not have to be that big.
Later
-
Hey I'm a little confused on step 4, I'm using a fat psp remote and it says on step F to solder the wire that comes from the psp connector ground, which wire is that? It's my last wire to solder for step 4. Thanks!
Oh and is it possible to make the keyboard driver so you can hold down the escape 3 seconds so the psp turns on or off? Thanks!
-
I don't suppose we could use that "PSSGH - Holux GPSlim 236/240/M1000 cable for PSP Slim"
-
I will look into powering the psp on and off with a keystroke.
You can use any cable you want.
-
Holding the XBOX logo on the 360 pad for 3 seconds just like on the xbox itself would be a good feature :D
-
The final unit plugs into the PSP serial port and gets it's power
from the PSP. I could map a key to turn it off because the external
processor has power at that time. I could not turn it on as
the PSP has no serial port running at that time.
Sort of the chicken and the egg scenario
-
ok so im making the cable (psp1000) and im not sure but you say to take the psp connector ground and solder that to pin 1 on the sound card cable, then you say take the wire from psp connector 2nd pin and solder that to card cable pin 4. well psp connector pin 2 is the psp digital ground should i be using audio ground rather than digital ground. that would mean card cable pin 1 is audio ground and card cable pin 4 is digital ground. ive read it like 15 times so maybe ive just jacked it up in my head, please clarify for me. thanks, heres the steps im talking about, thanks again.
F. Find the wire that comes from the psp connector ground slide one
of the small pieces of shrink tube over the wire. Solder that
to the wire that comes from the CD plug pin 1 and then shrink
the tubing.
G. Find the wire that comes from the psp connector pin 2 and slide one
of the small pieces of shrink tube over the wire. Solder that
to the wire that comes from the CD plug pin 4 and then shrink
the tubing.
-
No you need to use digital ground as we are digital conversion right now.
If we choose to use the sound we will use that with the analogue ground. Thinking about
an amp with computer subwoofer, after the basic drivers are all done.
later
-
ok right, digital ground thats what i figured. in the psp pin diagram you have digital ground as pin 2 and in step F. you say take psp ground and solder that to cd cable pin 1 then in step G. you say take psp pin 2 and solder that to cd cable pin 4. so that says to me that psp ground goes to cd cable pin 1 and 4 since psp ground is psp pin 2. am i totally confused or what?
-
you are not confused
-
ok if im not confused then for the sake of me wondering why.
why do we need two of the cd cables 4 pins spliced into the one digital ground?
thanks
-
One connector uses the power from the prototype board to power the RS232 converter if you build it.
The other connector does not take power from the PSP to power the demo board yet. We have to
build a DC to DC converter to create 5 volts needed to power the USB devices like the keyboard
or gamepad from the PSP. So right now we have no connection on the power pin. That also makes
the jumper cables universal so they work in both sockets and you can not damage your PSP.
When the PSP cable is hooked up it brings the 2.5volt of a PSP 1000 or the 1.85volt of the PSP 2000
to our adapter box. I am working on a 4 pin module that will take digital ground and either of the PSP
powers and generate the 5 volts for the USB which our prototype board regulates to the 3.3 volt to run
the board.
I have over 100 pages of documentation already created that have to be put into tutorial form so that
it creates enough documentation that anyone can try their hand at interfacing usb hid devices to the
PSP.
To give you an idea, My driver for the Xbox 360 gamepad also drives the USB guitar that is out there.
Don't know if there is a game for the psp like guitar hero.
The unit is so easy to reflash that you can change the interface as many times as you want.
later
-
Very nice gotta do this!
-
Hey how's it coming along? I'm still eagerly awaiting the keyboard driver! :tup:
-
I have it all documented and I will upload it this weekend.
I have been out of town with a sick relative all week and will return Saturday
Everything is ready and I also am writing the documentation for the Xbox gamepad
as I have it working now. I will do a POC video this weekend and it will create so much
interest I wanted to have the documentation done when I release it.
We are making progress on the driver for the xbox chatpad keyboard also.
Later
-
I don't suppose you could get this to output to standard USB HID, so it could take say, an XBOX360 controller and let PS3 use it?
-
I will look into powering the psp on and off with a keystroke.
You can use any cable you want.
So the cable I listed will work instead of having to make one from scratch?
-
Hey hows the progress going?
-
Here's a little bit of a weird question. This one is a little difficult... Can a smartphone with a keyboard be used for data entry with this device? I can't find any evidence that anyone has tried it, at least with a Blackberry (my phone), though technically it should be possible, as the usb port can be used for data transfer. Unless I am missing something, all that would be required would be an app (in the case of a BB, a java applet) that would transmit keystrokes or strings through the usb port, in either ascii or binary/hex.. Am I missing something here? This could add a certain amount of portability to this concept. Alternatively, using bluetooth or wifi to a dongle could work, but that would require a stack, whereas the usb connection should only require the java applet and the usb connection.. or is this another issue of host/slave usb mode again?
Thanks
-
Hey, this is really sweet and I'm seriously considering taking this on. I want to do an external controller mod and this will make it a lot easier than opening up the PSP!
I think I'm going to do a mount for the controller/PSP that houses the board too. I'm thinking about using the 360 wired controller.
Also, can you develop through the boards USB interface or do you need the converter box (or something else) to code drivers?
Good work on this, can't wait to get going!
-
Hey how has progress gone?
-
Well I got the board in today! I've got the IDE setup and have been messin with the demos. Cool stuff. I've soldered the outputs from the board correctly (I think). I did have a question though for making the serial to 4 pin cable. I have my connections as follows (I have a PSP Phat btw):
4 Pin Connection 1 -- PSP Digital Ground (Pin 2) (Blue wire)
4 Pin Connection 2 -- PSP TX Data (Orange wire)
4 Pin Connection 3 -- PSP RX Data (Grey wire)
4 Pin Connection 4 -- ??? Is this the 2.5V pin? (Yellow wire)
I guess I was confused, It said to use both connection 1 and 4 for psp ground (pin 2). Keep up the good work!
-
I don't know what happened to the OP of this thread and his promised code, but you can direct all MyUSB (now LUFA) questions to my support group:
http://groups.google.com/group/myusb-support-list
In answer to some of the questions in this thread:
Can I interface class X device with the PSP?
The USB AVR microcontroller with my library can read many different standard USB classes. However, the PSP is not natively designed to communicate with them, which is why the OP uses custom software on the PSP. You can invent any serial protocol scheme you like for the USB->AVR communications, so long as the PSP software knows how to talk to the device correctly.
Can it be used to interface HID class device X with the PSP?
Yes. You can modify the MouseHostViaParser demo included with my library to interface any HID compliant device -- including the XBOX360 controller which I believe is HID -- to the PSP, assuming that your PSP has software on it which can interpret the data you send it from the device. There are two cavet that the USB device cannot consume more than a few mA when using the USBKEY, unless you beef up the VBUS power supply. Once you read in the data from the device, you're free to manipulate it in any way you choose before sending it via serial to the PSP.
How do I program it?
You use the USB cable and the Atmel FLIP software - no external box needed. The OP's box was to convert the serial communications port to the voltage levels the computer expects, but you don't need it unless you want to use the serial port for debugging.
- Dean
-
Great work man, I can't wait to see how this thing works when its done.
-
OP I just sent you a PM I REALLY hope you get back to me.
-
Has he abandoned us?
-
yup! dont worry knights. im smart. i can help us all get this worked out. i just cant come up with the money for all this stuff right now lol
-
First of all, WOW. Good job on all the work :#1:
Recently, all I've when it comes to hardware mods were sound reactive/LED mods. They're nice, but not really practical unless you like to rave to it or something (seriously, what do you guys do with them? - in my high school, if I had that around with me, people would assume I'm gay, which is not true and not a problem if you are).
I'm curious though, since it's USB, would it be possible [as in, someone COULD code it, but it's not likely to happen] to use a USB wireless adapter? The reason is, 802.11B is slow. I think it's cool to be able to go on forums, download stuff, and go on FULL myspace in under 10 seconds.
-
I'm waiting for the software mod part :beg:, im complete idiot when it comes to that, can't do it alone.
Plz don't be dead on me.
-
he's dead man, aint comin back. I have picked up his mass storage mod and running with it. if i can figure it all out i can finish this one but it is a lot more in depth
-
Using one of those PSP remote connectors for the slim, could someone design a way so you could have a switch on it, so the cable could act as component output, composite output, mic input (this one optional) at the same time as this?
And did you get the code working for the joystick mapping to the PSP? I don't need the mass storage pa
H-Sauce: Could you please follow the rules! No bumping old topics!