how tactile switch matrix works ?

sssuneth

New Member
hello every one

I am looking forward to design a 6x6 switch matrix and wanna connect it to a PIC 16F887.

I am aware how it should be connected and i drew the schematic on eagle its being attached here with.

But i am not too sure how it works.. in terms of sending data and receiving data.
Can some body explain this to me please
 

Attachments

  • matrix.png
    17.6 KB · Views: 469
Here is one example:

Let's say button S6 is pressed. That way it connects row1 and column5 which in turn is pulled high via the 10K resistor.

Any other button connects either different rows or lines.

According to your look-up table the MCU then knows which button was pressed.

Boncuk
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…