Got Bored waiting for the Quick Release Kit ..... Tried to make an MPG

I have been thinking about doing this project for quite some time and finally got around to it.




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.

Here is a video of the basics.

6 Likes

Extreme overkill! But I love it, and if I ever get some spar time Iā€™m going to hit you up for more info so I can attempt this myself.

Great work!

1 Like

If only snapmaker allowed us to communicate with with controller over can bus

1 Like

I didnā€™t know cncjs had exists, thanks for showing!

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.

1 Like

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.

1 Like

If you have it somewhere on github, i can add it to GitHub - shurushetr/awesome-snapmaker: Curated list of things that help you make something awesome with Snapmaker machines.
maybe somebody will connect and contribute :slight_smile:

How cool, I like this! While I like that the SnapmakƩr has the Touchscreen, haptical/tangible conrols are soo helpfull! You can keep your eye on the workpiece instead on your finger again slightly off from the touch button!

2 Likes

Itā€™s been a while but here is an updateā€¦

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.

1 Like

Hi @MonkeyHarris I would like to built one but canā€™t find sourcode code of it ? Any change you have the link ?

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.

2 Likes

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