DIY Membrane Keyboard?

Hi everyone i'm new here,

I've been trying to create my own membrane Keyboard, not Keypad!
I have set up the matrix in photoshop and here it is:

How can I hook up the 17 out wires to an Arduino Lilypad, and most of all Program it to detect input?

Thanks.

Anyone?

Matty7262:
Anyone?

It's impossible to follow the row/column wiring. Maybe using a different colour wire for rows will make it more obvious.

As the lilly has so few pins your going to have to use external hardware. I'm not sure if parallel in/serial out chips would be suitable as you would need to continually read them slowing down other code and/or making keyboard less responsive.
Maybe there are dedicated keyboard matrix chips you could use or hack the electronics from a PS/2 keyboard.

Riva:

Matty7262:
Anyone?

It's impossible to follow the row/column wiring. Maybe using a different colour wire for rows will make it more obvious.

As the lilly has so few pins your going to have to use external hardware. I'm not sure if parallel in/serial out chips would be suitable as you would need to continually read them slowing down other code and/or making keyboard less responsive.
Maybe there are dedicated keyboard matrix chips you could use or hack the electronics from a PS/2 keyboard.

I was doing some research (searched "arduino qwerty keyboard") and came up with this forum question, which was perfect! Here it is: using Keypad library for a full QWERTY keyboard - Project Guidance - Arduino Forum

The idea seems sound but needs another MCU to handle the key matrix, maybe you can hack a PS/2 keyboard to suit your needs (assuming your keyboard is customized in some way and a normal keyboard is not suitable) and use current code & 2 lilly pins to read it Arduino Playground - PS2Keyboard