I need some help to make keypad to work

Dear all,

I jumped into this world few days ago, I set a project in my mind and trying to make it work.

I decided to replicate a working project found online, in order to build an airsoft defusable bomb, with multiple games.

I made the lcd to work (I was really happy about that to be fair) but I'm failing to connect the keypad.

The fact is that it doesn't seem to be a common keypad connection, since it seems to me that I should connect pin

1-D12

2-D13

3-A5

4-A4

5-A3

6-A2

7-A1

8-A0

Or maybe the opposite, I tried both as on the schema I'm using it's not specified.

The problem is that it is not a direct connection, pin 1,2,5 (or 4,7,8) are also connected to 2 buttons.

I'm not sure how these connections must be, therefore I just thought I could connect the middle of the wire with the specific pin of the button, with a direct connection.

I enclosed the schema I'm using, and the photos of how I did this middle connections

For the moment I can say that LCD and speaker are working quite fine, I still need to connect the REDLED and GREENLED on the schema, and I will not use the mosfet at all as I'm not interested in it.

Starting from this I will jump into coding the necessary things...

Hope somebody will help with this keypad connection, thanks for the help and enjoy your sunday :slight_smile:

EDIT: this is the main program used, then there are subsections for all the games, but i think this is enough to debug..

THis code is not mine, I found everything created by this guy on this youtube video, it's always nice to mention it :slight_smile:

You are likely to get faster help if you post code and images so that members do not have to download them. How to post code and images is described in the how to use this forum-please read stickies.

working on it - but clicking the link just displays the images - no download at all :slight_smile:

photos attached instead of imgur link :smiley:

thanks for your reply

OP's photos:-

For how to do this see:-
Image guide
image guide