6-Pack_CNC_Controller icon indicating copy to clipboard operation
6-Pack_CNC_Controller copied to clipboard

MPG Jog Pendant Module Proposal

Open MitchBradley opened this issue 4 years ago • 8 comments

An input module that could connect to something like this:

MPG Pendant

Requires lots of inputs, so probably needs an I2C expander or something like.

MitchBradley avatar Jun 20 '20 17:06 MitchBradley

That would be a great if this or similar could be integrated, I wanted to ask this too. Yes probably needs a expander but the software work will be more challenging i guess.

KingMo5h avatar Jun 21 '20 10:06 KingMo5h

It looks like the easiest solution might be adding a CH55x chip to handle the USB host functions..

bitluni stuffed one in his ESP32 powered micro game console..

https://www.youtube.com/watch?v=po3FBdY0GS4

Bleeptech avatar Jun 26 '20 18:06 Bleeptech

It's good to know that is an option - but anyone who has ever dealt with programming USB devices might take issue with the word "easiest".

MitchBradley avatar Jun 27 '20 04:06 MitchBradley

Been there.. Done that.. [Good thing I was already nuts before I started..]

ESP32 KE32-WROVER-C10 + GY521 with USB HID over Blueooth.. Enumerates as a joystick..

P_20200627_145709_LL

[Dont ask me to open the can.. Suffice it to say that it looks like R2D2 did a Jackson Pollock..]

Bleeptech avatar Jun 27 '20 21:06 Bleeptech

The Contour ShuttleXpress might be a good option with a USB Host module.

LinuxCNC has a implementation which would save any reverse engineering: https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/user_comps/shuttle.c#L64-L86

yngndrw avatar Jul 17 '20 21:07 yngndrw

fixing the jog cancel race condition would be needed first. I believe a much more complete jogging implementation was planned but it couldn't be fit into OG grbl. Maybe the underlying jogging implementation should be fixed first?

jschoch avatar Jul 27 '20 17:07 jschoch

Please include references to that race condition.

MitchBradley avatar Jul 27 '20 17:07 MitchBradley

there are quite a few threads on the topic, here are a few.

https://github.com/gnea/grbl/issues/95

https://github.com/gnea/grbl/issues/837

https://github.com/gnea/grbl/issues/734

here is an attempted fix: grblHAL seems to have this fixed and added a few features to support MPG

https://github.com/terjeio/grbl-Mega

jschoch avatar Jul 28 '20 01:07 jschoch