Thorston,
I recently “liberated” a three manual keyboard assembly from a “Saville” electronic organ. In its present form, each of the three keyboards is wired in an 8x8 matrix with a diode in series with each key (blue band on the diode on the switch side), installed on the opposite side of the key switch from the common bus(row- with 8 switches per row)
Each keyboard is wired to a small pc board with a 74hc151 chip, and there is one pc board receiving feed from the 8 row inputs of each keyboard all connected in parallel. The row pc board has a 74C42 chip on it. Needless to say, I don’t have a schematic for the keyboards, and don’t know what the cabling from the keyboards connected to. However I would like to use as much of the installation as possible. Actually, since the keys are attached to pc boards with the diodes just as you show them on your example schematic, It would be easy to use a core for each keyboard and merge them, or set up a dout and din as per your example and the setup in the referenced website(below), daisy chaining them with one core.
I have reviewed your download examples 1 and 2 for setting up an 8x8 matrix and also found an example using that data on line at "http://www.midibox.org/dokuwiki/doku.php?id=midiboxkb_-_using_a_c64_keyboard_as_input " which uses your example to encode a C64 keyboard. I don’t see why that method won’t work on a keyboard. However, I have 3 keyboards and also a 32 note pedal. Your example indicated an upcoming example of how to extend the matrix to up to 1024 buttons or switches. I don’t need 1024, but half that number would be great.
Can this be done with one core, two, three?
My existing system uses two cores with 4 DINs on each, encoding two keyboards, pedal, stops and pistons. A 32x32 matrix approach would simplify the wiring, reduce the number of DINs and increase the number of switches available.
If anyone reading this post knows of a source for schematics for the “saville” organs, please email me at jwcouvillon@cox.net.
Regards,
Johnc