SNES Controller Decoding
Moderator: Moderators
-
nos_slived
- Higher Idiot
- Posts: 3476
- Joined: Mon Mar 21, 2005 6:32 pm
- Location: Burnaby, BC, Canada
- Contact:
I figured it would work. I just thought that it would be a lot easier to test with only LEDs, instead of using the inverters for every button. It will also help other people who try that. For inverters, you also could have used a single PNP by itself on each line. If you hook this to a computer, you could also just leave the lines high, and write the program to read high as off.

Good news! I've been able to make a snes controller decoder using a PIC microcontroller. I made a program for the PIC16F684 chip and it works like a charm. However, I ended up destroying the chip when I accidentaly had the + and - connections reversed
If anyone is still interested, I could post the code and schematic.
If anyone is still interested, I could post the code and schematic.
-
electromaster64
- Posts: 265
- Joined: Mon May 31, 2004 7:09 pm
- Contact:
So you keep saying you are going to use it for something different it might help if everyone knew exactly what you had in mind. Secondly you are confining yourself because you are trying to find something to decode the SNES controller. In the Pre-NES videogame era controllers used one wire per button on the controller. But now you can encode it all on a couple lines which is why you can have all of the buttons on the N64 controller occupy only 3 lines. What I would suggest is to look at some older controllers and wee what they use. Also you could get say a serial connector and then make a new SNES controller having the +5v (or whatever) going to each button and then having one wire for each button. that way when you press a button +5v goes down the line and to the respective pin on the serial connector. That would be my suggestion. But I would definitely reccommend that you build a new controller board as opposed to "decoding" the SNES controller.

I made the decoder so I can use a snes controller on a gameboy advance. I took a snes system case and super gameboy case and stuffed the gba and gba->tv adaptor into those cases. So it looks like a super nintendo but its really a gameboy advance that I can play on the tv using snes controllers. Thats why I needed a snes controller decoder...
-
gannon
- Moderator
- Posts: 6974
- Joined: Sun Apr 04, 2004 4:48 pm
- Location: Near that one big lake
- Contact:
<img src="http://img91.imageshack.us/img91/158/sn ... 5cm.th.png" border="0">
Pretty basic. I'm not sure if it'll work 100% with snes controllers, but I do know that it'll work fine for nes ones. It has a 8 bit count for the p/s line, it may need to be 16 bits for snes, but that'd require another counter and wiring them in series just about.
Pretty basic. I'm not sure if it'll work 100% with snes controllers, but I do know that it'll work fine for nes ones. It has a 8 bit count for the p/s line, it may need to be 16 bits for snes, but that'd require another counter and wiring them in series just about.
-
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...
Hi all. I didn't know this thread was still active... for some reason I stopped receiving Email notifications for new posts. Plus, I haven't been here in a while. I go through phases with forums... sometimes I go for a while without even thinking about them. But I'm back now! 
Anyway, Gummo... I would kill to have the code and schematic. And depending on what I was killing, that's not even an exaggeration.
Seriously though, I'd really appreciate it a lot if I could have them. Thanks.
Rain
Anyway, Gummo... I would kill to have the code and schematic. And depending on what I was killing, that's not even an exaggeration.
Rain
