| Main > Main Forum |
| Help converting 49way to 8way. |
| << < (3/3) |
| Arshad:
Sorry for digging up an old thread, but it's exactly what I'm trying to do and had some questions: I'm currently in the process of researching building my own standup mame cabinet. As part of this, I was at an arcade clearance place and picked up a few interesting pieces including a Gauntlet Legacy control panel. This comes with 4 x 49way joysticks and all buttons with microswitches/wiring, etc. I'm going to be ordering 2 x U360's and buttons from Ultimarc for my regular CP, but thought this would be a great alternate CP for when I have some friends over to play gauntlet. The CP has the joystick and buttons for each player coming out to a 14 pin connector (although some of the pins appear to be missing on some connectors). I'm assuming the button wiring is going to be a matter of directly connecting the wire to the encoder. For the joystick, as far as I can tell, I have 3 viable options: 1) Buy a 49way to USB encoder from GGG 2) Use the simple circuit posted by rockin_rick 3) Use a PIC as suggested by rockin_rick I'd like to explore options 2+3 to save cost and because it would be fun to do... Based on the MAME tables above, I verified that the logic by rebelscum for most/less/least sensitive are correct, and that the "less" logic maps to the circuit posted by rick. I don't have any electronics experience but it looks like a fairly simple circuit to build and test. Has anyone actually built it? The PIC option looks interesting because of the flexibility of different sensitivity profiles and ability to handle two sticks per PIC. I have zero experience using PICs, but do have a lot of low level programming experience and the logic described by Rick seems pretty easy to implement. My question is: Doesn't each joystick need to feed in 8bits, and not 7 bits? I'm also assuming that instead of setting up a 256 entry jump table you could separate out the nybbles for up/down and left/right as two 16-entry tables if memory footprint is a concern? (Then OR the two return values and output to port D as originally described by Rick) The PIC method sounds really interesting to me, but I'm not clear on what other electronics components need to "glue" all this together? Has anyone implemented either of these methods? |
| Navigation |
| Message Index |
| Previous page |