CNC Machine Summer Project update #0
So as a project for the summer holidays I decided I’d build a 3 axis CNC machine for the primary purpose of milling PCBs and clear acrylic. After researching multiple different options I thought I had settled on building a Shapeoko, running out of funds for the Shapeoko Mechanical kit I am still contemplating what my options are.
Here’s what I’ve settled on for the basis of my CNC machine:
- 1 x tinyG stepper motor/CNC controller
- 2 x 60mm Computer fans (for cooling the tinyG)
- 1 x 12V Power supply
- 4 x NEMA17 Stepper motors (dual gantry axis)
- 4 x Micro limit/home switches
- 1 x 12V step-down USB power supply
- 1 x Emergency stop button (mostly because it looks cool)
- All to be controlled with a raspberry pi.
At this point in time I’ve tested everything that I have. I was quite surprised by the motors strength and holding torque. To connect to the tinyg via USB I used the program “minicom”. To connect to the tinyg I used the following command
sudo minicom -b 115200 -o -D /dev/ttyUSB0
and then to move the motors I sent the following Gcode.
which should make all the motors move clockwise. Changing the value following the x,y,z or a axes in that string will move the motor to that position which at this point in time has little meaning.
The power supply didn’t come with any wiring so to make do I connected a female IEC plug and can be powered up by a standard 240v computer IEC cable. When I eventually complete this project I intend to house all the electronics in a box and so I may retain this connector or move to a mounted one such as this one from DX.com.
The above parts will be able to be made into a custom cnc machine or a shapeoko. I’m currently waiting to hear from a friend who is undertaking a similar project but building the machine frame from scratch. Once I can compare his estimated price with the price of a Shapeoko Mechanical kit + $90 Shipping to Australia I will weigh up the pros & cons. Until then….