A Teensy -> Python Interface Manualmatic MPG/pendant
04 Apr 2022 18:24 #239270
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
06 Apr 2022 12:15 #239437
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Attachments:
Please Log in or Create an account to join the conversation.
13 Apr 2022 11:55 #240139
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
15 Apr 2022 18:01 #240332
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
ooo the buttons!
A different design to my original - much easier to print and combined with the correct force momentary buttons provides a very satisfactory 'feel' and a low risk of unintentionally pressing them.
My apologies for the slight 'build log' of the case design - the PlatformIO code (its first draft from the Arduino code base) is done but I was waiting for the v1.1 PCBs to arrive to test (and now waiting for the correct encoders as I accidentally ordered 'high detent force' ones from Mouser...)
My apologies for the slight 'build log' of the case design - the PlatformIO code (its first draft from the Arduino code base) is done but I was waiting for the v1.1 PCBs to arrive to test (and now waiting for the correct encoders as I accidentally ordered 'high detent force' ones from Mouser...)
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
17 Apr 2022 21:19 #240492
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
23 Apr 2022 22:16 #241034
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Saturday night code release again - oh what a life we lead!
I've migrated the pendant codebase from the Arduino IDE to PlatformIO. This should allow refinement of the structure to add flexibility/ease maintainability of the codebase. All the major functionality is now in place but would appreciate feedback on both code and function. There's also a small wiring check test 'sketch'.
Code is here: github.com/Stutchbury/Manualmatic-Pendan...e/PlatformIO/pendant
As you may have noticed, I have spent a 'little' time creating a 3D printable case with FreeCAD. I've included a little guide for printing but it came out OK on my fairly well abused Ender 3:
STLs are here: github.com/Stutchbury/Manualmatic-Pendan...n/Hardware/case/v1.1
I have a few spare PCBs and components (minimum order at Mouser is a pain) so would be happy to make up some 'PCB + board components' kits if anyone is interested. I'm still waiting on a second order of encoders (I ordered the 'wrong' ones first time) but highly recommend avoiding the ebay specials - I've had a few that do not work reliably. Once I've tested the new ones, I'll finish up the Bill of Materials.
Enjoy!
I've migrated the pendant codebase from the Arduino IDE to PlatformIO. This should allow refinement of the structure to add flexibility/ease maintainability of the codebase. All the major functionality is now in place but would appreciate feedback on both code and function. There's also a small wiring check test 'sketch'.
Code is here: github.com/Stutchbury/Manualmatic-Pendan...e/PlatformIO/pendant
As you may have noticed, I have spent a 'little' time creating a 3D printable case with FreeCAD. I've included a little guide for printing but it came out OK on my fairly well abused Ender 3:
STLs are here: github.com/Stutchbury/Manualmatic-Pendan...n/Hardware/case/v1.1
I have a few spare PCBs and components (minimum order at Mouser is a pain) so would be happy to make up some 'PCB + board components' kits if anyone is interested. I'm still waiting on a second order of encoders (I ordered the 'wrong' ones first time) but highly recommend avoiding the ebay specials - I've had a few that do not work reliably. Once I've tested the new ones, I'll finish up the Bill of Materials.
Enjoy!
Attachments:
The following user(s) said Thank You: tommylight, jogy2
Please Log in or Create an account to join the conversation.
27 Apr 2022 19:55 #241397
by jogy2
Replied by jogy2 on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Hi, nice work. Sorry that i ask you here but i can´t write a Pn,
is it possible to order a board from you or the layout ?
is it possible to order a board from you or the layout ?
The following user(s) said Thank You: fletch
Please Log in or Create an account to join the conversation.
27 Apr 2022 20:22 - 29 Apr 2022 08:44 #241398
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Edit: If that doesn't work I'll investigate setting up a tindie acount over the weekend.Hi, nice work. Sorry that i ask you here but i can´t write a Pn,
is it possible to order a board from you or the layout ?
No worries - I didn't realise you can't PM on this forum, if you have a github account & log in, I think my email address will be available to you.
Last edit: 29 Apr 2022 08:44 by fletch.
Please Log in or Create an account to join the conversation.
29 Apr 2022 17:04 - 29 Apr 2022 17:05 #241652
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
Just a quick note after a question from jogy2 via email - the Manualmatic will only boot to the splash screen unless it has a 'back end' to talk to. This would be either the LinucCNC Manualmatic component (started via the ini file) or if you're just playing, then the (very) crude mock linuxcnc script that I used for UI development will respond to many inputs and also allow you to send commands from the prompt.
To use this, cd to the Software/linuxcnc-mock directory from the github download and run:
$ ./mock_cnc_machine.py mock.ini
Plug the pendant into the USB before you start the script and Crtl-C out of the script before unplugging the USB (or your USB ports will get their knickers in a twist and the Teensy will no longer be on port /dev/ttyACM0)
There is also a wiring test PlatformIO 'sketch' that shows all the inputs on the display (assuming the wiring is OK, of course).
To use this, cd to the Software/linuxcnc-mock directory from the github download and run:
$ ./mock_cnc_machine.py mock.ini
Plug the pendant into the USB before you start the script and Crtl-C out of the script before unplugging the USB (or your USB ports will get their knickers in a twist and the Teensy will no longer be on port /dev/ttyACM0)
There is also a wiring test PlatformIO 'sketch' that shows all the inputs on the display (assuming the wiring is OK, of course).
Last edit: 29 Apr 2022 17:05 by fletch.
Please Log in or Create an account to join the conversation.
13 May 2022 19:35 - 14 May 2022 12:36 #242904
by fletch
Replied by fletch on topic A Teensy -> Python Interface Manualmatic MPG/pendant
I have just created a Bill of Materials for the Manualmatic here: github.com/Stutchbury/Manualmatic-Pendant/blob/main/docs/BOM.md
Don't think I've missed anything, but let me know if I have.
Don't think I've missed anything, but let me know if I have.
Last edit: 14 May 2022 12:36 by fletch.
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds