USB haas operator panel interface
23 Jan 2020 18:40 #155564
by J Green
Replied by J Green on topic USB haas operator panel interface
I thought the 7i73 was limited to maximum of a 8 X 8 matrix ?
Please Log in or Create an account to join the conversation.
24 Jan 2020 06:42 #155634
by cmorley
Replied by cmorley on topic USB haas operator panel interface
yes it is (and try to find a 64 key matrix keyboard)
- that's what I tried first - panelui in linuxcnc is meant for this.
I was hoping to reprogram the fpga for a larger matrix but that's too much of a jump for me so far...
Besides it still doesn't work as a keyboard for entry (or at least it requires a custom component for the that)
My thought so far; seems to be a few ways to go:
USB HID keyboard what sends weird key combinations for the linuxcnc-related keys, so the screen can catch and interpret though normal keystroke channels.
Two USB HID keyboards (from one keyboard), one would be for normal keys, one for HAL to catch and make pins for.
USB keyboard for normal keys, serial or Smartserial for linuxcnc-related keys
The first one is easiest so that's what I did first.
Chris
- that's what I tried first - panelui in linuxcnc is meant for this.
I was hoping to reprogram the fpga for a larger matrix but that's too much of a jump for me so far...
Besides it still doesn't work as a keyboard for entry (or at least it requires a custom component for the that)
My thought so far; seems to be a few ways to go:
USB HID keyboard what sends weird key combinations for the linuxcnc-related keys, so the screen can catch and interpret though normal keystroke channels.
Two USB HID keyboards (from one keyboard), one would be for normal keys, one for HAL to catch and make pins for.
USB keyboard for normal keys, serial or Smartserial for linuxcnc-related keys
The first one is easiest so that's what I did first.
Chris
Please Log in or Create an account to join the conversation.
24 Jan 2020 12:49 #155644
by fupeama
Replied by fupeama on topic USB haas operator panel interface
Hi,
long time ago I try to "hack" sserial. It is posible.
I had to make new firmrware for my 7i76e, because i need ttl on p2 no rs485. Than I used logic analyzer and listen communication between 7i76e and 7i73
after a long time and many attempts my stm32f1 and 7i76e speeks together. Then I migrated to stm32f4, because f1 have not enough pins for keyboard, encoders etc.
(atmega is fine, but not for fast communication on 2,5Mb speed)
here is a very simple example.and log file from analyzer.
and source code made in stm32cubemx and uvision arm keil for f1 (no keyboard attached only sserial communication) and f4 (keyboard attached)
only for ilustration. I am not programmer.
Martin
long time ago I try to "hack" sserial. It is posible.
I had to make new firmrware for my 7i76e, because i need ttl on p2 no rs485. Than I used logic analyzer and listen communication between 7i76e and 7i73
after a long time and many attempts my stm32f1 and 7i76e speeks together. Then I migrated to stm32f4, because f1 have not enough pins for keyboard, encoders etc.
(atmega is fine, but not for fast communication on 2,5Mb speed)
here is a very simple example.and log file from analyzer.
and source code made in stm32cubemx and uvision arm keil for f1 (no keyboard attached only sserial communication) and f4 (keyboard attached)
only for ilustration. I am not programmer.
Martin
Attachments:
Please Log in or Create an account to join the conversation.
24 Jan 2020 13:26 #155646
by cmorley
Replied by cmorley on topic USB haas operator panel interface
That awesome! can't wait to look at your work - thanks for posting.
Chris
Chris
Please Log in or Create an account to join the conversation.
27 Jan 2020 20:24 #155949
by andypugh
One iteration of the matrix_kb HAL component was capable of generating keystrokes. But I wasn't sure that the OS call that I was using was thread-safe, so I removed the option.
It wasn't difficult to do. But it was difficult to test.
Replied by andypugh on topic USB haas operator panel interface
Besides it still doesn't work as a keyboard for entry (or at least it requires a custom component for the that)
One iteration of the matrix_kb HAL component was capable of generating keystrokes. But I wasn't sure that the OS call that I was using was thread-safe, so I removed the option.
It wasn't difficult to do. But it was difficult to test.
Please Log in or Create an account to join the conversation.
28 Jan 2020 01:57 #155971
by cmorley
Replied by cmorley on topic USB haas operator panel interface
The nice thing about the HID USB keyboard it will work as a boot keyboard.
Less of a concern on as system not used for development I guess.
It would be nice if there was an easy way to make the os RUN IN 'KIOSK' mode for such things as dedicated controllers.
Chris
Less of a concern on as system not used for development I guess.
It would be nice if there was an easy way to make the os RUN IN 'KIOSK' mode for such things as dedicated controllers.
Chris
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
28 Jan 2020 16:42 #156017
by tommylight
Some info here :
forums.linuxmint.com/viewtopic.php?t=219026
forums.linuxmint.com/viewtopic.php?t=234241
oneguyoneblog.com/2019/12/20/google-chro...-mode-on-linux-mint/
Replied by tommylight on topic USB haas operator panel interface
I did make Linuxcnc work in KIOSK mode when the Ubuntu 10.04 was in use, but it was to much trouble so never bothered with it again.It would be nice if there was an easy way to make the os RUN IN 'KIOSK' mode for such things as dedicated controllers.
Chris
Some info here :
forums.linuxmint.com/viewtopic.php?t=219026
forums.linuxmint.com/viewtopic.php?t=234241
oneguyoneblog.com/2019/12/20/google-chro...-mode-on-linux-mint/
The following user(s) said Thank You: Mike_Eitel
Please Log in or Create an account to join the conversation.
09 Feb 2020 20:56 #156907
by cmorley
Here is the program I used for mapping the matrix - it prints to the serial port so you can see it in the monitor window.
it requires the modified version of the keypad library to use 32 bits rather then 16.
i didn't get a chance to clean it up - when i do I'll reupload it.
Chris
Replied by cmorley on topic USB haas operator panel interface
Here is the program I used for mapping the matrix - it prints to the serial port so you can see it in the monitor window.
it requires the modified version of the keypad library to use 32 bits rather then 16.
i didn't get a chance to clean it up - when i do I'll reupload it.
Chris
Attachments:
Please Log in or Create an account to join the conversation.
17 Aug 2020 23:04 #178547
by Shalotek
Replied by Shalotek on topic USB haas operator panel interface
I do not suppose you have a pinout of the plug? i did not see the voltage pins in anything you shared. ( may have overlooked it )
Please Log in or Create an account to join the conversation.
19 Aug 2020 01:34 #178659
by cmorley
Replied by cmorley on topic USB haas operator panel interface
pinout of the HAAS keyboard plug? It's a matrix keyboard so there is no one power pin. There are column and row pins.
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds