Go Down

### Topic: How to use membrane matrix keypad?? (Read 1 time)previous topic - next topic

#### Dmitri0004

##### Mar 25, 2013, 01:33 pm
Hi guys! I'm a newbie in using arduino and I have a school experiment about it. I have to use a "membrane matrix keypad" and two led lights (1 red and 1 green). If the password typed on the keypad is correct, the green light will turn on but if the password is incorrect, the red light will turn on. I don't have an idea how to use the keypad and its program that's why i can't finish the experiment. I need help from you guys as soon as possible. Thank you!! :|

#### AWOL

#1
##### Mar 25, 2013, 01:42 pm
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

#### fungus

#2
##### Mar 25, 2013, 01:50 pm

Hi guys! I'm a newbie in using arduino and I have a school experiment about it.

We can't do your homework for you, only give clues. What have you done so far?
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

#### mjkzz

#3
##### Mar 25, 2013, 03:22 pm
The way membrance keypad works is to short two contacts, one belongs to "row" and one belongs to "column". Most of the time you need to "scan" the matrix by, for example, making row to be output and columns to be input. Set only one row to logic high and read columns (pulled down by resistors), and then next row, and so on.

If row 1 is logic high (other rows to low) and column 2 of row 1 is pressed, the column 2 reading will be high, so you know row 1 column 2 button is pressed.

Of course, you need to debounce all buttons so that you do not get false readings.

Like many said, we are not here to do your homework, so go and have fun now :-)
Search for "mjkzz" on eBay :-)

#### Lakes

#4
##### Mar 25, 2013, 07:25 pm
There are several ways to do this.

Go Up

Please enter a valid email to subscribe