Matrix Keyboard controlling LinuxCNC

More
2 years 9 months ago #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
2 years 9 months ago #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
2 years 9 months ago #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
2 years 9 months ago #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
2 years 6 months ago - 2 years 6 months ago #298359 by kofsky0328
@ Hello, how can I contact you?
Last edit: 2 years 6 months ago by kofsky0328.

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

More
1 year 8 months ago #321818 by Mr. Mass
Trying to figure out a similar industrial keyboard from SYNTEC. The upper part is a regular PS/2 keyboard, and the lower part is a matrix keyboard with combined LEDs. The buttons on the matrix worked fine, only they are rotated 90 degrees. But there is a strange problem with the LEDs. They are shifted and some of them double. For example, button 0 and LED also 0, work normally. But if we try to light up LED 6, it lights up again 0. And to light up the LED on button 6, it is 12. I checked the wiring several times, everything seems to be correct. Maybe someone can see with fresh eyes what I'm wrong because I'm out of ideas. 

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

Time to create page: 0.098 seconds
Powered by Kunena Forum