Matrix_kb 7i73 need help

More
22 Jun 2022 02:42 #245577 by SOLD
Replied by SOLD on topic Matrix_kb 7i73 need help
key8 key9 key10 key11 = 3.26v
key12 key13 key14 key15 = 4.2V (key12 It works by itself sometimes.)
 
 
Attachments:

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

More
02 Jul 2022 19:42 #246458 by SOLD
Replied by SOLD on topic Matrix_kb 7i73 need help
it works now I'm using hot air with RN7 all the input is 3.3v power.
I can watch 4x8 from halshow but still can't set the halfile.

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

More
03 Jul 2022 10:46 #246498 by andypugh
Replied by andypugh on topic Matrix_kb 7i73 need help
Are you saying that there was a hardware problem that is now fixed, but that you still need help with the HAL configuration?

How far have you got wth the HAL?

If you watch the keycode pin in HAL, does it appear to be showing key-up and key-down events?

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

More
12 Jul 2022 13:43 #247138 by SOLD
Replied by SOLD on topic Matrix_kb 7i73 need help
That's right, the hardware works.
I can watch the keycode pin in HAL.
but when i connect to jogging it does not respond

Please show an example HAL?

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

More
12 Jul 2022 13:54 #247142 by andypugh
Replied by andypugh on topic Matrix_kb 7i73 need help
This is just from memory

[/code]
loadrt matrix_kb config=8x8
addf matrix_kb.0 servo-thread
net hm2_.....7i73.00.scancode => matrix_kb.0.keycode
[/code]

At that point you should be able to see one of the output pins toggling on and off when you press the key.

Can you confirm that that part works? (halshow is the easiest way to monitor a lot of pins.
loadusr halshow

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

More
12 Jul 2022 14:25 #247148 by SOLD
Replied by SOLD on topic Matrix_kb 7i73 need help
Thanks, I'll test it when 7i92 works.

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

More
17 Aug 2023 00:45 #278218 by COFHAL
Replied by COFHAL on topic Matrix_kb 7i73 need help
I have tried to use the parameter matrix_kb.0.negative-logic 0 of matrix_kb, but it always gives me an error saying that it does not exist.

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

More
17 Aug 2023 20:45 - 17 Aug 2023 20:48 #278299 by COFHAL
Replied by COFHAL on topic Matrix_kb 7i73 need help
 

File Attachment:

File Name: custom_postgui.hal
File Size:9 KB
 

File Attachment:

File Name: Torno_7i78_7i73.ini
File Size:7 KB
I I have problems with the configuration of the component matrix_kb. I am going to use the Matrix_kb and SENDKEYS components simultaneously. For that, I configured the 7i73 for a 4x8 keypad with the SENDKEYS component, and for the Matrix_kb component I configured it 3x4, for this I used some of the 7i73's available outputs and inputs. The problem now is that I get the error "kb_3x4.row-00-out does not exist" ie. Another error that I get is net zero-x halui.mdi_command-00 not found despite being defined in the INI file. I attach my files.
Attachments:
Last edit: 17 Aug 2023 20:48 by COFHAL.

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

More
21 Aug 2023 09:03 #278596 by andypugh
Replied by andypugh on topic Matrix_kb 7i73 need help

I have tried to use the parameter matrix_kb.0.negative-logic 0 of matrix_kb, but it always gives me an error saying that it does not exist.

It should be there: github.com/LinuxCNC/linuxcnc/blob/master...nts/matrix_kb.c#L311
Note that as a parameter you can only "setp" it, not link it. 

Possibly you are trying to "setp" the value before the component has loaded?
 

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

Moderators: PCWjmelson
Time to create page: 0.166 seconds
Powered by Kunena Forum