SNES Controller Decoding

Includes but not limited to: SNES, Genesis, Sega CD, PlayStation 1, Nintendo 64, Dreamcast, Game Gear and I guess the Virtual Boy.

Moderator: Moderators

Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

SNES Controller Decoding

Post by Electric Rain »

I'm not making an SNES portable, but I do need info on the SNES controllers for a different project of mine. I need a way to "decode" the SNES's signal into one line per button.

There's lots and lots of info on the SNES controller out there, but I'm just not experienced enough in electronics yet to put it all together. :cry: I think I can use this IC for the decoding. (I might need two...) But I don't know what to do about the clock and latch lines.

What I'm trying to do is seperate the SNES controller's signal into something USABLE. Meaning 12 output lines from the SNES controller. One from each button. Will I need a microcontroller or something to do this? Are there schematics for this on the web? I just don't know what I should do... can someone please point me in the right direction? Thanks.

Rain

P.S. If there's any more info you guys need, let me know... but I don't know really how to explain what I need... I hope I'm being clear enough. :(
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

just wire up 2 (iirc) 4021 chips to the snes controller port and then input the buttons directly.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

Actually, I need to do things the other way around. I have to use the SNES controller for something different. I don't need to make an SNES controller, which is basically what you suggested. :? The problem is that all three data lines (clock, latch, data) go right into one of the chips in the SNES. So I can't even extract some of the info from the schematic. :(
Image
nos_slived
Higher Idiot
Posts: 3476
Joined: Mon Mar 21, 2005 6:32 pm
Location: Burnaby, BC, Canada
Contact:

Post by nos_slived »

I think you basically just want to use the controller as it is for other things. Just run new wires from each button.
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

then you need something to decode a 16-bit latch circuit, I'm not sure what IC to use though.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

nos_slived wrote:I think you basically just want to use the controller as it is for other things. Just run new wires from each button.
Well, I would do that, but I want to be able to use any SNES controller. I don't want to mod it.
gannon wrote:then you need something to decode a 16-bit latch circuit, I'm not sure what IC to use though.
Hmm... would about the clock signal?
Image
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

You'd have to build a clock circuit that runs the encoder chips in the controller and the decoder chips at the same frequency.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

A simple 555 should be able to do this, right?
Image
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

A 555 timer that is.
Image
tom61
Senior Member
Posts: 1517
Joined: Fri Mar 25, 2005 6:51 pm

Post by tom61 »

NES pads and SNES pads work the same way. There's a NES to to discrete article called 'Ninja NES adapter' that's been posted online. Google for it. If you can't find it, I've got a scan of it somewhere.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

That would be great if you could send that to me! I can't seem to find it on Google. Thanks, you're a big help!

Rain
Image
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

Hey guys, look what I found! I guess I can deal with an NES controller, so it looks like this should be perfect, right? Now I just need a programmer...
Image
tom61
Senior Member
Posts: 1517
Joined: Fri Mar 25, 2005 6:51 pm

Post by tom61 »

You do need to change the programming slightly to get all 6 buttons. I've forgotten what you need to do though. I know you can plug SNES pads into a NES and vice-versa.

I found the scan on my system, if you still want it. A bit bigger and more complex than the Devcast one, but you can probably get the parts at Radio Shack.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

Oh yeah, of course. I still want it. Especially if the one I found won't work with all 6... wait... there's 8 buttons. You didn't include the Start and Select buttons? Well anyway, yeah. I still want it if you could e-mail it to me. Thanks a lot. :)
Image
Super Mulletman
Posts: 390
Joined: Sun Apr 18, 2004 12:17 pm
Location: Wherever my orders let me be
Contact:

Post by Super Mulletman »

Hmmm....this project sounds a little familiar.

Are you trying to use an SNES controller on your computer? 'Cause I've done that, if you want a full guide.
Post Reply