- Posts: 48
- Thank you received: 0
Matrix Keyboard controlling LinuxCNC
3 years 1 day ago #284092
by panming
Replied by panming on topic Matrix Keyboard controlling LinuxCNC
@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 to join the conversation.
2 years 9 months ago #291086
by blazini36
Replied by blazini36 on topic Matrix Keyboard controlling LinuxCNC
Little confused how this worked out with panming's control panel. Per the note on the git page:
Looking to make my own keypanel using this firmware, judging by the wording in the git I assume it should work with this?:
On panming's schematic, the "column pins" are the VCC outputs, so did you just treat the rows as columns?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.
Looking to make my own keypanel using this firmware, judging by the wording in the git I assume it should work with this?:
Attachment not found
Please Log in to join the conversation.
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
2 years 9 months ago #291106
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
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.
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 to join the conversation.
2 years 9 months ago #291123
by blazini36
Replied by blazini36 on topic Matrix Keyboard controlling LinuxCNC
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?
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 to join the conversation.
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
2 years 9 months ago #291131
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
yes, I think your schematic looks good. I think it will work right away.
Please Log in to join the conversation.
2 years 9 months ago #291133
by blazini36
Replied by blazini36 on topic Matrix Keyboard controlling LinuxCNC
I've got an Arduino Mega break out board going for this as well.
Please Log in to join the conversation.
- kofsky0328
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
2 years 6 months ago #298359
by kofsky0328
Replied by kofsky0328 on topic Matrix Keyboard controlling LinuxCNC
@
Hello, how can I contact you?
Please Log in to join the conversation.
1 year 8 months ago #321818
by Mr. Mass
Replied by Mr. Mass on topic Matrix Keyboard controlling LinuxCNC
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 to join the conversation.
Time to create page: 0.120 seconds
