Didn’t see the other posts!
Mee_n_Mac:
TrollHammer:
I’ve actually got a CNC I’m refitting with an arduino controller (saves about 30 pounds of antiquated computer hardware) and …
Two topics here ...
- I think any further discussion of “community” doesn’t belong in this thread. Perhaps another one, or PM’s, but let’s not derail the OP too much more.
Agreed.
Mee_n_Mac:
2) RE: the old 'puter … while I can see the space savings, is there any other reason (other than just for fun) to “Arduinofy” your existing mill ? I’d like to hear your workflow. As I (vaguely) understand it …
-
generate a 3D model of the final piece. Save this in some common file format.
-
some other program takes that file and operates on it to produce the G code that the CNC controller can understand.
-
give that G code file to the controller to run the mill.
-
much debris is flung about and the final piece pops out of the CNC machine.
That’s what I understand.
Mee_n_Mac:
I can see the Arduino doing (?only?) the last operation. You still need a PC for the 1’st and I’m unsure about the 2’nd … PC or possibly Arduino ??? I would think (??) that the G code would be specific to the machine used (?and bit used in the actual milling?) or is that detail left to the controller ? IOW what does the Arduino have to bring to the CNC party ? Should it be Uno or ARM ?
If I understand correctly, G-code is a standard ([http://en.wikipedia.org/wiki/G-code](http://en.wikipedia.org/wiki/G-code) that machinists can understand interchangeably throughout most NC and CNC machinery (lathes, mills, grinders...). While a Mill G-code file would not produce anything usable on a Lathe, the string of commands use the same formatting and what each command means is universal, but if a machine doesn't have a feature the command won't necessarily do anything (Part of this is guessing, since I'm not that far into the project, but I'm going off of what was explained to me)
I found an old school desktop CNC mill on Ebay a few years back and have been poking around with it when I get a chance. The company isn’t around anymore that I can find (D & M Machining), and it was produced in the late 80s or early 90s as far as I can figure. It used an internal 80286 and a floppy drive to load the ‘firmware’, and an external computer would send G-code over serial to the internal computer, which would convert the G-code to X, Y, and Z. It came intact with the floppy and a DOS software package was archived a few years ago, but after looking through the machine it seems I would be much father ahead to replace what amounts to a PC with an Arduino board.
The mill has stepper controllers for X, Y, and Z that have clearly labeled Wago connections for Step and Direction, a controller board for the spindle (that apparently is not easy to interface to more than on/off, according to other’s overhaul threads in other forums with this machine). Everything is cleanly broken out and easily accessible, basically needing a controller with enough I/O to attach the front control panel, limit switches, and control cards. I figured it would be far easier to use an Arduino type controller with USB than to try to resurrect the 286 and hope the floppy drive continued to function, figure out drivers that would work with modern software, etc.
Mee_n_Mac:
As I mentioned in passing in another thread I’m thinking of buying myself a new toy, either a 3D printer or a hobbyist level CNC machine (or perhaps a laser cutter), more for the learning experience than any planned practical use. So I’m curious about their real day-day operation. As I think the OP would be. (just barely dodging my own derailing post there !)
I’ll have to poke around and find that. I’m actually planning on using mine to make parts for my tinkering on other projects (everything from camera mounts to airsoft equipment and robotics). I also plan to add an extruder to one side of my spindle and a laser to the other side.
codlink:
Mac’s right, apologies about the derailment.
I know the Arduino Mega specifically is a common processor for DIY 3d Printers. There are lots of open-source printers with the AVR controller processing g-code to the steppers. I would like to think that a cnc mill would be possible if not easy to implement into a cnc machine. I remember searching Google trying to find info on 3D printers and ran across some DIY mills where the frame is made of Balsa wood. You may even find code for it as well.
I did eventually find a solid route to go. “GRBL” http://dank.bengler.no/-/page/show/5470 … checkpoint appears to be useful, and I will be exploring this route.