Maker Pro
Maker Pro

keypad interface with controller

steve_venkat

May 22, 2017
30
Joined
May 22, 2017
Messages
30
When I pressed the switch i can't get any O/P from the keypad(apart from program in controller,checked with multimeter also).
Is this circuit is correct or have to make any change in this circuit..?
 

Attachments

  • Keypad1.png
    Keypad1.png
    168 KB · Views: 95

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
RB0 and RB1 should supply a logic 1 to their respective resistor packs (2 lots of 5 resistors) and each bank of 5 switches should pull RB2 to RB6 respectively to ground.

Your schematic drawing convention is particularly 'disturbing' and makes for incredibly difficult understanding.......
 

steve_venkat

May 22, 2017
30
Joined
May 22, 2017
Messages
30
RB0 and RB1 should supply a logic 1 to their respective resistor packs (2 lots of 5 resistors) and each bank of 5 switches should pull RB2 to RB6 respectively to ground.

Your schematic drawing convention is particularly 'disturbing' and makes for incredibly difficult understanding.......


Now see in this image.I maked RB0 to RB6 as pulled up pin using resistor RN1 with 1k.
When I pressed S1 means RB0 and RB3 will become low state.Similiary it will work for all remaining buttons...By this method can interface keypad to the controller..?
 

Attachments

  • keypad 2.png
    keypad 2.png
    36.5 KB · Views: 91

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
Most keypad matrix wiring is based on the standard column/row method where you sequentially poll the column whilst reading the row (or vice versa).

Keypad.png
 
Top