Believe it or not, figuring out what connectors to use was the most difficult thing about this project. There are so many different connectors available and some of them are so expensive, that I had to do a lot of thinking before I decided on a system. In the end, I decided to use ribbon cables plugged into simple DIP headers and eventually came up with the following design: