playstation interface
Archiver
Posts: 46,084
Hi.
I am interested on interfacing a playstation controller to the basic
stamp 2 (bs2-ic). Has anyone ever achieved this? Any information would
be appreciated.
--
Cristhian D. Kim
ragex@r...
I am interested on interfacing a playstation controller to the basic
stamp 2 (bs2-ic). Has anyone ever achieved this? Any information would
be appreciated.
--
Cristhian D. Kim
ragex@r...
Comments
a long while ago i hacked a super nintendo pad and
posted it to the list. it is not a ps1 joypad, but it
will definetly substitute for it. i imagine that the
method used is identical. if there is anyplace with
the info, it will be: http://www.gamesx.com
here is my post from long ago:
my old message:
It just so happens that i am using a SNES controller
in a robotics project myself. a good place to
research all types of controllers, pinouts, voltage
levels etc., is http://www.gamesx.com. anyway i just
pulled the codes out of the SNES controller the other
day and they go like this[noparse]:([/noparse]correct to the best of my
knowledge, checked over 2 times)
binary hex
nopress:1111111111111111 ffff
up: 1111011111111111 f7ff
down: 1111101111111111 fbff
left: 1111110111111111 fdff
right: 1111111011111111 feff
select: 1101111111111111 dfff
start: 1110111111111111 efff
y: 1011111111111111 bfff
x: 1111111110111111 fbff
b: 1111111111111110 7fff
a: 1111111101111111 ff7f
Top rt: 1111111111101111 ffef
top lft:1111111111011111 ffdf
this gives 2^12 combinations or 4096
As you can see, a zero represents the button being
pressed, and a one is a "no press". To use this, just
set the correct bit from the chart above, and have
your controller jump on the correct combination.
The SNES controller pinouts[noparse]:([/noparse]from gamestation X)
____________________________
/ 7 6 5 | 4 3 2 1 |
( o o o | o o o o |
\___________|_______________|
pin description wire color
1 +5v white
2 data clock yellow
3 data latch orange
4 data line red
5 N/A
6 N/A
7 ground brown
To use this, just hit the data latch w/ a 12us pulse
to latch the parallel bits, and then reel them in on
the data line using SHIFTIN on the BSII, and its as
easy as that. The mode that I used to real in the
bits for the chart above was: mode 0, or MSBPRE.
You can also check out Al Williams's book,
Microcontroller Projects w/ Basic Stamps, page 179,
Expanding I/O. I hope all of that will help!!!!
for SNES controller info:
http://www.gamesx.com/controldata/nessnes.htm
here is also a bunch of info on all types of stuff:
http://www.arcadecontrols.com/arcade_alternatives.shtml#GameStationX
that should get ya going.
ross cooper
--- "Cristhian D. Kim" <ragex@r...> wrote:
> Hi.
> I am interested on interfacing a playstation
> controller to the basic
> stamp 2 (bs2-ic). Has anyone ever achieved this? Any
> information would
> be appreciated.
>
> --
> Cristhian D. Kim
> ragex@r...
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed.
> Text in the Subject and Body of the message will be
> ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
I have asked this list for help, when I was making the interfase
between a BS2 and PSOne Controller. Nobody helped me with this, but many
people ask me for the code when it was ready and working. And I can asure
you that I was more than 3 months working on it, searching for the protocol,
and logging some joypads that I have connected to the Parallel port and a
friend's PSOne. I also have working a LCD Serial interfase, I made with a
PIC microcontroller. It costs me 4.5U$S to do it, plus a 9U$S 2x16 LCD.
Again, I asked for help, but only some guys at MeLabs help me. I think that
most of you want a LCD Serial interfase for less than 15U$S, fully
compatible with Scott's LCDs. The same thing happen with the serial
controller I made for 12 servos.
Well, now I need some info about ISO 9141, in fact I need the manual
or some scanned pages (the protocol description and timming requirements) .
Because I have some info, but not depth enough for what I plan to do. So if
you can find the manual, or somebody who can scanned the manual's pages and
send it to me, I'll send you the code, and both will have less work in our
respective projects.
Thank you
Ezequiel
Original Message
From: "Klutch" <klutch66@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, December 13, 2002 8:44 PM
Subject: Re: [noparse][[/noparse]basicstamps] playstation interface
> greetings,
> a long while ago i hacked a super nintendo pad and
> posted it to the list. it is not a ps1 joypad, but it
> will definetly substitute for it. i imagine that the
> method used is identical. if there is anyplace with
> the info, it will be: http://www.gamesx.com
> here is my post from long ago:
>
> my old message:
> It just so happens that i am using a SNES controller
> in a robotics project myself. a good place to
> research all types of controllers, pinouts, voltage
> levels etc., is http://www.gamesx.com. anyway i just
> pulled the codes out of the SNES controller the other
> day and they go like this[noparse]:([/noparse]correct to the best of my
> knowledge, checked over 2 times)
> binary hex
> nopress:1111111111111111 ffff
> up: 1111011111111111 f7ff
> down: 1111101111111111 fbff
> left: 1111110111111111 fdff
> right: 1111111011111111 feff
> select: 1101111111111111 dfff
> start: 1110111111111111 efff
> y: 1011111111111111 bfff
> x: 1111111110111111 fbff
> b: 1111111111111110 7fff
> a: 1111111101111111 ff7f
> Top rt: 1111111111101111 ffef
> top lft:1111111111011111 ffdf
>
> this gives 2^12 combinations or 4096
> As you can see, a zero represents the button being
> pressed, and a one is a "no press". To use this, just
> set the correct bit from the chart above, and have
> your controller jump on the correct combination.
>
> The SNES controller pinouts[noparse]:([/noparse]from gamestation X)
> ____________________________
> / 7 6 5 | 4 3 2 1 |
> ( o o o | o o o o |
> \___________|_______________|
> pin description wire color
> 1 +5v white
> 2 data clock yellow
> 3 data latch orange
> 4 data line red
> 5 N/A
> 6 N/A
> 7 ground brown
>
> To use this, just hit the data latch w/ a 12us pulse
> to latch the parallel bits, and then reel them in on
> the data line using SHIFTIN on the BSII, and its as
> easy as that. The mode that I used to real in the
> bits for the chart above was: mode 0, or MSBPRE.
> You can also check out Al Williams's book,
> Microcontroller Projects w/ Basic Stamps, page 179,
> Expanding I/O. I hope all of that will help!!!!
>
> for SNES controller info:
> http://www.gamesx.com/controldata/nessnes.htm
>
> here is also a bunch of info on all types of stuff:
> http://www.arcadecontrols.com/arcade_alternatives.shtml#GameStationX
>
> that should get ya going.
> ross cooper
>
> --- "Cristhian D. Kim" <ragex@r...> wrote:
> > Hi.
> > I am interested on interfacing a playstation
> > controller to the basic
> > stamp 2 (bs2-ic). Has anyone ever achieved this? Any
> > information would
> > be appreciated.
> >
> > --
> > Cristhian D. Kim
> > ragex@r...
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed.
> > Text in the Subject and Body of the message will be
> > ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>