Matrix Keyboard controlling LinuxCNC

More
3 years 1 month ago #280926 by AlexMagToast
i didn't know you are in China.
Do you manufacture these Keyboards?
I'll update you, if i tested the Code myself.

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

More
3 years 1 month ago #280929 by panming
I come from a manufacturer of CNC lathes in China, this is the panel is our supplier's product, because I think the price is low (about 600 yuan), so I want to try it.

For me, LinuxCNC is nothing short of torture, and it's good to have you kind people.

Thank you again
The following user(s) said Thank You: rodw

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

More
3 years 1 month ago #280931 by AlexMagToast
Hi,
so i found a bug, that might have prevented it from working for you.
I also updated it to Github.
I've made it a 3x3 matrix and it works like this on my setup following the method above.

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

More
3 years 1 month ago #280933 by panming
I was able to light up the LED as directed!!When I use a matrix key and a matrix keyboard separately, they both work fine.

But When I use my panel ,there are two problems,
1.when I open the keypad macro program, the LED blinking frequency starts to decrease.

2.Because keypad and multipleds share the rows, when I set the pins of the row to be the same, both keypad and multipleds don't seem to work properly, when I type M1:1, the whole column is lit, and when I press the key, it seems to be arranged vertically.

I noticed that both macros use the same variable name, is this caused by this. Or my wiring problem.

In any case, we are one step closer to success.

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

More
3 years 1 month ago #280941 by AlexMagToast
Thanks for the Feedback. I changed the Code a bit, so now the Pullup resistors from the Matrix Keyboard are disabled, while the LEDs are flashed.
I guess that could help.

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

More
3 years 1 month ago #280946 by AlexMagToast
Btw it should also work in LinuxCNC now. which Linux is your system running on?

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

Time to create page: 0.074 seconds
Powered by Kunena Forum