I'm working on a MIDI controller that has 352 digital outputs with active-low logic (high = non-active, low = active). I need to group them into 22 groups (each having 16 outputs). So, I will use 22 Teensy digital outputs to select a group (they will be mutually exclusive, e.g. there will always be only one output that will be low). And I will use 16 Teensy digital inputs to read from the MIDI controller.
So, my question here is what diode scheme should I use so that I can "select" a group of MIDI controller signals through one of the Teensy 22 outputs and thus only that group signals will flow to the Teensy 16 inputs?
To me it seems I will have to OR each of the 22 outputs with each of the 352 inputs but that's an awful lot of diodes (7744 diode). I probably miss something simple here. Another option is to use Quad OR IC gates.
Any advice would be appreciated.
So, my question here is what diode scheme should I use so that I can "select" a group of MIDI controller signals through one of the Teensy 22 outputs and thus only that group signals will flow to the Teensy 16 inputs?
To me it seems I will have to OR each of the 22 outputs with each of the 352 inputs but that's an awful lot of diodes (7744 diode). I probably miss something simple here. Another option is to use Quad OR IC gates.
Any advice would be appreciated.