- Posts: 35
- Thank you received: 0
XHC-HB04 wireless MPG pendant HAL module
13 years 4 months ago #35818
by f1oat
XHC-HB04 wireless MPG pendant HAL module was created by f1oat
Here is a first release of my HAL module to use the XHC-HB04 MPG pendant with LInuxCNC.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_...Wireless_MPG_Pendant
Hope that helps other users
Frederic.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_...Wireless_MPG_Pendant
Hope that helps other users
Frederic.
Please Log in to join the conversation.
13 years 4 months ago #35832
by bigalex
Replied by bigalex on topic XHC-HB04 wireless MPG pendant HAL module
Hi Frederic.
First of all congratulations for your work and for sharing your knowledge with us .
Is the display working and the screens layout programmable ?
bigalex :blink:
First of all congratulations for your work and for sharing your knowledge with us .
Is the display working and the screens layout programmable ?
bigalex :blink:
Please Log in to join the conversation.
13 years 4 months ago #35845
by f1oat
Replied by f1oat on topic XHC-HB04 wireless MPG pendant HAL module
Yes, the LCD screen is managed as a DRO showing current position (X, Y, Z, A, spindle and feedrate).
But the layout cannot be modified because it is hard coded in the LCD matrix.
However, you can choose to display other float signasl than the standard machine and workpiece coordinates by patching the xhc-hb04.hal file.
Frederic.
But the layout cannot be modified because it is hard coded in the LCD matrix.
However, you can choose to display other float signasl than the standard machine and workpiece coordinates by patching the xhc-hb04.hal file.
Frederic.
Please Log in to join the conversation.
13 years 4 months ago #35846
by f1oat
Replied by f1oat on topic XHC-HB04 wireless MPG pendant HAL module
I uploaded V02 to fix Makefile issue and LCD refresh.
Please Log in to join the conversation.
13 years 4 months ago #35886
by bigalex
Replied by bigalex on topic XHC-HB04 wireless MPG pendant HAL module
Hi Frederic.
Thanks again for your efforts .
Where did you bought the MPG ?
bigalex :blink:
Thanks again for your efforts .
Where did you bought the MPG ?
bigalex :blink:
Please Log in to join the conversation.
13 years 4 months ago #35902
by f1oat
Replied by f1oat on topic XHC-HB04 wireless MPG pendant HAL module
I have bought the MPG from a local guy. Unfortunately there was only one unit.
I have added a picture in the wiki page.
Here we have one with same layout www.aliexpress.com/item/MACH3-WIFI-mpg-U...ldbus/639910195.html but it seems out of stock
Similar devices are common on ebay, but with few modifications on the keyboard layout.
I assume we will have to adapt the HAL source code to accommodate other layouts. I can do that for you.
Frederic.
I have added a picture in the wiki page.
Here we have one with same layout www.aliexpress.com/item/MACH3-WIFI-mpg-U...ldbus/639910195.html but it seems out of stock
Similar devices are common on ebay, but with few modifications on the keyboard layout.
I assume we will have to adapt the HAL source code to accommodate other layouts. I can do that for you.
Frederic.
Please Log in to join the conversation.
13 years 4 months ago #35909
by bigalex
Replied by bigalex on topic XHC-HB04 wireless MPG pendant HAL module
Hi Frederic.
Thanks for your kind offer .
I will try to find one like yours hopefully at a good price.
Regards
bigalex :blink:
Thanks for your kind offer .
I will try to find one like yours hopefully at a good price.
Regards
bigalex :blink:
Please Log in to join the conversation.
13 years 4 months ago #35926
by tommy
Replied by tommy on topic XHC-HB04 wireless MPG pendant HAL module
No eBay APP ID and/or Cert ID defined in Kunena configurationThank you for your effort!
Now, I'm already interested to purchase one, and just want to make sure, that this one will be compatible with your hal, except some minor modifications considering key layout?
Now, I'm already interested to purchase one, and just want to make sure, that this one will be compatible with your hal, except some minor modifications considering key layout?
Please Log in to join the conversation.
13 years 4 months ago #35930
by f1oat
Replied by f1oat on topic XHC-HB04 wireless MPG pendant HAL module
@tommy this MPG looks very similar to mines, except the names of buttons.
If the USB protocol is the same, the keyboard layout adaptation should be easy.
It will require some modifications in the C source code that I can do.
I will say that we have 90% of chance that the adaptation will be easy to do.
Frederic.
If the USB protocol is the same, the keyboard layout adaptation should be easy.
It will require some modifications in the C source code that I can do.
I will say that we have 90% of chance that the adaptation will be easy to do.
Frederic.
Please Log in to join the conversation.
13 years 4 months ago #35931
by tommy
Replied by tommy on topic XHC-HB04 wireless MPG pendant HAL module
No eBay APP ID and/or Cert ID defined in Kunena configurationSo if I want to go with 100% easy, I shold go with this one, which seems to be the same as yours:
Please Log in to join the conversation.
Time to create page: 0.240 seconds
