I don’t have the original enclosure for the Snapmaker 2.0 so I decided to make my own Andurino based device to control my DIY enclosure.
Source code for Arduino was developed based on the original open source provided on Github by Snapmaker.
Well, honestly it was not easy to understand the open source code for the controller and Snapmaker modules - I spent many hours analyzing the details of the specifications CAN bus communication between the controller and the modules. I think I finally understood what this communication should look like. I quickly made a prototype for Andurino Nano - the tests were successful - module it is fully compatible and correctly detected when the machine is started.
I don’t have the original 4-wire cable (not available in the snapmaker store) so for the communication test I used cables dedicated to prototype boards. I only used 2 wires dedicated to the CAN bus and a separate power supply.
Now it’s time to design a more professional PCB.
So to be continued …