Problems with a snes controller build

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
mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm
Problems with a snes controller build

Post by mr aize » Sun Apr 15, 2012 1:09 pm

Hello all, new here but been messin about with electronics for a while. (Still don't really know anythin though :oops: ) So, I tried to build an adapter to plug my home made joystick into a snes and it hasn't worked. (The joystick itself works perfectly with other systems) I used this circuit diagram Image and as far as I can see I haven't bridged anything or got anything wrong but no joy. When I plug the joystick in, no controls work. I tried starting a game using another controller (streetfighter btw) and then plugging the joystick in but all that happens, is the character goes into a crouch and won't move or do anything. At one point though, it did a backflip for no reason. This is all very odd and frankly i'm extremely confused. Anyone have half a clue what would cause this behaviour?

User avatar
evilteddy
Portablizer
Posts:423
Joined:Tue Mar 25, 2008 2:11 am
360 GamerTag:Kirren of Smeg
Steam ID:kizzinator
Location:Newcastle, Australia

Re: Problems with a snes controller build

Post by evilteddy » Mon Apr 16, 2012 8:40 am

If you could give us a picture of what you've done so far that would be helpful. I believe that circuit should work (I did something similar a while ago) so its likely a little mistake.

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Mon Apr 16, 2012 10:04 am

ok, i'll try an get a clear one. Unfortunately it's on perf strip board so it ain't gonna be too easy to see what's goin on...

ImageImageImageImageImage
Not too pretty I know, especially that shot of the back but believe it or not, I can't find any shorts....

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Tue Apr 17, 2012 12:06 pm

Sorry about the longness of the replies but cos i'm new it seems that all my posts need to be checked first by a mod. Hopefully won't be too long till they decide i'm not a spam bot eh :wink: So, some explanation, there are 2 5v rails, one 2 rails above the top ic, the other in between them. The resistors are all connected to the rails and then, hopefully to the correct pins. The ground rail is the one below the bottom ic. The skinny wires go to the snes connector and the fatter ones all go do a dsub, which I plug my joystick into. Since I can't seem to find any shorts and as far as I can see, all the wires go to the correct pins, all I can think is that maybe the ics themselves are faulty? I've ordered some new ones so hopefully i'll find out soon... If anyone can see anything glaringly obvious though, please don't hesitate to tell me. Unlikely though, I know, as its pretty hard to tell what's going on in the photos.

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Wed Apr 18, 2012 10:40 am

Right, it's not the ics, just gonna have to pull it apart and try again.... Frustrating!

qwertymodo
Posts:122
Joined:Sat Apr 07, 2012 10:54 am
360 GamerTag:qwertymodo
Steam ID:qwertymodo

Re: Problems with a snes controller build

Post by qwertymodo » Thu Apr 19, 2012 4:45 am

I have a feeling that the issue is in how you are connecting to the joystick. Mind posting pictures of those connections? Also, to test your perfboard setup, install the IC's and resistors and then just hook up the wires to the SNES connector (connecting them properly to both IC's), then you can test buttons by shorting a single resistor to ground (on the side connected to the IC pin). Each time you short, it should register a button press for the specified button. Then you can add in the wires for connecting to the joystick.

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Thu Apr 19, 2012 10:44 am

Thanks mate. I'll see what can be done. Thing is though, i'm fairly confident in my joystick connections. They all go to a dsub connector and I can't see how there are any shorts. I'd previously had a 3rd party snes pcb wired in to the dsub, which worked without problems. I was replacing it with this circuit though, because I was noticing some serious input lag, which is apparently notorious for 3rd party controllers. I'm gonna have another go I recon, probably take less time than trouble shooting but will definitely take your advice and just put in the controller wires and resistors first.

qwertymodo
Posts:122
Joined:Sat Apr 07, 2012 10:54 am
360 GamerTag:qwertymodo
Steam ID:qwertymodo

Re: Problems with a snes controller build

Post by qwertymodo » Thu Apr 19, 2012 3:13 pm

What I'm saying isn't a matter of shorts, I want to know what the internal circuitry of the joystick is and how you are interfacing it into the 4021's to know if it's even compatible with hooking up to an SNES in the way you are attempting.

User avatar
evilteddy
Portablizer
Posts:423
Joined:Tue Mar 25, 2008 2:11 am
360 GamerTag:Kirren of Smeg
Steam ID:kizzinator
Location:Newcastle, Australia

Re: Problems with a snes controller build

Post by evilteddy » Fri Apr 20, 2012 6:16 am

Yeah, I've gone over these pictures a couple of times and I can't see anything wrong. If its not the ICs I'd think it has to be how it connects to the joystick.

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Fri Apr 20, 2012 3:35 pm

The joystick is just wired as if it's part of an arcade machine. No internal circuitry etc. Grounds daisy chained together an a separate wire for each button/jostick direction all goin to different pins on a 15 pin dsub plug. I built it originally to plug into a consolized neo geo I made. Can't see any reason why it shouldn't work myself.

qwertymodo
Posts:122
Joined:Sat Apr 07, 2012 10:54 am
360 GamerTag:qwertymodo
Steam ID:qwertymodo

Re: Problems with a snes controller build

Post by qwertymodo » Sat Apr 21, 2012 1:19 pm

Have you tried testing it the way I suggested, just shorting the IC pins to ground on your protoboard? Take it one step at a time, starting with getting the controller circuit itself working, then wiring in actual buttons. That way you can isolate the issue. Also, double/triple check the 5 wires going to the SNES and make sure you didn't mix any of them up.

mr aize
Posts:10
Joined:Sun Apr 15, 2012 12:59 pm

Re: Problems with a snes controller build

Post by mr aize » Sun Apr 22, 2012 2:30 am

Just checked trying to short pins on the board to see if it'd work, but no joy. I recon there could be 2 reasons. Either there's a short that I haven't found, or it could be because of a slightly higher resistance i'm getting on the clock wire? I verified that all the wires went to the right pins and they do, but I am reading 0.9ohms resistance on that wire, where all the others have 0.3ohms. Would this make any difference? I think there might be a dirty contact in the controller port, which is only going to get worse if I don't sort it. Any ideas how i'd do this?

qwertymodo
Posts:122
Joined:Sat Apr 07, 2012 10:54 am
360 GamerTag:qwertymodo
Steam ID:qwertymodo

Re: Problems with a snes controller build

Post by qwertymodo » Sun Apr 22, 2012 2:13 pm

A difference of .6ohm isn't likely to cause issues... You do have all of your grounds connected to the brown controller wire, right? Some things to mention, pin 11 on the second IC doesn't matter, it can be GND, +5v, or disconnected entirely. Also, I don't believe you actually need separate resistors for pins 4-7 on the second IC, you should be able to use a single resistor and then tie all 4 pins together. I think you could even connect them directly to the +5v rail, just so long as those pins are all held high. But in any case, breadboards are usually a good way to go for getting all the kinks out BEFORE you solder it all together (thankfully, I see you used sockets for the IC's, so you should be able to move them without issue.

User avatar
micro
Posts:13
Joined:Thu Feb 10, 2011 12:26 pm

Re: Problems with a snes controller build

Post by micro » Sun Apr 22, 2012 11:33 pm

Mr. aize, unfortunately you don't state where you're from. But I can see a bag of Hula Hoops chips in the back. So that means you're from UK, right?
So it's safe to assume you got a PAL SNES console?

If you do then you should add a 10 kOhm resistor between Vcc and the clock line and another 10 kOhm resistor between Vcc and P/S. :D

Post Reply