7 ms·
Everything you need to know to design your own CNC router
- jacquesm 6y agoIf you can, please use servos and not steppers. Steppers are cheap and ridiculously easy to interface and get good positional control out of. As long as they don't skip steps. And they always do. So you end up running at 1/10th of the speed your tool could move at to avoid that, and even then you'll end up tossing workpieces because you lost synchronization somewhere along the line. For 3D printers they work fine because there is no pushback ('loading') from the extruder. But for anything that cuts servos are the way to go if you want half decent speed and quality cuts, as well as long tool life.
- devwastaken 6y agoHave any recommendations on servos for this purpose?
- augustt 6y agohttps://odriverobotics.com/ https://odriverobotics.com/
- mferraro89 6y agoOP here: Teknic Clearpath servos are considered good value and come in lots of different sizes/price points. Wiring them up could not be simpler, but know that you need a windows computer to tune them. If you are comfortable with soldering, motor sizing, and python, you can pick up an ODrive control board and some sort of position sensor and turn almost any motor into a servo motor.
- craftinator 6y agoI've purchased a couple of these for UT CNC systems; definitely good bang for your buck, but that's if you need to drive a 1200 lb bridge at 6 in/s, and have $600 per motor to spend. I ended up not using them because I found it was simpler, cheaper, and fit the mounts better to buy a pack of NEMA34 steppers and a few $15 dollar encoders. Seriously, spent maybe $800 on decent quality steppers/encoders/amps for 3 axes, where the ClearPath servos would have been $1600 for the same 3 axes, but wouldn't have provided position feedback nor allowed position localisation to be decoupled from the motors (which is the best way to do things in most cases). I think it's hard to justify the costs of these types of motors unless you have some very specific torque/speed/spacial requirements that require them. If you're building a machine that is worth >$4000 per axis, then maybe, but if not, simple steppers are the way to go.
- jacquesm 6y agoEbay. That's by far the best place to spot really good gear for a small fraction of the sticker price. The usual suspects for brands, personal favorite: Panasonic Minas series drivers + associated servos. Cheap, super reliable and available in just about every size that you could possibly want.
- formerly_proven 6y agoI've looked into this a few times and it always seemed like there is a huge abundance of servo motors, but the market for servo amplifiers seems to be tiny in comparison. I always suspected this is because the electronics of decommissioned machines are just scrapped wholesale. However, I am also wondering what people are doing with all these servo motors without matching cabling and amplifiers.
- jacquesm 6y agoGood point, amps are a bit harder to get by than motors, but then again, there are plenty of them on offer. I only paid full price once for a set of servo amps and that was because I wanted to have a particular type for a very special set of motors (pancake servos).
- formerly_proven 6y agoHow do you deal with the proprietary connectors on the motors? Replace them or only go for motors that come with stub cables? Proper replacement plugs probably cost about as much as a used motor... and most seem to be sold without cables/plugs. (Unfortunately it is hard to search for this stuff, because everything is "polluted" with model making servos)
- SV_BubbleTime 6y agoAs someone with a CNC router with steppers I can not agree more.
- gorkish 6y agoYou might be able to interface Mechaduino or MKS controllers between your steppers and drivers to make them pesudo-closed loop. They still get driven by step+dir however the position is continuously integrated by the controller and stepper is driven directly to the correct position based on a fitted magnetic encoder and calibration profile.
- beervirus 6y agoI’ve always wondered why more home CNC machines don’t just use closed-loop control.
- analog31 6y agoAt one time, it was harder and more expensive. You could do open loop stepper control with four big transistors, some logic, and a whopping heat sink. Closed loop meant learning how to tune the loop, and also involved the cost of the encoders. If you're using surplus parts, then getting enough documentation to make a servo system work can be touch and go. Steppers are pretty much brain dead simple. Even with servos, the entire machine has to be pretty stout in order to ride through a bump that would cause a large stepping motor to miss a step. At that point, if it's a homemade machine, something else will end up out of kilter too, such as your clamping or the workpiece itself.
- sschueller 6y agoClosed loop stepper controllers have become "dirt" cheap: https://www.aliexpress.com/item/4000684515100.html https://www.aliexpress.com/item/4000684515100.html
- justinclift 6y ago> So you end up running at 1/10th of the speed your tool could move at to avoid that ... Doesn't that only happen when the controller either doesn't know (or can't decently handle) the limits for a given machine? eg if a machine could (say) only accurately (without losing steps) push the spindle at 1000mm/min, with maximum jerk of (say) 0.5 If your controller doesn't know to keep in those limits... it makes sense steps will be lost when going past those limits. So, seems more like a tuning problem? That being said, closed loop stepper systems exist, though I haven't (yet) personally tried them.
- PragmaticPulp 6y agoI think he's exaggerating for effect. Properly sized steppers have more than enough margin for rapid movement on hobby machines without losing steps ( Video example at 1000ipm: https://www.instagram.com/p/B1wSmXfnm6C/ https://www.instagram.com/p/B1wSmXfnm6C/ ). Skipped steps are only a problem if the machine is tuned wrong, like you said, or the steppers are too undersized to keep up. People tend to underestimate the strength of common NEMA23 steppers while overestimating the cutting forces they need. Most hobby machines don't have enough rigidity or spindle power to require more than a few pounds of lateral cutting force.
- YZF 6y agoTo be precise, it's not the strength of the stepper, it's the gearing through the screw that converts the torque of the stepper into the force on the tool.
- jacquesm 6y agoAnd that will give you slop which will translate into imprecise workpieces and surfaces that aren't flat.
- PragmaticPulp 6y agoAt the hobby CNC level (what’s being discussed in this article), the rigidity of the machine is far more of an issue. I think your advice is spot-on if someone was designing a 5000lb vertical mill out of steel, but hobbyists building DIY bench top machines face a different set of problems. Hobby level machines are almost always limited by rigidity, not movement motor torque.
- PragmaticPulp 6y ago> Steppers are cheap and ridiculously easy to interface and get good positional control out of. This is exactly why 99% of beginners should start with stepper motors. Building a CNC is an exercise in tradeoffs. It's tempting to want to choose the best option at every juncture, but that's a recipe for blowing your budget. I strongly recommend that beginners start with sufficiently-large stepper motors to get things done, then consider more expensive motors as a later upgrade. > As long as they don't skip steps. And they always do. So you end up running at 1/10th of the speed your tool could move at to avoid that They definitely don't always skip steps. I've never skipped steps on my hobby CNC during normal operation. Only crashing the machine causes skipped steps, at which point I have bigger problems to worry about. It's very easy to measure the maximum force your stepper-based CNC can apply before skipping steps. You can use a common kitchen scale and manually force the CNC axis to compress the scale until it skips. In my case, the maximum stepper force is about an order of magnitude higher than the calculated cutting forces in aluminum. If someone was trying to push the cutter so hard that it was overwhelming common NEMA 23 steppers, they're going to need an extremely rigid machine. Most hobby-level machines aren't rigid enough to use high cutting forces, and unless you have a 2.2KW water-cooled spindle, you won't have enough power to cut at those speeds anyway. As long as your steppers are sized appropriately, it's really not a big deal. > So you end up running at 1/10th of the speed your tool could move at to avoid that Again, not really an issue in practice. Use sufficiently-sized stepper motors and the movement speed is just fine. I strongly suggest that anyone building a CNC focus first and foremost on keeping it simple and cheap. Get it built, learn from the process, and improve on your next iteration. Closed-loop stepper motors are a reasonable upgrade path, but the idea that you're going to be skipping steps with regular steppers just isn't true. EDIT: Here's a video of a common Shapeoko with significant added weight moving at 1000ipm on the tiny stock steppers without issues: https://www.instagram.com/p/B1wSmXfnm6C/ https://www.instagram.com/p/B1wSmXfnm6C/ The stock settings are 200ipm, which leaves ample safety margin for normal operation. 200ipm is plenty fast for rapids unless you're trying to reduce cycle times on large-scale manufacturing, in which case you wouldn't be using a hobby CNC machine.
- taneq 6y agoAll of this is spot on.
- CamperBob2 6y agoWhat do you think of these? https://www.crowdsupply.com/iq-motion-control/iq-motor-module https://www.crowdsupply.com/iq-motion-control/iq-motor-modul...
- justinclift 6y agoLooks like the wrong kind of thing? Those seem to be high speed drone motors. Am thinking they'd not have enough torque, unless you gear them pretty high.
- CamperBob2 6y agoFurther down the page, they explicitly call out CNC applications. ("IQ motors are smoother, quieter, and more efficient than stepper motors, and they will never skip a step or get lost.") They are basically a stepper motor from the application's point of view, but with some of the advantages of a servo, as far as I can tell. (No affiliation, just curious if these guys are onto something useful.)
- gji 6y agoJust judging by the torque specs and comparing to a nema23 stepper, seems like it needs an order of magnitude more torque to compare. Note that in the comparison chart they compare to a nema11, which is tiny compared to the steppers used in most hobby cncs.
- jacquesm 6y agoFor their size those are very impressive, I'd be quite concerned about cooling them but there must be applications where their form factor would be a game changer.
- YZF 6y agoYou just need enough margin with steppers so you don't lose steps. Particularly during accelerations. That margin shouldn't need to be x10. It also depends on what screws you're using and whether there's any other reduction. You can get huge linear forces from a relatively tiny stepper. You're also going to need margins with a closed loop DC brushless/servo system otherwise while you won't lose your position you will get a position error. There's also systems with steppers and encoders. A common issue though is that the steppers are driven at too low of a voltage. You also want the right kind of driver that PWMs a high enough voltage to maintain the current at speed. That's because as the speed goes up the motor has higher back-EMF voltage that the driver needs to overcome. Constant voltage drive really suffers as the motor speeds up. But sure, DC brushless + servos are nice, more expensive, and require more expensive controllers.
- PragmaticPulp 6y agoAgreed. High powered servos and associated controllers are great with an infinite budget, but properly sized steppers are perfectly fine for hobby CNC machines. The forces involved can be estimated ahead of time with simple math. It's easy to verify stepper motor holding torque with a common kitchen scale. Cutting forces can be estimated with readily-available calculators online.
- imtringued 6y agoWhat's wrong with a kit like this? https://www.omc-stepperonline.com/closed-loop-stepper-kit/ye-series-1-axis-closed-loop-stepper-cnc-kit-4-0-nm-566-56oz-in-nema-24-motor-and-driver.html https://www.omc-stepperonline.com/closed-loop-stepper-kit/ye...
- jacquesm 6y agoNothing, technically that's a servo system using a stepper motor as the actuator, which is fine.
- PragmaticPulp 6y agoThose are great if they’re in your overall budget. Depending on machine layout you could need 4 of those. Spending $400 on motors alone puts this firmly in the very expensive end of the hobby CNC spectrum. The closed loop functionality will never come into play with properly sized motors, though. If the machine gets to the point where the closed loop function is trying to make up for lost steps, it’s almost certainly because something has gone wrong (crashed machine into workpiece, for example). At that point, it’s actually better to halt the machine and alert the operator, which is what a lot of people end up using closed loop stepper feedback for. New Trinamic stepper drivers have some built in functionality to detect stalled steppers, which can be used for the same effect. Closed loop steppers definitely aren’t bad, but they’re not a must-have for hobby machines.
- IgorPartola 6y agoYou could always run smart steppers like Mechaduinos or the similar option from Big Tree Tech. Your firmware might not even need to be modified, though there is work being done on Klipper to run firmware directly on the steppers so each one is treated as an six board responsible for a specific function. Nothing against your advice just providing another option that uses steppers that don’t skip an occasional step (that is to say that if you ask for more torque from a stepper than it can handle, smart or not, it will not produce more torque out of thin air).
- jacquesm 6y agoYes, that's an option. Technically that is a servo system from a classification point of view. Anything that contains a motor, a controller and a feedback mechanism is a servo system.
- IgorPartola 6y agoI actually see that as an option (ODrive) in the featured article :). I am really curious to play with them myself as I’m about to start building the MPCNC.
- dbcurtis 6y agoSteppers skip steps if you are asking for more torque than they can deliver. No other reason. It might be: 1) too small of a stepper motor, so it can not deliver sufficient torque for maximum load, 2) too small of a driver that can not deliver the current needed for the motor to reach its rated torque, 3) software bug that tries to accelerate the motor faster than it is capable of under the load at hand, 4) software bug that throttles the driver. They all boil down to commanded torque greater that the system is capable of delivering. Fix your design. Be suspicious of software trying to accelerate too aggressively under load. I have cut a lot of metal on a Tormach PCNC 1100 Series 3 machine, with steppers. NEVER had an issue. Correctly designed stepper systems DO NOT miss steps. That said, servos systems typically are capable of greater accelerations for a motor of a give volume and current load, because of the closed-loop control. Use servos for speed, not because you are afraid of skipped steps from a stepper.
- rmu09 6y agoStepper motors also have resonances that you can excite with typical step pulse trains, that can also lead to missed steps while technically not overstepping the torque budget.
- jacquesm 6y agoYou can work around those resonance points quite well if you know what you are doing, the trick is to realize that the back-EMF around those resonance points can be so high that your stepper is momentarily generating power rather than consuming it. If you try to force it through that point by adding more current then the stepper will stall completely. A properly designed driver that is matched to the load of the stepper will use a complex voltage/current model that will drive the stepper just right to avoid this problem. This technology originated with the Berger-Lahr company in concert with an Italian driver manufacturer for five phase stepper motors, which were the first to be driven past this resonance point, the tech was then perfected and adapted to other, cheaper steppers as well.
- nielsole 6y agoMy guess is that the tormach detects skipped steps in the controller ("sensorless stall detection") So it probably does skip steps, but corrects for it
- craftinator 6y agoOr just use a gear reduction? You really need to be dealing with high force systems to justify the cost and added complexity of using servos. I've built a mill from scratch that can handle decent sized steel milling using NEMA23 sized steppers and some decent 10:1 gear reducers and a nice spindle. IMO a better spindle and structure is where you should be spending your money, and if you really are afraid of losing steps, you should use encoders that are DECOUPLED from the motors, not integrated into them... Servos are great if you're working with huge forces, need a lot of speed, need ridiculously high accuracy, and have a team of engineers to actually build and tune the thing. Ridiculously expensive and complex unless you're looking to go into busines manufacturing CNC systems.
- jacquesm 6y agoGear reduction gives you slop, if you need to reduce the better way is probably using a kevlar toothed belt and two pulleys. Still not perfect but better than gears. Finally, the best way (and most expensive way) is by using a properly pre-tensioned ball bearing driven spindle ('ball screw').
- craftinator 6y agoI work in the non-destructive testing industry, testing aerospace parts. We build CNC testing rigs fairly regularly, with x and y axes longer than 30 feet, and carry loads of >1000 lbs. These need to be able to center on holes with diameters of <1 mm, because that's what we calibrate our equipment on. The most reliable build setups we have are kevlar belts coupled with 16:1 reduced stepper motors, and decoupled encoders that index using constant pressure rack and pinions. Even pre-tensioned ball screws give us enough slop to be a problem without encoders, and kevlar belts are an order of magnitude cheaper; going with a reduced stepper vs a servo takes the cost down by half.
- jacquesm 6y agoAh good point, yes, at those lengths you really don't want ballscrews, they are impossible to support and will warp. But for short distance (up to 8' or so) with a support on either end they are fine.
- ashtonkem 6y agoIIRC, Servos also can provide feedback, which also helps with precision and reliability.
- yudlejoza 6y agoGeneral question regarding robotics/motors: Is there a classification of a system in terms of 'highly precise pre-defined/pre-programmed' movement vs 'feedback based movement'? As an outsider, mainly watching youtube demos/videos, I've noticed the old kind of robotics, from ABB, Fanuc, and what not, with massive robotic arms planted to a firm-foundation, is based on precision pre-programmed movement. (I believe) there is no feedback though sensors or cameras or anything. But the new trend is based on feedback, whether traditional control-theory feedback, or neural network based reinforcement-learning feedback, which I guess eases the rigors of pre-program design and makes the system more flexible in new situations. But of course it's an open research topic, and involves every-increasing sophistication of sensors, high-def cameras, lidars, and what not. Wondering how the choice of stepper/servo, or some other mechanisms like hydraulics/pneumatics relates to the above categorization. Thanks in advance.
- tlarkworthy 6y agoopen loop/closed loop. (though industrial arms will have proprioception too). Note a good fast moving robot arm needs position feedback in the 100kHz range, which a lot of sensors are nowhere near.
- fest 6y agoFrom what I have seen, what some of the research gets wrong is focusing too much on actuators and less on the frame rigidity/dynamics. Even if it's possible to arrive at somewhat okay-ish position performance using vision based feedback, the control system can't really cope with dynamic issues (imagine an end effector on a thin, long piece of wood: even if you can move it around to a certain position based on vision feedback, once you change the load on it, the piece of wood bends, once you decrease the load it snaps back etc).
- yudlejoza 6y agoOh yes, this is one of my pet peeves. I do think taking into account the feedback from the load as well as the weight of each section of the arm itself, needs to be done. In addition, some aspects of vibration control also need to be incorporated. (I guess the right word is proprioception, as mentioned in another commentor).
- taneq 6y ago> As long as they don't skip steps. And they always do. So you end up running at 1/10th of the speed your tool could move at to avoid that, and even then you'll end up tossing workpieces because you lost synchronization somewhere along the line. My experience has been roughly opposite of this. If you overload your motors, you're going to lose positional accuracy and probably wreck your workpiece regardless of whether you use steppers or servos. If you don't overload your motors then the difference is moot, and with steppers there's less to go wrong.
- PragmaticPulp 6y agoIn practice, hobby CNC machines use the closed-loop feedback systems to halt the machine and alert the operator that something has gone wrong. Hobby-scale machines shouldn’t need closed-loop systems for positioning during cutting operations. Especially if they’re using a 300-400W (sustained) consumer router as their spindle as this article suggests. Cutting forces at this scale are in the single-digit pounds. Nothing a common NEMA23 can’t handle with plenty of margin. Trying to push a low-powered spindle through the workpiece on a low-rigidity hobby machine causes more problems.
- traverseda 6y agoStepper motor drivers that support stallgaurd (trinamic's stepper drivers) seem like the best of both worlds, and even in-theory can give you some force feedback.
- throwaway9d0291 6y agoI disagree. I've been running a small CNC for a while now and though I've had skipped steps, they've never been the cause of a failure. When they've failed, it's been because: - I stalled the spindle and I'm trying to plow the no-longer-rotating endmill straight through my stock (and if steps weren't skipped, the tool would break) - I forgot to turn on the spindle and I'm trying to plow the endmill straight through my stock (and if steps weren't skipped, the tool would break) - I've somehow forced the machine to try to push through its limits and crashed an axis into the chassis (and if steps weren't skipped, the machine would be seriously damaged) Basically, the only time the steppers have failed is when not doing so would lead to much greater damage, so I'd go so far as to say that skipping steps are a feature, not a bug. If your steppers are failing in the middle of a job where nothing has gone wrong, either your steppers or your drivers are messed up but it's not because steppers are inherently bad. I'd recommend servos for applications that are demanding on torque, power, speed and/or accuracy. I wouldn't recommend them for your first DIY machine because of the additional risk, expense and complexity they add.
- archi42 6y agoDoes this also hold when using drivers like the ones built by Trinamic? A servo is essentially a feedback control loop, ensuring your motor will slow down if is reaching its torque limit. As I understood the data sheet for the Trinamic controllers, they can measure various parameters (e.g. back EMF, applied current,...). Cooperating with the motion controller, a similar feedback loop can be implemented. (Thinking about this, a servo would need to "talk" to the motion controller as well anyway - if the motion is lagging behind due to a torque limit, the motion controller needs to compensate for that instead of just scheduling motion on an independent axis).
- jacquesm 6y agoThose should work fine.
- jiveturkey 6y agotormach doesn't seem to have a problem with it. it's only recently they started offering servo upgrades.
- dekhn 6y agoI've been curious about this for a while- I've got a modest CNC (X-carve) with steppers. If I wanted to upgrade my machine to feedback servos, how simple could it be? I already have a CNC controller with stepper drivers. Do servos have a stepper interface, and internalize all the servo logic and feedback? IE, can I just buy "servos" that have internal feedback, and send them the same step and dir signals, or SPI signals, needed to drive steppers? Or, do I have to replace my controller/drivers with a servo-specific driver? The reason I ask is that I have an extremely inexpensive stepper system (grblesp32 6-pack controller with external drivers) and cheap steppers, and definitely am hitting the point where I have to dial back all my parameters to finish cuts without dropping steps.
- unangst 6y agoBest advice I read before I purchased my CNC: “buy your second machine first”. Five years in and I’m still growing into my 4’x4’ CNC (CNCRouterParts/Avid CNC). Love this thing, only thing I wish for is more time to use it.
- noveltyaccount 6y ago"Buy once, cry once."
- Stronico 6y agoValid - but building a crappy first machine is a great way to learn how to build a better second machine.
- the_cat_kittles 6y agocorollary: buy nice, or buy twice
- ashtonkem 6y ago* Depends on how much space you have to spare.
- wccrawford 6y agoOTOH, I built an MPCNC router that is good enough for all my needs, and was also the cheapest solution I could find. I not only don't want to replace it, but I bought a diode laser CNC in addition to it. I could wish that the laser had a larger bed or was more powerful, but it really can do the vast majority of what I want. I maybe eventually buy a better one, but I doubt it. Going budget on both of these was a good move. It gave me what I wanted while not wasting money.
- SV_BubbleTime 6y agoI have an 8x4 foot machine, and it’s a big boy, old software I don’t like, steppers, i rarely use it... but I know ONE thing for sure, I would probably not recommend a wood frame. Our steel frame weighs a figurative ton (or metric literal, IDK) and it STILL is not stiff enough for large 3D contoured parts with tons of little steps.
- earleybird 6y agoI'm running a 5x10 which physically is 7'x12'6" with Nema 34's. No lost steps over the years, aside from crashes. It will snap a 1/4" bit without losing a step. It's on a steel frame that is 900+ lbs of steel with 3 sheets of 5x10 3/4" mdf and it still vibrates every now and then. Machine time to planning/cad work is probably 1:10 which is about in line with my development work - 10hrs design for each hour of programming.
- utopcell 6y agoThis seems enormous. If you don't mind sharing, what are you making with this machine ?
- earleybird 6y agoMostly utility stuff around the house. At one point, a custom chicken coop. My use case is unlike commercial/industrial. It serves as an 'infinite jig', a work bench and a platform for experimenting. I can see driving it with Klipper. Mach3/gcode is like batch mainframe work. Klipper/Python could make for a much more interactive experience. eg. vision for work piece alignment and then be able to say "give me a 1/2" dado down the back with system 32 shelf pins.
- syntaxing 6y agoI had a CNC, mill, and lathe but the biggest problem is how expensive it is to operate it (excluding the machine). You want a good end mill? $100. Vacuum plate because why not? $400. You have to use some serious cash to machine parts which forced me to pretty much use my 3D printer most of the time since it cost me $2 rather than $50 to make the part.
- PragmaticPulp 6y agoI always warn people that they need to budget about 50% above and beyond the cost of their CNC machine to actually use it. End mills, work holding, dust collection, and other accessories will quickly add up.
- bluGill 6y agoI bought a big old mill for $200. Where can I find even one cat-50 tool holder and cutter for $100? I have room for such a massive machine, most people don't which is why I got it so cheap. (or a way to move - the typical fork lift won't budge it) I actually got two for that price, but on closer inspection one has a fatal break in the casting and so it is scrap - I expect to make $2500 once I get all the valuable parts off of it
- Stronico 6y agoI've always wondered if I was the only one on HN interested in cnc machines
- mhh__ 6y agoHN is small but self-selects to have people who tend to care about what they do so anytime I find myself thinking that for any topic it usually turns out I'm wrong. The most niche thing I actually care about is probably Cold War espionage, and even if the exact thing I mention doesn't ring any bells with any commenters, someone will usually chime in with at least familiarity with the people involved.
- justinclift 6y agoNah, there are quite a few people into CNC things on HN. :)
- dboreham 6y agoStretch goal: get it running BGP.
- jbay808 6y agoInteresting to see a reference both to Moxer Technologies and Dan Gelbart's prototyping videos in this post. Is the author from Vancouver?
- mferraro89 6y agohaha no I'm not from Vancouver but I do love Canada. Living in Northern California.
- YZF 6y agoDan's company, Creo, used to build high precision machinery very similar to CNC machines. He used to give some amazing tech talks and his videos are similarly amazing.
- the_cat_kittles 6y agoif you find cnc routers cool, as i once did, i recommend you check out the world of machine tools- i.e. things that are used to make steel (and aluminum) parts. i would suggest starting by understanding how a manual lathe and vertical mill work (blondiehacks on youtube might be a good place if you are totally unfamiliar), and then seeing how they are driven with cnc is very cool. though that part is somewhat similar to cnc routers, but just much more demanding. and the precision is incredible if you arent familiar with the world of machining- even low grade hobby machines can hold tolerances of 1 thousandth of an inch easily across 18" of travel. its also a very interesting world because its been steadily evolving over the last 100 years, and metalworking for who knows how long before that. just be prepared to watch 1000's of hours of youtube videos, machinists like to make 45 minute+ videos for some reason.
- YZF 6y agoI designed and built my own CNC router from scratch about 10 years ago. I just recently got it out to play with... Fun. But boy does it make a lot of dust to cut wood with a router (which is mostly why it's been sitting in the garage for so long, plus not a lot of time, plus it's not a very practical one, small work area). EDIT: Random tidbit is that I control it from an old PC's parallel port. The PC runs DOS (the best real time OS ;) ) and uses some old free software called TurboCNC that can read G code and drive step and direction drivers. It has it's limitation but if you have an old PC around...
- mferraro89 6y agoVery cool! A modern analogue might be LinuxCNC, which runs on old PCs in a realtime manner, generating pulses and sending them out the parallel port, or sending commands over ethernet to a dedicated step generator board for ultra accurate timing. What's old is new again!
- YZF 6y agoI wanted to check it out at some point though I'm a little scared about the ability of Linux to pulse step and direction with the same precision of a 15 year old DOS setup that has no background tasks and just hits that timer interrupt with very predictable result... The motion generation capabilities of TurboCNC are pretty basic though. Btw, if anyone is interested that build is documented here: https://www.cnczone.com/forums/diy-cnc-router-table-machines/62620-cnc.html https://www.cnczone.com/forums/diy-cnc-router-table-machines...
- craftinator 6y agoI run LinuxCNC on a Raspberry Pi 4, and it works wonders. LinuxCNC is installed with a realtime Linux kernel; it'll run just as realtime as DOS.
- tabulatouch 6y agoI tried as well but found no guides to build a RPi4 LinuxCNC machine with realtime. Can you point me to some tutorial or ready SD card image?
- jkelleyrtp 6y agoIf you’re interested in a garage-size router and don’t have the time to build, I suggest the Omnio X8 - starts at 2k, and all tooling an upgrades will probably run to a total of 3k. Here’s some tips and tricks: https://www.chiefdelphi.com/search https://www.chiefdelphi.com/search
- mianos 6y agoAnd watch NY CNC and This Old Tony on youtube. Once youtube starts recommending more CNC channels on account of watching these two you will be addicted. Watching CNC cutting is probably the most relaxing way to waste time.
- geokon 6y agoThe grad students in the lab next door have to sit meticulously for hours/days with dental drills drilling out samples from rocks. I was hoping to be able to automate it with an affordable CNC machine (and an attached scanner bed) – but I seem to not be able to find any clear information about step sizes. Here it says microstepping is bad.... I also don't really need to do any milling, just adjust to the right x-y position and punch a tiny hole and collect the dust. Milling rocks in any case is a no-no from what I understand. Maybe someone could suggest some ideas for my .. unconventional requirements :) The samples are pretty small (maybe 20cm^2 at the most) and I don't need to do it fast... And I prolly don't have a huge budget
- YZF 6y agoI tend to disagree with the author there. Microstepping isn't "bad". The biggest issue with hobbyist setups is that they have problems with the higher step frequencies required. If you have a good controller and driver you should probably go for higher micro stepping resolution. It will give you smoother motion (less vibrations/unintended frequencies) and better positional accuracy. Anyways, for your use case it sounds like that isn't relevant. What positional accuracy do you need? What screws are you planning to use? Start there. Most likely a full or half step setup is more than enough for your purposes and just make sure you set the motion parameters right... The cheapest solution for X/Y positioning is going to be something like fixed voltage (just using some transistors to switch the stepper motor phases) and stepping via software at slow speeds. What's your budget? What's your more precise requirements? (working area, accuracy, speed etc.?) What can you build yourself vs. buy? Depending on what you need and what you're comfortable building it's either a trip to your local hardware store or just buy a cheap off-the-shelf 3-axis CNC kit.
- jbay808 6y agoMicrostepping isn't bad. The author says it reduces torque, but it does not. That is a myth. As long as you are below the maximum pulse frequency that your controller can process, there's no penalty at all to microstepping.
- fest 6y ago
- Animats 6y agoI miss TechShop. A Tormach 3-axis mill and Shopbots in several sizes. I don't have enough need to have my own shop, but I was happy to pay TechShop to use their variety of machines.
- spindle 6y agoI followed these instructions to the letter, but was unable to connect any of my computers to the internet through it.
- peter_d_sherman 6y agoAbsolutely gorgeous (and information rich!) web pages! Well done! Favorited!
- xupybd 6y agoI work with commercial CNC machines. I think people are missing out on the second hand commercial market. One of our most reliable CNCs is an old pod and rail that cost $10k. It is much more than any hobby machine. Please if you're getting into this look around at second hand machines. You'll be able to do really well if you want to setup an old 90s machine with new electronics. It's not as complex as building one from scratch and you get much better mechanical components.
- yeuxardents 6y agoWhere does one look to search for second hand CNCs?
- xupybd 6y agohttps://www.ebay.com/itm/Biesse-Rover-18-CNC-Router/254359574682?_trkparms=ispr%3D1&hash=item3b3903189a:g:9mMAAOSwjnpdfSBh&amdata=enc%3AAQAFAAACcBaobrjLl8XobRIiIML1V4Imu%252Fn%252BzU5L90Z278x5ickkrDx%252B2NLp21dg6hHbHAkGMRS5OGyy53MVPepgcubH%252FDNG352OYLL1ydrFOp%252BBhtQ7Onbm3K%252Fcr399J9v1kEXwydlDCOjhk0E3yD30aBf%252BcPhOqPxf%252BwaRjLalOKSaiRqBn6ocy%252F5np%252BijYX7iFBE3jjx%252F39AQ0udA7nA53iUDTAFkBf93Ld9g8XzUZXRnHsZbLpoooXvQJMQdt22W67%252FtiRWLwt0iTHYrxk2IHIXMGWn2zuZloS4koDfLHUn5cCTwNLwt6yLKxu%252FfLklz8dBdRDDmHODi%252BlCB9aeyHMPSwj68cN%252B9al0StmXtZ6KWkB4Ey2rYrelwPC77nQ%252FP2G%252BxNprO0clWmpgs%252BJaAACm5hyzgbWbKNkmqbfGIYeDhVad3LBWUH3DcxsozvTeM2BRPwMpklxcR2rpqlmy0UgbgM8%252FuD6wxOyM0%252FySZ6t9xUNT6iHggwgRH1BiG0lGnNeRztLWGI4ChQq39NhU%252Bzq6A7CEKCSb1cqHXYsyJJ6a3xc73BT5%252FJDb6Ty6ptEjFyEww5JCEeRe9jkh0DiHoSK7Xc9PjZO1WkDvU7TgrW0nT9GSTnndTmJ%252BTx%252FMRTToy7K%252FFOJKmGyZ4UH8YMrsyuKpsdINqTOkcd3k6zKsDrWdmHGTAN13hzlC06MsuetGrRGBdGpbFnyvSs%252BqlY8qau6dzTP%252B%252BlFSQCZId2K1bVWEuI7p%252Bwcq1sdOV00GRlKAQHZGHue5xePDRB%252Fid3Pmgwn8lEkxiuMDGFFFG9Y2tYxM3GOQjCAlGMzA5NyDaOqUOwt2hWA%253D%253D%7Ccksum%3A2543595746825fbcd7eef65447a68cacb15bd471a4ae%7Campid%3APL_CLK%7Cclp%3A2334524 https://www.ebay.com/itm/Biesse-Rover-18-CNC-Router/25435957... They are on most auction sites but your best deals are going to be liquidation auctions. There will be auction houses that specialise in these in your part of the world.
- mtreis86 6y agohttps://bidspotter.com https://bidspotter.com
- Azrael3000 6y agoI just started building a MPCNC, so I still have time to change one thing or the other, so I'll give your post a good read. Thanks for taking the time to write everything up. In the German community Estlcam [0] seems to be used a lot. With a 50€ price tag it seems quite reasonable and it might be a nice piece of software to try out. [0] https://www.estlcam.de/ https://www.estlcam.de/
- kesor 6y agoI very rarely use browser bookmarks, but after reading every letter of this post I just had to bookmark it. Such great writing with short and to the point explanations about ALL the things related to CNC mills. Some years ago I actually tried building my own desktop CNC. A lot of the warnings and "don't do this" mentioned in the article have gone into my design, which is why it never ever worked or did anything and is now laying disassembled in a box.
- snarfy 6y agoThis is a great resource. I've been slowly building one over the last couple months and had to learn all of it from various sites. It's nice to have this all in one place. It's a 1000mmx600mm gantry design I made in fusion 360. I've been mostly copying a commercial design (omio cnc). It uses 20mm aluminum plates, ground rails, and ball screws. For electronics I'm using a teensy 4.1 based grbl board (grbl-teensy-4) with external stepper drivers, 34mm steppers, and a 500w brushless spindle. I'd go bigger on the spindle but I'm limited by wattage. The hardest part for me is the hardware. My design is simple based around plates with holes in them, but a couple plates require threaded holes in the end. If you are a software guy, drilling a 12mm horizontal hole 30mm deep into the edge of a 20mm x 400mm plate is surprisingly difficult. It won't fit in my drill press that's for sure.
- konjin 6y ago>If you are a software guy, drilling a 12mm horizontal hole 30mm deep into the edge of a 20mm x 400mm plate is surprisingly difficult. Punch to center the first hole, then a center drill to start, then pilot holes at 3mm, 6mm and 12mm, use duck tape on the drill bit to keep the depth right. If you really need the holes to be dead straight use a handheld router those are a great thing to have anyway and pretty much all of them have 100mm of or so of travel. If you're drilling into something very hard skip the 3mm. A good video on how to tap so you break fewer of them: https://www.youtube.com/watch?v=33wfSMsUbuc https://www.youtube.com/watch?v=33wfSMsUbuc
- dekhn 6y agothis is one of the main reasons I bought a CNC- to automate work that I can do precisely, but am too lazy to complete.
- yetihehe 6y ago> If you are a software guy, drilling a 12mm horizontal hole 30mm deep into the edge of a 20mm x 400mm plate is surprisingly difficult. It won't fit in my drill press that's for sure. Welcome to the wonderful world of jig-making. "Making" jigs has about the same amount of "making" like "coding" in programming. You have to invent or search for a jig which will make that task doable. I suggest clamping lightly two planks to sides of your plate, make a thick block with your desired hole, then screw that block onto planks so that your hole is centered between them. Now you have a guide for drill.
- daitangio 6y agoCan I humble suggest to explain what is a CNC router in the second sentence of byour blog post? I do not know that is :)
- wccrawford 6y agoMaybe you should Google it instead? Not every post has to explain everything. For regular readers, it would get very tiresome.
- daitangio 6y agoYes, but at least explain what about the post is...sometimes a 4-word phrase is enough... Google is not the solution to everything
- deleted 6y ago[deleted]
- bencoder 6y agoExcellent resource, thank you! I think the date at the top has the wrong year (2020 / 2021)
- mferraro89 6y agothanks you're right about the year! I'll fix that in the next update
- pupdogg 6y agoBuilding my own 5ft x 10ft CNC from start to finish (ie frame design/welding to integration of a controller/software) was an amazing journey to learning various engineering concepts involved in making an industrial grade machine that churns out accurate machined parts every time and all the time (my case being wood/composite materials and sometimes aluminum). Video of my machine here: https://youtu.be/qpLQEtcjPSY https://youtu.be/qpLQEtcjPSY. Here’s a video of the machine pocketing text CNCZone https://youtu.be/NQFKHyqxvJw https://youtu.be/NQFKHyqxvJw. CNCZone is a great resource forum for DIYers.
- leon_sbt 6y agoThe machine you built is very professional looking! Great job! I wish more people did high quality "last mile" integration" on their machines. Energy chain and powder coat makes a huge difference in perceived quality. Couple of questions: 1. Why did you chose to mount the Y axis servos in that orientation instead of where the axis of the servo is perpendicular to the floor? 2. Since you welded the frame, how did you manage the mount the linear rails square? Shims? Post weld machining the frame via bridge gantry? 3. What was the total cost of this vs buying an OTS machine? I'm guessing around $12k.
- pupdogg 6y agoThank you! 1. How the Y-axis Servos are mounted isn’t the ideal orientation. Some of my initial decisions, ie for linear rails, limited my options based of what I was able to fabricate in-house. There were a lot of lessons learned and if I was to do it all over, I would actually go with mag driven linear servos if I can afford them or have the same existing Servos mounted in vertical orientation with the gear rack facing outwards engaged with the pinion 2. Good question! One of the biggest challenges of starting to make your own machine are the real life unknowns, which might yield one answer theoretically, and another in practice. Trying to balance between a realistic budget and wanting a unicorn setup, I realized that it was out of my budget to machine the entire base frame for this machine. So, the Y-axis gear rack was basically mounted to base frame using self tapped holes, some shims from McMasterCarr and very long hours with a Mitutoyo dial riding back and forth. Since the gantry was much smaller compared to the base frame, I was able to get the X and Z axis machined from a local shop. Here’s pix of that: https://imgur.com/a/RLEETAm https://imgur.com/a/RLEETAm. Due to the DIY nature of my project, I was also not able to stress relieve the weldments but was still able to achieve 0.001” tolerance for my use case materials (with the exception of aluminum which is probably around 0.01”). 3. Having made some mistakes along the way and doing this for the first time, my actual expense was around $23k over 1.5 years. However, that also includes a very nice 2x high volume Busch 20kW vacuum setup for the vacuum table (which I got for a steal deal on eBay). They would normally run $20k/ea but I was able to find and fix DOA units with minimal work for around $1600 for both. I hope this helps!
- hehehaha 6y agoI would like to see/make a small CNC build with focus on accuracy...since not everyone can afford a KERN.
- yetihehe 6y agoYou are probably looking at PocketNc[0]. VERY small, for precision work and has 5 axis. Nice for making micro turbines for model engines[1]. [0] https://pocketnc.com/ https://pocketnc.com/ [1] https://www.youtube.com/watch?v=vMY06dzf7UA https://www.youtube.com/watch?v=vMY06dzf7UA
- throwaway9d0291 6y agoThis is a really good starting place but as someone in the middle of retrofitting a commercial CNC, it's missing _a lot_ as well. My highlights while reading: - For an Aluminium frame, you could also use solid Aluminium bar or plate. Depending on your location, it might be cheaper/easier to acquire. One benefit is that plate especially can be purchased pre-milled, so you can get it very flat, which is good for things like mounting linear rails, which require high-tolerances from their mounting surfaces. - Missing from the "Linear guides" section is the varying tolerances and rigidity specifications of the various options. Linear rails can have some crazy high ratings for stiffness (e.g. page 27 of [0]) and high degrees of parallelism and overall precision. Shafts are often unspecified. However a tradeoff here is that linear rails also require high tolerances from the surfaces they're mounting, otherwise they're out of spec and can wear out quicker. It also misses that rails can be quite expensive. I'd also add that though the rails are low-profile, if you want more clearance you can always elevate them. - Missing from the "Linear actuation" section is how much stuff and expense goes into a proper ballscrew setup. In addition to the ballscrew and nut (which usually have to be purchased pre-assembled together), you also need a fixed support to hold the motor-end of the screw (this keeps the axial load off the motor), a floating support at the opposite end of the screw, some kind of mount to hold the stepper motor concentric with the screw and a coupler to connect the screw to the motor shaft. Ballscrews can also be expensive. - I'd actually add a whole section for the stepper drivers. 3D printing in particular has led to some interesting options that can be applicable to smaller DIY CNCs. Trinamic stepper drivers for example are able to drive stepper motors silently, even with high current. - I'd add accuracy to the pros of servos. They're typically limited by the resolution of the attached encoder, which can be obscenely high. - The controller section is focused on Arduino-based or derived controllers which aren't much seen in much of the DIY CNC community. The most popular options by far are [1] Mach 3 and LinuxCNC/PathPilot. Personally, I really like EdingCNC [2] but it seems to see limited success outside the German-speaking parts of Europe. [0]: https://www.hiwin.com/pdf/linear_guideways_1.pdf https://www.hiwin.com/pdf/linear_guideways_1.pdf [1]: https://www.cnccookbook.com/choose-best-cnc-control-2017-cnc-control-survey-results/ https://www.cnccookbook.com/choose-best-cnc-control-2017-cnc... [2]: https://edingcnc.com/ https://edingcnc.com/
- mferraro89 6y ago
- windexh8er 6y agoGrowing up my dad was a machinist. This was in the 80s and CNC was what he evolved into from manual die cutting. He did a lot of government work where they most often times didn't know what the part was for or it was only a subset of the components. Most often times he'd be working on a 10+ ton die for a huge part, think landing gear, where the tolerances were in the thousandths. I always thought that was amazing the precision he could achieve by hand. That became even more remarkable to me as I got older and realized machines were now doing the math. About 4 years ago I built a homelab CNC. I wanted something more robust than a lot of the belt driven options out there and settled on a company called CNCRouterParts (now called AvidCNC) [0]. The downside is it consumes a fair bit of space. But between the laser cutter (Glowforge), 3D printer (Prusa) and CNC (CNCRouterParts) you can do quite a bit of light fabrication at home these days. [0] https://www.avidcnc.com/ https://www.avidcnc.com/
- jacquesm 6y agoLarge or precise, pick one :) Making large, precise workpieces is an artform, you have to take temperature of the workpiece into account, compensate for that, expansion of the bed and so on. Very tricky to do that repeatedly with any degree of accuracy.
- voisin 6y agoRelevant startup: https://sienci.com/ https://sienci.com/
- stevenpetryk 6y agoThis design seems like it'd be sort of easily replicated with a 3D printer and some 8020. I wonder if anyone has open sourced a clone. Edit: it is open source, and easily replicated by design! https://sienci.com/dmx-longmill/open-source-and-modifications/ https://sienci.com/dmx-longmill/open-source-and-modification...