This instructable shows how to shape polystyrene foam, using a CNC machine. Starting with a brief introduction, design software necessary for creating an STL file is discussed. This is followed by a method for creating G-code, using an STL file as input. After this comes the introduction to GRBL, an arduino based system for using G-code to control stepper motors of a CNC mill. Stepper drivers are mentioned, after which the creation of large CNC hardware is described. The instructable finishes with next steps.
Enjoy,
Richard Tegelbeckers
PS. I plan to expand/update this instructable as I gain experience and make improvements to my machine. Come back to check if you are interested! Also, if you would like more clarity on any of the steps, leave a comment and I will try to help out. I could potentially add more pictures as I took photos/videos of pretty much everything I did.
Remove these ads by
Signing Up




















































Visit Our Store »
Go Pro Today »




In the near future I will make some alterations to my own machine. On the horizontal axes I want to further reduce the backlash and add gearing, by replacing each coupling with a chain and two sprockets. A ten tooth sprocket on the motor and a twentyfive tooth sprocket on the drive shaft will give a 1:2.5 reduction. Check my instructable in a few weeks as I will document the upgrades.
My z-axis is not very stiff in sideways direction, especially when the tool is all the way down. Not much of a problem for shaping large pieces of low density foam, but could be an issue in other applications.
Good luck wih your own machine!
PS. I assume you are connected to www.ajancnc.com somehow. May I ask in what way?
The driver is not only good value, it also is economical on the ports needed on the microcontroler: per axis it only needs one line for steps and one line for direction. This means a bottom of the range arduino uno can easily handle three axes and will be left with a few lines spare. On top of this, it will allow for microstepping. This is essential on my rig as each step would otherwise be 0.4mm in size. It saves me from having to add a costly gear reduction to the motors..
PS. The price for the TB6560 drivers was pretty good: £36.65 for all three incl. delivery - source: Ebay