- Posts: 99
- Thank you received: 0
Question about keyboard for cnc build
So no point of a pipe, just a Python script listening and sending API calls...
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
bymccoy wrote: Using screen, or something similar (I'm using CoolTerm), you can get the HEX and ASCII output - and it's simply ASCII corresponding to each button. Nicely there's a button down character and a button up character (handy for modifiers, and repeating an entry until the up character is received).
Of you can get the key-down / key-up codes in to HAL then the matrix_kb component can make them toggle HAL pins.
linuxcnc.org/docs/2.8/html/man/man9/matrix_kb.9.html
It is possible to send keystrokes to the OS from HAL. In fact matrix_kb used to do it, but I was unsure if the kernel function calls were thread-safe for realtime.
Please Log in to join the conversation.
Thanks for that...
Reading the docs, I'm genuinely confused how I would map any data coming in from the keyboard using the matrix_kb component?
Please Log in to join the conversation.
So,
I've also been looking for a serial to USB HID device... That should just convert anything coming by serial into keypresses.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
Or as per your solution an MCU reading the serial and connecting via USB.
Any pics of the guts of the device ?
Please Log in to join the conversation.
that can be connected to a COMP
Please Log in to join the conversation.
bbsr_5a wrote: on ebay there are many controll panels for CNc machines and manufactuers lke HAAS VF serias use a USB compatible keyboard
that can be connected to a COMP
Huh?
Kind of defeats the objective of using EXISTING hardware don't you think? Or should I just replace the CNC machine with a new machine as well, and stop using LinuxCNC, and use a Fanuc controller?
Please Log in to join the conversation.
