Problem with 4X3 Keyboard

So I am trying to use a 4X3 key board but I am unable to get any response from the central column keys 2,5,8,0.

How are the other parts of your project connected to the Arduino and which devices are you using ?

Please post you complete sketch

I'd suspect either a poor solder joint, poor wiring connection, or cracked trace on the pcb.

Besides this I've only got GND and 5V pins going out powering a 5V Solenoid switch (I've not yet connected the signal pin to the solenoid) and a 16X2 I2C LCD. The 16X2 I2C LCD has SCL and SDA pins which are connected to A5 and A4. Nothing besides this.

Want to point out that earlier even the third row was non funtional, this was when I was making connections basis the schematic in the link I gave (Which was different from the pinout in the same link). So I connected basis the pinout and now the third row works but the central column is still dead.

Use a multimeter and test that pressing a button in the middle column produces a short between the appropriate row and column

Exchange the first and second column connections on the keypad. Does the problem follow the wire or stay with the column ?

Ya, a photo of the setup would help pinpoint suspicious elements. But maybe, direct the comment to the OP?

@camsysca @UKHeliBob I've resoldered everything, the keyboard and the nano to ensure that the joints are strong and there are no shorts. I could share a picture but it would serve little. let me know if its need is still felt

@camsysca @UKHeliBob ok, so I exchanged the wires in D2 and D3, i.e, wires coming from col 2 and col3, now when I press 9 it reads 8. And I'm even more confused...

and if you press 8, do you get 9? After all, it's the 8 column that we're questioning the connection on.

@camsysca nope, still no response

And if you press 5, do you get 6?
I think your column is shot, and it's in the trace running vertically from 2 to 5 to 8 to 0 to the connection poiont.

@camsysca r u sure? So I should get a new keyboard? I thought it would be some wrong connection issue as when I was wiring it up basis schematic in the link (which seems to differ from the pinout logic), even row 3 was not responsive. But when I did it with the pinout logic row three started acting fine.

What keys work? If that column are all dead, but the other two are good, you can try connecting either of the outside "unused" connections, see if they're the column you're missing. If other rows are still not working, you have more work to do.
I had presumed your initial image was authoritative. My bad.

In particular, an image of YOUR keypad, if that's not it, would be helpful.

So basically every key now works except 2,5,8,0. Earlier 7 and 9 were also not working when my connections were basis the schematic which differs from the pinout logic. Now when I am following the correct pinout logic (As per the link) 7 and 9 are working fine.

I think I would change the wire for column two and see if it has an effect.

@camsysca thanks for the support. There was something wrong with the keyboard. Changed the keyboard, now its going good like symphony.

Thanks for the feedback. Please mark the topic as solved, so others don't look to see if there's a problem.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.