I wanted an easier way to control movement and set datums whilst using the CNC. The design of the pendant is not my own, I found a YouTube Channel who created this and was selling the plans for $5. It Basically acts like a HID (Human Interface Device). The Pendant is linked via CNCJS (which Luban is based off) which ive hard coded to create the correct Snapmaker instructions. This is nowhere near finished but more of a proof of concept. I want to eventually run this off a Raspberry Pi with my own Widget Plugin to enable Tool Setting and Workshift Setting. I know the Snapmaker isnt the best CNC and this is more than slightly overkill but if it keeps me out of the pub its time well spent. If anyone is interested ill drop a link to the YouTube Video but remember this will not work āout of the boxā and requires a lot of Javascript modification of CNCJS and also Arduino Code to get it as far as ive gotten here. If anyone here can help me get the source of CNCJS to compile either on a Raspberry Pi or Windows id appreciate a point in the right direction.
Thanks CandleFX, If you ever decide to build one i`d be happy to help out. Just remember this is nowhere near finished and there is a possibility it never will be. I just enjoy trying to make things āDOā what they are not intended to do.
I use CNCJS to control and run G Code on the Snapmaker and find it much more useable than Luban as far as the CNC module goes. Just wish I could get it to compile so I didn`t have to Hard Code all the changes I make to it for it to work with Snapmaker.
The MPG now directly communicates with Snapmaker without using any 3rd party software ( via UART). It has an Automated datum feature and Automated Tool Setting. Here is a link to a few Videos I put on YouTube.
Hi Jean, there are no plans as such as Iāve been evolving this on and off for a year now. Iāll post some links when I get home of the projects this is based on. Just to let you know this requires you to disassemble the Snapmaker controller and solder wires onto it thus invalidating the warranty. If you search for UART on this forum you should find the guide. The MPG controller runs off an Arduino Mega running some very experimental code which is nowhere near stable enough yet to release. If you are happy to solder your Snapmaker and are familiar with Arduino programming (Iām still learning this) I can help you along the way but can take no responsibility for any damage you may cause to yourself or your Snapmaker.
Here is a youtube link for the actual MPG, I liked the design so based it off this but it doesnāt use the Arduino or 95% of the code.
Hi the original project is great. I purchased the plan from the original link but look like your code is much more adapted to snapmaker. Iām not a expert either but if you could share your actual code that could be a great starting point for me for future modifications that I could share with you. And if you have so idea that I could help to implement letās me know to