SNES controller decoder

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

Moderator: Moderators

Post Reply
Mikey42
Posts: 9
Joined: Mon Sep 15, 2008 7:37 am
Location: Australia

SNES controller decoder

Post by Mikey42 »

I would like to know if anyone has done any work in decoding the SNES controller output. That is; to take the serial stream and use a SI/PO to decode it so that each button is separate, and can be interfaced more easily.

Also I would be interested in any schematics/circuit diagrams of SNES controllers. Is it the same chip in every model (I think it's the 4021 PI/SO)?
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

I've done it with both a PIC and with sipo registers, not hard. Don't have a schematic on hand for the discrete method though.
Any specific goals for having it read out in parallel?
Mikey42
Posts: 9
Joined: Mon Sep 15, 2008 7:37 am
Location: Australia

Post by Mikey42 »

I basically just want to control GBA inputs using these signals
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 »

Ah yes, I once looked into this as well... It was a long time ago; before I was a member of these forums I think. I inquired about it on the Electro-Tech-Online forums, and a friend of mine there sent me an old magazine article about decoding an NES controller's signal. SNES controllers aren't much different, so that article should be very helpful. Let me see if I can find it.

Edit: Ah, found it. Everything's done with shift registers 'n such, so there's no programming required...

Here: Mirrored on my server
Image
Mikey42
Posts: 9
Joined: Mon Sep 15, 2008 7:37 am
Location: Australia

Post by Mikey42 »

Thanks! Very helpful. I guess needs only minor changes to work with SNES. like cascading to another SIPO or something
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 »

Mikey42 wrote:Thanks! Very helpful. I guess needs only minor changes to work with SNES. like cascading to another SIPO or something
Basically, yeah... I think that's all it needs.
Image
Post Reply