- Posts: 140
- Thank you received: 0
A Teensy -> Python Interface Manualmatic MPG/pendant
4 years 8 months ago #233871
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
BTW, I like what you're doing with the buttonMovePosZ->setLongPressHandler - continuous jog perhaps?
Please Log in to join the conversation.
4 years 8 months ago #233915
by sagreen
Replied by sagreen on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Thats exactly what I am doing. This is a dedicated set of buttons that Jogs the Z up and down...BTW, I like what you're doing with the buttonMovePosZ->setLongPressHandler - continuous jog perhaps?
Please Log in to join the conversation.
4 years 8 months ago #233916
by sagreen
Replied by sagreen on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Yeah, sorry that was some test code. The 2nd PR that I submitted got rid of that commented out #define. Not sure if you saw that or not. That is all that was in the 2nd PR.
I created a pull request in your library with the fix for your approval. Works great!
Scott...
Brilliant! Thank you very much. I'll pull that straight across and add a formal example. I'm assuming (dangerous) the commented out ' //#define ARDUINO_ARCH_ESP32 1' is superfluous.
Also curious about the 'using' vs 'typedef' - I originally had 'typedef' but at some point moved to 'using' but can't remember why...
Please Log in to join the conversation.
4 years 8 months ago #234355
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Oh, I do like a joystick!
Attachment not found
Please Log in to join the conversation.
4 years 8 months ago #234590
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
I think this may be the weekend I start moving this to PlatformIO... Trying to squeeze "just a bunch of functions" into the Arduino IDE is becoming a little unwieldy.
P.S. can now (easily) do Z moves with the joystick.
P.S. can now (easily) do Z moves with the joystick.
Please Log in to join the conversation.
4 years 7 months ago #236981
by fletch

Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
In the words of those awful gameshows my Grandparents used to watch: Here's wat you could've won!Couple of quick questions:
1. Is there any value in adding an (optional) joystick? I've seen lot of positive views on non-standard pendants but can't recall seeing one on a commercial pendant.
2. I'm looking at making a PCB - anyone interested if I make a few extras?
Attachment not found
Please Log in to join the conversation.
4 years 7 months ago #238201
by lomas8
Replied by lomas8 on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Awesome project, will be attempting this build or very similar once I've built my 2nd DIY CNC (printNC). What program did you use to design your board?
Please Log in to join the conversation.
4 years 7 months ago #238337
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Thank you - I used Kicad for the PCB. I plan to upload the PlatformIO code soon (maybe this weekend) but currently fighting with FreeCAD - on the 5th itteration of the casing base... I added one missing constraint from the base sketch and that's three days work down the pan.
(the topological naming problem bites HARD).
Please Log in to join the conversation.
4 years 7 months ago #238628
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Wow! That took far too long!
Attachment not found
Please Log in to join the conversation.
4 years 6 months ago #239011
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
A bit of progress on the case - still pondering how to do the buttons. I think I need a day of two off FreeCAD though!
As hoped (or even designed, perhaps?) it feels very comfortable in the hand (with apologies in advance to left-handers).
Attachment not found
Attachment not found
As hoped (or even designed, perhaps?) it feels very comfortable in the hand (with apologies in advance to left-handers).
Please Log in to join the conversation.
Time to create page: 0.086 seconds
