Playstation Controller/Guitar Hero?
Oldbitcollector (Jeff)
Posts: 8,091
Has anyone tried/used Playstation (original) controllers with the Playstation2 controller
object with success? I'm attempting to get a Guitar Hero (wireless) working, but haven't
had much luck, yet. I'm going after a real PSX controller to test..
Anyone else been down this road yet? Different object required?
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
object with success? I'm attempting to get a Guitar Hero (wireless) working, but haven't
had much luck, yet. I'm going after a real PSX controller to test..
Anyone else been down this road yet? Different object required?
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Comments
I'm using the PS2 object from obex with a PSX controller.
Looks like 1K resistors between three data lines, and a 10K resistor on the DAT line.
IIUC, 5v is also applied to the DAT(1) line.
Can someone confirm the connections?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
I'm pretty sure it isn't quite correct. IIUC, I also need to
connect 5v to PIN 1 of the playstation connector.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
<EDIT> Oh, you need a pull up on the DATA line (pin1). The controller output is open collector
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
No. Use a 1k from Pin1 to the Prop and a 10k from Pin1 to +5v
You need a pull up directly to Pin1 on the PS controller, the 1k to the prop is just protection.
When the controller sends a "0" it just pulls the pin low.. otherwise it lets it float.
Are you using the PS2 object from the obex or something home cooked?
I thought I'd have a crack at trying to talk to the PS2 controller using SPIN rather than spawning another cog, but I'm not so sure it will be fast enough.
The pinout for the PS2 port I was using was backward!!
I now have a real controller (wired) working with the object from obex,
but I don't have data from the Guitar (wireless) yet.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
I don't know if this is relevant but I remember reading on this forum somewhere that wireless PS2 controllers won't work.
At least I think that's what I read lol
Coley
EDIT:
It seems as though all wireless controllers are not the same, some will work and others won't.
Here's what I found that might point you in the right direction
http://forums.parallax.com/showthread.php?p=573796
http://forums.parallax.com/showthread.php?p=668706
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
Post Edited (Coley) : 6/8/2008 6:44:01 PM GMT
doesn't look like the wireless Guitar hero controller is a winner here.
Wired controller on order... [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
He does recommend http://www.hardwarebook.info as a one-stop site for specifications and so on.
Post Edited (Fred Hawkins) : 6/9/2008 2:38:12 PM GMT
I've also added a page to the Cookbook which hopefully will save others
from having to duplicate my frustration with this project. [noparse]:)[/noparse]
My wired controller should arrive Friday.. Of course Propeller Guitar Hero would
be interesting, but I thought it might also be cool to use Rayman's wav player to
create my own Guitar Hero instrument using pre-recorded wav samples. [noparse]:)[/noparse]
Too many cool projects... Too little time..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
did you know Baggers has already done a version of Guitar Hero for the Hybrid called Joypad Hero??
There is a small clip of it in action here:-
www.youtube.com/watch?v=ZBjtsCkS_MA
It's just after Dragons Lair game
Of course it's for PropGFX Lite but that should be no problem for you.....
Regards,
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
Just trying to twist Baggers arm into releasing his source to that program.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
difference between a standard Playstation controller and the Guitar Hero
controller to require the creation of an object for Guitar Hero.
Has anyone else tried this yet, or am I blazing new ground again?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
keep it up lol
Baggers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·