matrix_kb + 7i93 should work together?
24 Oct 2024 21:41 #313157
by pingtomi
matrix_kb + 7i93 should work together? was created by pingtomi
Hello,
I've tried to set up matrix_kb with 7i93 using 3x3 matrix at a first time but it reads all buttons in one column as pressed (of course I press only one button).
I've tried to use diodes to separate buttons without success.
I see but doesn't clearly understood that matrix_kb is mainly designed for 7i73, is this correct?
Should it work with 7i93 or must I go with 7i73? 7i73 for me wouldn't be a convenient solution because my 7i95's SS ports are configured as SSI interfaces for ABS encoders so it would be difficult to connect an additional 7i73 to it.
Any other ideas/workaround to be able to connect about 30 buttons to Linuxcnc without using 30 inputs?
Thanks a lot.
Tamas
I've tried to set up matrix_kb with 7i93 using 3x3 matrix at a first time but it reads all buttons in one column as pressed (of course I press only one button).
I've tried to use diodes to separate buttons without success.
I see but doesn't clearly understood that matrix_kb is mainly designed for 7i73, is this correct?
Should it work with 7i93 or must I go with 7i73? 7i73 for me wouldn't be a convenient solution because my 7i95's SS ports are configured as SSI interfaces for ABS encoders so it would be difficult to connect an additional 7i73 to it.
Any other ideas/workaround to be able to connect about 30 buttons to Linuxcnc without using 30 inputs?
Thanks a lot.
Tamas
Please Log in or Create an account to join the conversation.
24 Oct 2024 22:03 #313160
by PCW
Replied by PCW on topic matrix_kb + 7i93 should work together?
The matrix_kb component can work with a 7I73 or any I/O device
that has input and output bits. With a 7I73, it converts a scan code byte
to individual key outputs. With a general I/O device it provides the row and column
output and input bits and converts them to individual key outputs.
Are you sure the 7I93 I/O bits are set in the proper directions?
that has input and output bits. With a 7I73, it converts a scan code byte
to individual key outputs. With a general I/O device it provides the row and column
output and input bits and converts them to individual key outputs.
Are you sure the 7I93 I/O bits are set in the proper directions?
The following user(s) said Thank You: pingtomi
Please Log in or Create an account to join the conversation.
25 Oct 2024 01:45 #313176
by COFHAL
Replied by COFHAL on topic matrix_kb + 7i93 should work together?
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
25 Oct 2024 20:07 #313229
by pingtomi
Replied by pingtomi on topic matrix_kb + 7i93 should work together?
thanks indeed I forgot to set 7i93 gpios directions according to the keypad.
It works now.
It works now.
Please Log in or Create an account to join the conversation.
28 Oct 2024 19:57 #313384
by pingtomi
Replied by pingtomi on topic matrix_kb + 7i93 should work together?
another question on this topic:
is there a way somehow to set up matrix_kb (or do some magic in HAL) to forbid to read any other buttons if one is already pressed? For eg. to avoid unexpected behavior of chip conveyor if both forward and reverse buttons are pressed simultaneously.
Thank you.
is there a way somehow to set up matrix_kb (or do some magic in HAL) to forbid to read any other buttons if one is already pressed? For eg. to avoid unexpected behavior of chip conveyor if both forward and reverse buttons are pressed simultaneously.
Thank you.
Please Log in or Create an account to join the conversation.
28 Oct 2024 20:48 #313385
by PCW
Replied by PCW on topic matrix_kb + 7i93 should work together?
Unless you want to change the matrix_kb component,
this is probably most easily fixed with some hal logic
(lut5 can do this in one step)
this is probably most easily fixed with some hal logic
(lut5 can do this in one step)
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds