Jump to content

Sparkfun buttons: Matrix possible?


FantomXR

Recommended Posts

Hey,

 

I'm thinking of using this buttons in my next ucapps project:

https://www.sparkfun.com/products/9277

 

From the schematic it seems, that they already designed for use in a matrix. But when I compare the schematic of the button pad with the one from the DIN module, it seems, that they did it the other way around. The button pads don't have a groundline, but the inputs of all buttons are connected.

Is it possible to use the button-matrix of the NG anyway or do I have to connect each button separately? Can I use the "inverted" parameter in the NG for this application?

 

Thanks,

Chris

Edited by FantomXR
Link to comment
Share on other sites

Hi Chris,

 

what they call "GND1/2/3/4" are actually the selection lines, provided by a DOUT SR which has been assigned with sr_dout_sel1=<number>

 

The other side of the switches will be connected to a single DIN input.

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...