Five matrix (8x8) keyboards with the 74HC138 chip - Convert broken Viscount Domus recitative to a MIDI console to Virtual Pipe Organ (Hauptwerk / GrandOrgue)Five matrix (8x8) keyboards with the 74HC138 chip -
Convert broken Viscount Domus recitative to a MIDI console to Virtual Pipe Organ (Hauptwerk / GrandOrgue)
EXPANDED TECHNICAL DETAILS
High-Density Matrix Scanning
This advanced musical instrument project demonstrates how to interface 320 independent keys (five 8x8 matrices) using a specialized 3-to-8 line decoder.
- 74HC138 Demultiplexing: The Arduino uses the decoder to select which 8x8 matrix is currently active by toggling only three address pins. This "Matrix of Matrices" architecture allows for massive input density while preserving Arduino GPIO pins.
- MIDI over USB Integration: Captured keypresses are translated into standard MIDI Note-On and Note-Off messages. The firmware interfaces with GrandOrgue or other virtual organs, providing a low-latency, polyphonic performance experience.
Performance Metrics
- Zero-Latency Polling: Optimized using direct port manipulation in Windows 10 IoT Core or Arduino IDE, ensuring the entire 320-key array is scanned in less than 5ms for professional musical timing.