Go Down

Topic: I need some help to make keypad to work (Read 61 times) previous topic - next topic

mrgianlu

May 19, 2019, 06:19 pm Last Edit: May 19, 2019, 08:14 pm by mrgianlu
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 :)

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

https://pastebin.com/0QBrABzV

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

https://www.youtube.com/watch?v=I8_UMfjKdw0

groundFungus

#1
May 19, 2019, 07:15 pm Last Edit: May 19, 2019, 07:16 pm by groundFungus
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.

mrgianlu

#2
May 19, 2019, 08:09 pm Last Edit: May 19, 2019, 08:18 pm by mrgianlu
working on it - but clicking the link just displays the images - no download at all :)

photos attached instead of imgur link :D

thanks for your reply

Grumpy_Mike

OP's photos:-






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

Go Up