Question about matrix_kb

More
9 years 8 months ago #87648 by Niko
Replied by Niko on topic Question about matrix_kb
This is on a new machine, which poses new problems .
front panel This is the panel in question .
Some of these go directly to inputs on the cnc but some pas through a multiplexing board which not only takes inputs but has multiple outputs on the same strobe . It's an 8x5 configuration . The spindle and feed override and encoder go directly to the mesa cards .
The real issues now are how to get the matrix_kb component to work well with the PCB and how to get output lines from that component . The user thread is a 2ms right now . response on the keys is good .

Cheers

P.S. Today I found out that the component has shifted the inputs .
All buttons are in the corresponding row but in a new column .
I'll experiment with the thread speed .

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

More
9 years 8 months ago #87651 by rodw
Replied by rodw on topic Question about matrix_kb
I might be out of line here but seeing you are using Mesa cards, have you considered using the Mesa 7i73 Pendant Interface to drive your keyboard?

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

More
9 years 8 months ago #87653 by Niko
Replied by Niko on topic Question about matrix_kb
I preffer the 7i70 and 71/72 cards as they are 24v capable . And the 7i77 has good support for the MPG .

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

More
9 years 8 months ago #87670 by bkt
Replied by bkt on topic Question about matrix_kb
I'm curious ... have you solved with matrix_kb and your switch? How?

Regards
Giorgio

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

More
9 years 8 months ago #87692 by Niko
Replied by Niko on topic Question about matrix_kb
I tried running the thread slower but it got even worse . I think I'm going to use direct inputs on the 7i70 . It won't be too much hassle, but i'll get to that after i setup the toolchanger .

Cheers

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

More
9 years 8 months ago #87739 by cmorley
Replied by cmorley on topic Question about matrix_kb
matrix keyboard can be used in a couple of ways - you didn't mention how you are using it.
it can scan a matrix keyboard and convert to individual hal pins or
it can read a scan code (usually from mesa 7i73 or panelui program) and convert it to individual hal pins.

I assume the first.
One problem is that matrix keyboards are momentary on buttons that share wiring.
A rotary switch always has at least one output closed.
This could bring in key roll-over problems.

I would suggest mux16 or mux_generic that have included debounce options for your rotary switch.

my 2 cents
Chris M

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

Time to create page: 0.273 seconds
Powered by Kunena Forum