I'm trying to make this simple code lock circuit, and I ordered this keyboard for it.
However, there isn't any kind of manual for it, and I simply don't understand how it works.
Here's a larger picture of it (sorry for the horrible soldering, I've a bad solder, and I probably do it wrong also.)
So there's 7 wires on it currently, but how do I actually use this thing?
Answer
There are four rows and three columns which make a matrix of 12 possible connections. Each switch is located at one of the cross-points of the columns and rows: -
If you "read" the value of the voltages on a single column and activate each row with a positive voltage (not together but in turn) you can deduce which of the four switches is pressed in that column.
Read the voltage for each of the three columns and you can deduce which button is pressed of the 12. Two buttons being pressed can confuse things so be aware of that.
No comments:
Post a Comment