(Too verbose? I need to be because I can't explain things very well otherwise. I need the context.)
So I'm thinking about the electronics I'll use when I rebuild my control panel. In the past I swapped out the IPAC for a messy PSOne Controller hack, and it was a huge hassle. And now I can't use the panel on my PC without another one. So I'm going to make the controller interface a module that'll sit outside of the control panel, and they'll communicate with some sort of cable.
But I'm not sure what cable. A parallel port (DB25) seemed good, because I need exactly 25 wires for the microswitches and ground. However, apparantly DB25 cables don't necessarily have 25 wires, and now that I think about it, if I want my interface modules to work on new control panels I might build in the future, I should use a technology with more than 25 connections.
A serial connection seems good. I could use USB or ethernet cable to connect the panel and module.
I'm not entirely sure about the technology. I guess I'll have the interface module generate a clock frequency down the cat5/usb, and the panel will poll each microswitch in turn using a counter and multiplexer, once per sync signal (using the clock). The problem is that I'll need way too many logic gates.
Is there a microcontroller or fpga I should be using instead? And with 24+ microswitches and the counter bits going to the multiplexer, I'll still need to build the multiplexer with logic gates won't I?
Also, to use a USB cable with only the hacked-PSX-PCB/IPAC, will I be able to generate a strong enough signal?
Is this a bad idea? In my ignorance, am I missing something? The parallel port idea is looking boring and unfutureproof now, but it'd be a lot easier.
I suppose I could look for alternate parallel cables... but I need to scratch this itch for a little while first. Maybe IDE cable actually...
Thanks to anyone who can help or bother to read this.