Matrix Keyboard controlling LinuxCNC

More
30 Oct 2023 00:38 #284092 by panming
@COFHAL You might want to search for SYNTEC 4022 on your local shopping platform. If you really can't find it, I can provide purchasing, it just so happens that our company has foreign trade business. It's just that shipping costs can account for more than half of the price of the keypad.

Please Log in or Create an account to join the conversation.

More
19 Jan 2024 03:29 #291086 by blazini36
Little confused how this worked out with panming's control panel. Per the note on the git page:

If your Keyboard shares pins with the LEDs, you have to check polarity. The Matrix Keyboard uses Pins as such:rowPins[numRows] = {} are Pullup Inputs colPins[numCols] = {} are GND Pinsthe matrix keyboard described in the thread shares GND Pins between LEDs and KEYs, therefore LedGndPins[] and colPins[numCols] = {} use same Pins, LedVccPins[] are Outputs and drive the LEDs.

On panming's schematic, the "column pins" are the VCC outputs, so did you just treat the rows as columns?

Looking to make my own keypanel using this firmware, judging by the wording in the git I assume it should work with this?:
 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 
Attachments:

Please Log in or Create an account to join the conversation.

More
19 Jan 2024 10:24 #291106 by AlexMagToast
Hi,
Yes I think you can use the Firmware with this Keypanel.
You made me aware that I forgot to update the Documentation after I updated the Code to hopefully make it less confusing.

#ifdef MULTIPLEXLEDS

const int numVccPins = 8; // Number of rows in the matrix
const int numGndPins = 8; // Number of columns in the matrix
const int LedVccPins[] = {30,31,32,33,34,35,36,37};
const int LedGndPins[] = {40,41,42,43,44,45,46,47};

Let me know If you have Issues, so I can improve the Firmware for you.

Please Log in or Create an account to join the conversation.

More
19 Jan 2024 15:07 #291123 by blazini36
Thanks, I was  hoping you'd reply.

I'm making the key panel myself, it's my schematic so I'm trying to make it the way this Arduino firmware was intended to be used. Does this look like what you had in mind?

Please Log in or Create an account to join the conversation.

More
19 Jan 2024 16:44 #291131 by AlexMagToast
yes, I think your schematic looks good. I think it will work right away.
The following user(s) said Thank You: blazini36

Please Log in or Create an account to join the conversation.

More
19 Jan 2024 17:09 #291133 by blazini36
I've got an Arduino Mega break out board going for this as well.

Please Log in or Create an account to join the conversation.

More
16 Apr 2024 12:07 - 16 Apr 2024 12:09 #298359 by kofsky0328
@ Hello, how can I contact you?
Last edit: 16 Apr 2024 12:09 by kofsky0328.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum