Jump to content

How to connect 4x5 button matrix (DIO_MATRIX?)


Recommended Posts

Posted

Hi!

 

I want to replace individual buttons connected to DIN module with a slim 20-button pad which is organized in 4x5 lines.

post-20320-0-66706000-1380573602_thumb.j

 

Looks like DIO_Matrix module support matrix connections, but according to schematic it require diodes.

But 20 button pad has already connected lines without diodes.

post-20320-0-98552600-1380573864_thumb.j

Any ideas?

Posted

Since no one has responded to this, I thought I would at least add my thoughts.

You can use this keypad without diodes but there will be some problems if you push 2 or more buttons at the same time. True this isn't a normal use of the keypad but finger checks do happen. To protect against having 2 of the CMOS output ports shorted together when 2 or more keys are push simultaneously, I would just put a 220 ohm resistor in series with each of the output lines going to the 74hc595 chip. This will protect the hardware.

Pete Knobloch

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...