CNC PCB milling


  • Hero Member



  • @neverdie just to make the necessary uv exposure to the photoresist layer, then you still have to develop and etch it (see: https://www.youtube.com/watch?v=4SNkzoOvoD8 ).
    with strong lasers you can eliminate the copper as well (see https://www.youtube.com/watch?v=dZYVda4fC4k), but those are not in the hobby category.



  • @neverdie this is exactly the same as mine, even better, it has er11 bit mount on the spindle, which I just ordered for mine. I ordered mine from EU (it is still Chinese) to avoid the issues with the custom, but from China it is cheaper.


  • Hero Member

    @andrew Are you milling regular FR4? When last I looked into this, TheOtherMill recommended something a little different (don't remember what now, but I think it was some kind of coper cladded plastic substrate rather fiberglass). Not sure why. Maybe it's easier on the milling bits or something.



  • @neverdie yes, I use standard FR4. if I remember correctly, I read some articles which sad that other PCB types could be more flatter (but the inaccurate flatness could be handled with the autoleveling) and those might not "eat" the carving bits that much. unfortunately I don't have experience with other types but FR4 PCBs.



  • just to have some related pictures in this tread as well, here are some on isolation routing, pcb outline milling and on some test results.

    0_1512852639164_small_20170918_085220.jpg

    0_1512852283772_small_20171101_210626.jpg

    0_1512852428724_small_20171118_194840.jpg

    0_1512852291326_small_20171118_202738.jpg


  • Hero Member

    Well, I'm sold. I just ordered one. @andrew I hope you're still around after it arrives. 🙂



  • @neverdie I'll be here 🙂
    you'll love the stuff, I bet for it.

    in the meantime I'll try to finish a howto on the cnc assembly/setup and on other tricks, such as firmware upgrade (which is not officially documented).

    I received the pack like the pics below, it took me two nights to assemble it.

    I would recommend not to use the provided SW pack. or maybe just in a dedicated VM, without internet connection... who knows...

    0_1512862442026_small_20170912_204114.jpg
    0_1512862447860_small_20170912_204451.jpg
    0_1512862451984_small_20170912_204505.jpg
    0_1512862460337_small_20170912_204719.jpg


  • Hero Member



  • @neverdie it depends 🙂
    for fine isolation routing I use 2001 bits (20 deg, 0.1 width), this gives you 0.1363970234mm (5.369961552mil) width at 0.05mm cutting/carving depth. the more sharped bits are more precise but more fragile as well.

    for hole milling, outline milling I typically use 0.8mm end mill.

    it is good to have multiple items from each different tools / sizes, so you can vary them, based on the needs, and replace them if necessary (broken or blunt tools).


  • Hero Member

    @andrew OK, so do you recommend getting one set of each model, or multiple sets of the two models you indicated? Or...?


  • Hero Member


  • Hero Member


  • Hero Member

    @andrew Anything else I should order while I'm at it?



  • @neverdie I would say, as for a starter kit you should have:

    • drill bit set from 0.3mm to 1.2mm, e.g. this, which I already mentioned before. for vias, through hole components you will use a couple from them. I recommend to have at least 2 pack from this. if you make any mistake (e.g. while moving the cnc head to the relative home without properly realigning the z axis after a tool change /yes, it happened with me :)/) then you can easily break a bit. so have a spare set, just in case...
    • 0.8mm end mills for slot milling, edge cuts and to mill holes which are bigger than your drill bits (e.g. mounting holes). the previously mentioned set is good, as you have multiple options for different tasks, but I still recommend to have some spare one from the 0.8mm end mill in advance.
    • same applies to the carving bit sets. buy one set with multiple size variants (in the given link it is "model 6"), and buy another which just contains 2001 bits (model 2) as these bits will be used the most.
    • PCBs. I usually buy mine from local stores, but your linked one seems to be fine. nothing special, single side or double sided FR4 PCBs, based on your needs (size, thickness). I use 1.6mm thick 1oz FR4 boards, others should work as well.

    you will/might need double sided adhesive tape, and a sacrificial layer for the cnc, to protect your cnc's bed. I applied a wood board cut for proper bed size for this purpose (see before / after pics below). when you drill holes or mill edges/slots then the drilling/milling tools should go through on your PCB, so there should be a sacrificial layer between your cnc's aluminium bed and the PCB. this layer should be replaced when it become very used.

    basically that is it, no rocket science 🙂

    0_1512898935341_small_20170917_185349.jpg
    0_1512898943501_small_20170917_190225.jpg



  • I have been working on gathering parts to build either another 3D printer or CNC machine like this. I think I am sold on a CNC. A question I have on this is what kind of control board does this use? Is it just a standard RAMPS 1.4 board like ones used in 3D printers? Also, is that just a piece of MDF mounted for the build plate? Curious why you didn't just put some T-nuts with clamps on the V-slot plate? Is there an advantage to using the MDF?


  • Hero Member

    @dbemowsk said in CNC PCB milling:

    Curious why you didn't just put some T-nuts with clamps on the V-slot plate? Is there an advantage to using the MDF?

    Without the sacrificial MDF material (where, presumably, MDF is flatter than ordinary wood), then when you drill through the PCB material, wouldn't you also be drilling into the v-slot support metal? i.e. presumably you need some kind of sacrificial layer, and the flatter the better.


  • Hero Member



  • @dbemowsk that is just a simple laminated MDF, but other materials could also work. the only advantage it has is that it is not a very strong material (when the drill or milling bit go into that) and it is flat.
    I used T-nuts at the bottom, but I did not receive clamps, so this is why I drilled the MDF and fixed like this. my original screws were longer than necessary, so later I replaced them with a shorter version (see the picture below), so it is not disturbing now.

    0_1512921472288_small_20171118_194840.jpg

    you can use clamps, but if you would like to drill or mill as well and not just isolation routing on the top layer, then you need a sacrificial layer between the PCB and the cnc bed. this could be also fixed with the clamps, so it is basically up to you how to solve this.

    I went for this solution as it is flat, fix and very stable. for the double sided PCBs I can (and have to) use alignment holes with an additional tool in the holes to position the PCB, then a simple double sided adhesive tape makes the job to fix the PCB.

    this cnc comes with the controller board which is mentioned by @NeverDie, it is basically a GRBL compatible board. you can also use different controllers such as arduino based ones, Pi CNC Hat, TinyG and others. it uses Pololu drivers like the RAMPS, but for the RAMPS I'm not sure in the communication protocol.



  • @neverdie Good point. I hadn't thought about that.



  • A RAMPS board is much cheaper, but I don't know if that can be used for CNC.


  • Hero Member

    @andrew Thanks for all the links. I've ordered everything on your list. Which software will be the first I use? Maybe I can start learning a bit about it while I wait for the deliveries to arrive.



  • If you are doing only 1 pcb or 2 it is oke to use a cnc milling machine,
    i needed a bunch of boards for my home automation project and it took way to long.
    Changing bits for engraving/drilling etc and then the costs of the pcb itself.

    I went to https://www.itead.cc/open-pcb/pcb-prototyping.html , double sided smaller circuits then with your milling machine and coating , looks like factory pcbs.

    it is fun to see the machine working though, made some timelapse videos.
    click for the video



  • @neverdie cool, you will have a nice Christmas then 🙂

    I guess you have experience with EDA tools, such as KiCAD or Eagle. this should be the first point. you should export your PCB related gerber and excellon files (top and bottom copper layers, edge cuts) from the given EDA software, then flatcam is the next one.

    in flatcam you have to import the exported files and do all of the necessary preparation work, to create the necessary G codes for every tasks, including isolation routing, milling and drilling.
    this will be your main tool, so discover it as much as possible, including the double sided pcb handling part. most of the manual preparation happens here. maybe this tool is the most important in the whole process.

    after this, you just have to use a G code sender tool which will control the CNC based on the G code, but this is the easy part. you need a CNC for that, so let's get back to this once you have a working setup. maybe in the meantime you can check e.g. bCNC's and chilipeppr's general howtos.

    without a working cnc you can also visualise and simulate the G code, e.g. with CAMotics.


  • Hero Member

    @vince I think it's meant for prototyping, not production. At least for that purpose, the reduction in turnaround time should be huge. If, instead, you send everything to the fab at every step, then you need the patience of a saint to iteratively evolve a PCB design.


  • Mod

    @andrew you wrote you sourced your cnc from the EU. Could you share where you bought it?



  • @yveaux I bought mine from "rattmotor" seller on ebay (https://www.ebay.com/usr/rattmmotor), but I basically just limited the item location filter to Europe when I searched for cnc2418 on ebay, then I made my choice based on the price and seller ratings.


  • Hero Member

    @yveaux Even Amazon.com sells them. Some even have 1-day Prime shipping, so you could have one tomorrow if you wanted.


  • Mod

    @neverdie Amazon still doesn't ship to the Netherlands and all eBay sellers seem to ship from China...



  • @yveaux search for "cnc 2418" with space separated, then you can find some one from Germany.


  • Mod

    @andrew ok, I'll give it another try, but suggested rattmotor also seems to ship from China (despite all the American flags in the pictures...)



  • @yveaux they had items from China and from EU warehouse as well. with the search I mentioned you can find product like this or this


  • Mod

    @andrew ok, thanks! It was probably the mobile searching then that hid them.
    Probably better not having the link though... Must resist to click....


  • Hero Member

    @yveaux If you do a fair amount of PCB prototyping, then it pays for itself pretty rapidly (as compared to using a Fab that is).


  • Mod

    @neverdie sure, but I'm afraid of the time I'll have to invest too tweak it and keep it running...
    Let's see how it turns out for you!


  • Hero Member

    @yveaux Oh, come on, jump in and share the risk! It will be more fun that way.



  • @neverdie The attraction for making ready designed boards as one-offs is clear enough, the costs and time don't stack up for bulk manufacture, but that is not what these machines are intended for anyway. For those making occasional boards who have no time constraints such machines are an increasingly affordable solution without chemicals to mess with.

    However much the focus here may be on PCBs, wood engraving, making your own panel labels, plaques, or fancy engraving on plastics are all uses beyond the PCB...


  • Hero Member

    @zboblamont I was just joking. Actually, I don't think there is much risk at all, because @andrew has proven it out already. If it weren't for him, and the results he's reporting, I wouldn't have had the confidence to buy a CNC 2418, or even embark upon this.

    I also think it's just one of those things where you either value the benefits, or you don't. That's going to vary a lot from person to person.

    That being said, the more the merrier!

    Also, though it's totally off topic, if there were a way to custom mill little project enclosures out of solid plastic, that would be a real bonus. That would obviate pretty much my only reason for also wanting a 3D printer. For instance, I can buy 1" thick vinyl planks at Home Depot for not much money, so it wouldn't matter if all of the plastic that's removed from a cavity is entirely wasted. It might even be cheaper than doing addative 3D printing from a spool. But, like I say, that would be gravy. I'm not banking on that. I suppose I could also make little wooden boxes from thinner sheets of wood that get cut on this CNC, and maybe that would be just as good. I'm pretty confident that could be done, though I'm not really sure as yet how.



  • @neverdie I was referring to earlier comment from the more commercial viewpoint. It is a hobby machine, but with a variety of uses beyond the current subject, and at this cost level risk is minimal.

    I have woodwork and mechanical tools aplenty which have made short work of completely obtuse and dissociated tasks, this is simply another tool with a specific task in mind, but a variety of possible other uses.



  • So I picked this thing up at our local university surplus store. It is a Lachat instruments XYZ auto sampler After some research, it appears to be a piece of lab equipment for sample testing. Not exactly sure how it works, but for the $20 US that I paid for it, I though it might be worth trying to build a CNC machine from it. The video clip shows the machine homing the X, Y and Z axis' when powered on.
    https://www.youtube.com/watch?v=OYuLQs5Cm7E
    Here is the label from the back panel:
    0_1512974267987_a8d7bea0-7bfd-42ef-aaff-bd7c55d146ac-image.png
    The motors for the X, Y and Z axis' do not appear to be stepper motors though:
    0_1512974407749_0a7f74bc-73e5-4231-901a-49a3e5e0b41b-image.png
    Found this one on ebay that appears to be a match. https://www.ebay.com/itm/Used-Good-MAXON-motor-2028-945-13-131-025-30-1-E-N2-/171548411580
    It appears to use rotary encoders to deal with position. Here is a pic of the encoders:
    0_1512974667006_c895d00e-afee-4b7e-8cd1-71b8fcc23f31-image.png
    If you look at the image above you will see that the X axis rails and linear bearings are pretty beefy at 16mm diameter.

    It would be nice if I could figure out the serial interface to see if I could make it do anything. Just wondering what the thoughts are from the group.



  • @dbemowsk the serial interface to those controllers which are used by most of these DIY CNCs are simple serial over USB, which speak grbl.
    if your motors are not steppers then I guess it would not be precise enough.



  • @andrew I had made the assumption that it had to be somewhat precise being a lab instrument, but maybe i'm wrong.



  • Wonder if I could convert to steppers. I'll have to check the motors and mounting.



  • @dbemowsk said in CNC PCB milling:

    @andrew I had made the assumption that it had to be somewhat precise being a lab instrument, but maybe i'm wrong.

    well, that is just my assumption. with steppers you definitely could turn exactly as much as you have to, with normal motors it is much harder as there should be some feedback based control (e.g. the rotary encoders which you mentioned). moreover steppers "keep" their status in one fixed position until they receive another polarity change (so a step), while in case of standard motors it is not true and if the mechanical part does not prevent it, then their axis could turn unexpectedly based on the external force it receive.



  • @andrew When it homes itself to the left and stops, it appears to lock itself in position. Do you know of any software that I could use to test the serial connection if it in fact it does speak grbl?



  • @dbemowsk any serial console could do the job. I usually use command line tools on OS X or linux, such as minicom or screen, but you can find graphical tools pretty easy. if you are working on windows then e.g. PuTTY could be a good solution.


  • Hero Member

    @dbemowsk said in CNC PCB milling:

    if it in fact it does speak grbl?

    It looks like older generation equipment. If you can find evidence that it was made before 2009, then there's no chance it speaks grbl.



  • @dbemowsk the serial console should provide a promt like this
    0_1512979202081_grbl_promp.png



  • @andrew I am using linux. There are plenty of serial console softwares out there. I would just need to know some commands to send it. I'll see if I can google a grbl command list.



  • @dbemowsk that is not a big deal. for first, if you get a promt like on the pic above, then it is a good indicator. then you can use "$" to get a text help. for the commands you should browse the grbl repo on github, which I already linked, it has a wiki as well.



  • @andrew Thanks, I'll give that a try later today and report back. IF by chance it is grbl, is there a CNC software that I can use to do a mock run of something to test it further?



  • @dbemowsk sure, e.g. bCNC on linux could the jon.



  • @andrew Thanks, I'll check that out.


  • Hardware Contributor

    @andrew - what would you say is the limitations of cnc drilling a PCB? I often use quite thin tracks (0,2mm) for everything except GND and VCC.


  • Hero Member

    @dbemowsk Looks like it may be a liquid handler: http://www.mansci.com/pdfs/pdfid56.pdf



  • @sundberg84 I often use 0.4mm drill bits for vias without any issue. 0.3mm should work as well. The drill set I linked before contains the most frequently used drill bits for PCB drilling (0.3 – 1.2mm).
    regarding to the traces, I have stable and reliable results with 6 mil (0.1524mm) traces / 6 mil clearance, which is also a limitation factor of several PCB manufacturer’s hobby/proto package.


  • Hardware Contributor

    stop teasing me! 😁
    I'm kidding I don't think I really need one (I usually have multiple things to do while I wait for my pcb) . I would need a bigger, I'm tempted by a mpcnc someday, not for pcb.

    just curious, how do you handle small vias?? I imagine it can be some labor to make them connect both side?



  • @scalz Well, in fact, at home I don’t make real but fake vias only, so basically I just use thin wires through the via’s hole and solder it on both side.



  • @neverdie That looks similar, but my connections on the back are different. Mine has 4 connectors, 2 of them are DB9 9 pin serial connectors. I think that is what this was for though. It is called an XYZ auto sampler. I think it is much like this one:
    https://www.youtube.com/watch?v=hrmiXsZX2ec
    I am sure it was used in one of the science labs at the university. When I saw it, they had $30 US marked on it for a price. I told one of the workers that I might be interested but wasn't sure. She said that she could mark the price down to $20 but that she had no idea what it was or what it did. I figured for that price I could at least get some useful parts off of it.



  • @neverdie
    Yes i know, like i said in the first line for 1 or 2 its nice but when you need more its not a great way to do it.
    or the pcb's are very small.


  • Hero Member

    According to FedEx package tracking, I may be receiving the CNC2418 as early as this Friday. Weighs 5 kilograms. Just posting this because some people here seem concerned about picking a seller who is not based in China. Maybe you don't need to.


  • Hardware Contributor

    grrr 🙂
    I think people concerns are about import fees (customs+vat) when using fedex, dhl.. if you don't get any fee, you're lucky! in France for example, they wouldn't miss me.



  • @scalz Ditto here...


  • Hero Member

    Hmm... Not sure if there are any applicable import fees here in the US. Anyone know the rules? They recently opened one of my PCB packages "as a security check," but there were no fees I had to pay.

    EU has the VAT tax, which presumably they force upon you no matter where the seller is.



  • I am in the US and I myself have never had any fees for things that I buy from china. One big one I got beginning of this year was my Anet A8 3D printer from Gearbest, and there were no customs fees or anything with that.



  • @neverdie VAT is applied across the EU by the receiving country, by purchasing from another EU country VAT is already paid therefore no additional tax is due.


  • Hardware Contributor

    It's the same, I never had problem when I get my order through regular shipping (and letters are in big bags, less easy for them i guess). hopefully!

    But when fedex, dhl etc are concerned, they always declare it to the customs (price order+shipping).
    They pay in advance the customs tax at airport, and then at home ask for the customs tax+little fee for the paper and because they advanced the money (approx 12€) + the VAT (20% of the total).

    Chinese fabhouse already told me a few times, for example, that they have to declare the price when they ship it and if I wanted to cheat it, that would be at my own risk, due to law reinforcements.

    Maybe US don't tax importation, I have no idea how it works in US. you're lucky then


  • Hero Member

    Is there some minimum dollar (or Euro) threshold before the VAT or other fees kick in? If so, then on a CNC2418, it's easily avoided: just divide and conquer. i.e. just buy it as separate parts that get shipped separately instead of all at once in a giant kit.


  • Mod

    @neverdie In the Netherlands it's something like 22 euro's max. If you go over it, all hell breaks loose 😉



  • @neverdie 10 EUR here, 20 GBP in the UK from memory.

    Postal service rarely refer small packages to customs, large packages almost without fail, although I did get called in by them over a small DAC before. The problem here is the bureaucracy, form filling and general heel-dragging.

    DHL etc are more trouble than they are worth unless high value items, they declare everything as @scalz noted..

    I can't imagine a chinese supplier being happy to send a pre-packaged machine in bits at no additional cost, and the risk of a part going missing grows exponentially.

    The cost difference from EU and China suppliers is sometimes not that great if you look around, it avoids hassle if EU source is acceptable price.


  • Hardware Contributor

    @neverdie For Austria the threshold for import tax (=VAT substitute, 20%) is 22 Euros (value of the goods, excluding shipping and insurance costs) and for additional customs duties it's 150 Euros.



  • I've used my CNC for milling PCBs for more than a year now.
    Here are a few tips:
    1st: don't skimp on the machine itself, the 3020 and 3040 are ages ahead of 2018 in terms of quality and reliability (the numbers show the machine size in cm) as the the 3020 and 3040 have no moving bed, but a moving gantry instead, search for the ballscrew ones (normally Z-DQ but also some T-DQ, initially T meant Trapezoidal screws and Z ballscrewZ, but now a lot of T-DQ come with ballscrews). Get the parallel port ones, the usb ones are flaky, you can run an old parallel port (centronix) computer with old WinXP or LinuxCNC or attach an arduino nano/uno (328p) and run GRBL, just attach that to the parallel cable and you're set.
    https://www.ebay.co.uk/itm/USB-CNC-ROUTER-ENGRAVER-ENGRAVING-CUTTER-3-AXIS-3040T-DQ-WOODWORKING-3-USB-PORT/282593206065?hash=item41cbde1f31:g:ibsAAOSwC9VZfuV0

    2nd: if you buy it stock it comes with a 300-400W aircooled 12,000rpm ER11 spindle, good but not good enough, I've upgraded for a watercooled 300W 60,000rpm spindle (costs almost as much as the machine itself) but I can run it at 1400mm/min and being watercooled it doesn't spread the "deadly" fiberglass dust everywhere.
    LE. you can also buy just the frame and buy separately the spindle, 3 nema 23 steppers, 3 tb6560 or 6600 drivers and a 24v or 36v PSU, we are tinkerers after all, aren't we?
    https://www.ebay.co.uk/itm/300W-ER8-Spindle-Motor-Water-Cooled-60000rpm-1-5KW-VFD-Inverter-Bracket-Pump-Kit/192035995150?hash=item2cb63cbe0e:g:kz8AAOSw-0xYNoey

    3rd: it is said that milling fiberglass boards (FR4) can create very very very small dust ("charf") under 3 microns which when inhaled is never released from the lungs, gets it's way to the pleural membrane where it creates small cysts that can degenerate in lung cancer, a very slow an painful death. So a good vacuum cleaner which exhausts OUTSIDE is a must, unless you buy very high end and expensive professional HEPA filters. I use a Philips HEPA vacuum cleaner, being a hepa means all exhaust is from the back port and no additional airflow is created (my shopvac has dual airflow, one for debris and one to cool the motor, guess what they are not at all isolated between them) and after the exhaust filter I 3d printed a 50mm hose adapter and exhaust it outside. I've wrapped the contraption in a thick garbage bag and sealed it with tape so no air can escape inside.
    Another way of doing it would be wet milling using a lubricant as WD40, oil or even liquid soap but might interfere with number 4 below (swell the mdf sacrificial layer).

    4th: you have 3 options to fix the blank pcb to the sacrificial layer:
    -clamps/screws: easiest, cheapest way, buy you will almost always get a bow in the board, it can be as bad as 0.5mm in a 100x150mm board, especially if you don't want to waste real estate and mill the whole board from side to side, I know you could use a 200x150mm board and leave an inch or two as a border and clamp there but that doubles the costs, I use 148x98mm out of the 150x100mm blank
    -double sided tape: use 3M Scotch 665, it handles well, sticks well but is not very hard to remove the board from the mdf sacrificial layer in the end, some other double sided tapes hold so well that you bend the board trying to remove it, or jut let loose and you lose alignment
    -vacuum table: I've just bought a vacuum pump but haven't got the time to play with it yet.

    5th: ALWAYS use registration holes, put a small known size hole at a known position, if you reset or stop any GRBL controller you lose position, specially when milling small traces 0.1mm out of alignment can make a huge difference

    6th: don't be afraid to test feeds and speeds, as other people said buy mills in bulk and sacrifice one of each to make tests, you can learn a bit GCODE and write a simple program to mill a zig-zag pattern at different feedrates (G1 X100 Y10 F300; G1 X0 Y20 F300; G1 X100 Y30 F350; G1 X0 Y 40 F350; etc) then inspect using a magnifier/microscope and settle for the best quality speed. I use titanium coated engraving bits from 0.1mm 10deg for very very small smd traces up to 0.4-0.5mm 30 deg for normal th boards. A 0.4mm 30 deg titanium coated bit can last for up to 10 heavily packed 100x150mm boards as you can see below. At the price it comes ( under $1/piece) it's cheaper to use a new bit then to destroy a blank board, which you will anyway at least a few dozen times 👅
    https://www.aliexpress.com/item/10x-Titanium-Coated-Carbide-PCB-Engraving-CNC-Bit-Router-Tool-10-Degree-0-1mm-Tip/1535712782.html?spm=2114.search0104.3.60.32Or0K&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10344_10068_5000016_10345_10342_10343_51102_10340_5060016_10341_5130016_10609_10541_10084_10083_10304_10307_10301_10539_5080015_10312_10059_10313_10314_10534_100031_10604_10603_10103_10605_10594_10596_10142_10107,searchweb201603_14,ppcSwitch_3&algo_expid=e598dd4d-29ef-4a85-af37-7bfefdd92c46-7&algo_pvid=e598dd4d-29ef-4a85-af37-7bfefdd92c46&rmStoreLevelAB=0

    7th: after milling sandpaper or use a scothbrite sponge on the board to remove copper edges

    Here are some pics of a few boards, I mainly do through hole since I find easier (cheaper) to buy modules from ali than to order the original circuits, none has failed until now 🙂
    LE. before you ask, the boards are HA light switches, 6 way, rotary encoded, led ring lights, led halo around them (as in car switches), MQTT enabled, w5500 eth connected, 100% designed and home made, 3d printed frame and buttons, laser cut acrylic and faceplates, cnc milled pcbs.

    alt text alt textalt text


  • Hero Member

    @executivul Thanks!

    What sold me on the CNC2418, aside from its low price, was @andrew stating that he can mill isolation at 6 mil, which is no worse than what I could get from using a fab like OSH-PARK. What mill isolation are you able to get down to reliably using your gantry based CNC machine with ball screws and everything else you mentioned?



  • About 0.2mm (8 mil I believe). Never needed to get smaller than that. Smallest chips I use are rfm69 or atsha 8 pin. The problem is not on a 20x30mm board but on a much larger one where having x and y axis not square makes a difference, where you need faster speeds since traces are much longer, etc.


  • Hero Member

    @executivul said in CNC PCB milling:

    -double sided tape: use 3M Scotch 665

    How much do you apply? i.e. Do you cover the entire back of the PCB, or use just a few strips of it, or....?



  • @neverdie a few strips, 20mm width each, 30-40mm apart.



  • in Hungary the VAT is pretty high (27%) which we have to pay on top of the customs fee. moreover, our customs and post response and processing time is very bad. the process could be speeded up if the shipping happens with e.g. dhl and they are allowed to do the customs, but then it also costs extra.
    in the past year customs started to focus very much on packages coming from China, even cheaper and smaller products are captured by them and you are forced to pay them before you can get your stuff 😞

    so for me it was better to buy the cnc from EU, even if it was more expensive compared to the direct Chinese sellers, because at the end of the day, the overall cost was about the same (assuming that I would had to pay the customs and the VAT) but I received the package much more faster.



  • @executivul thank you for the tips and for the shared experience.
    I agree, that the mentioned CNCs, have more robust structure, more powerful spindle, but I guess that the mentioned extra upgrade on the spindle is a bit overkill, especially just to create ad hoc proto PCBs at home.
    just be clear, I know that higher rpm and more powerful spindle could produce better and faster result, ballscrews provide smother and more precise movement, I don't questioning that, but for the price/value/reason of the usage combo I think the cheap smaller versions also do their job quite acceptably.
    2418 is not the fastest, not the strongest, but precise enough for this purpose and it is pretty cheap.

    btw, once I'll have a dedicated working area for my hw hacking stuffs, I'll definitely buy a 6040 or 9060, it is long time ago on my wish list 🙂



  • @executivul regarding to the parallel port question, these days, for these tasks it is worth to have compatibility with the latest open source toolsets, so usb and grbl compatibility is a key point.
    if you do professional cnc work, then you might need something different.
    btw, it does not mean that parallel port version could not work, most of them could be easily "upgraded" to support the mentioned needs. e.g:
    Build a ChiliPeppr Driven 3040 CNC – 24:26
    — John Lauer



  • very interresting post guys

    I have one of these in the garage (top of my head table is 10x15cm)

    I have never used it for pcb but @andrew tikkled my curiosity... very narrow tracks!

    For what it is worth and because i don't recall reading anything about it here, i have added endstops to my CNC
    It is well supported by the standard board supplied and GRBL takes care of it.
    I dont want to get involved in a fight between "Normaly Open" people and "Normaly Closed" people, so i wont tell you which i chose 😄 again GRBL and board can manage both
    https://www.ebay.com/itm/New-10PCS-Tact-Switch-KW11-3Z-5A-250V-Microswitch-3PIN-Buckle/173021165954?hash=item2848dd7982:g:xFsAAOSwGotWjjHo

    I get a very reliable "zero" on each axis. I actually home the 3 axis even after a tool change, just to be on the safe side

    It all runs on an old windows XP laptop. AutoCad for drawings, Dxf2GCode for... dxf to Gcode conversion 😄 and GCodeSender for feeding GCode to CNC.


  • Hero Member

    Are the end stops needed, and if not, how does the 2418 zero itself between tool changes? Or, I'm guessing, are end stops already part of the standard kit?



  • I would say that endstop are mendatory to get a reliable zero

    I know that z-axis can be zeroed with a "conductive probe"...
    https://www.ebay.com/itm/Router-Z-Axis-Check-Touch-Plate-Setting-Probe-Milling-Engraving-Machine-Tools-SG/112541889535?epid=2209276811&hash=item1a3404f3ff:g:ekkAAOSwyc1Zom5B
    I personnaly dont use that tool
    I just slide the drill or mill bit in the collet (loose). Lower the z-axis a bit. Let the bit come down to the pcb board. Then tighten it. Then manually zero the z-axis in my GCode sender. Job done

    You could get away with the endstops by pushing the x- and y-axis manually upto their mechanical stops... and then zero via the gcode sender software...

    No endstops in the kits AFAIK. All you need it the endstops, 2-conductor wire and 2.54mm plugs (servo plugs will do)
    Then inform GRBL about Homing settings like homing direction, speed and so on.

    One more handy setting in GRBL : apply brake to steppers so they dont skip steps while machining (when not stepping themselves) or tool change. Mind the stepper drivers as they will send full power to the steppers while in "brake mode"... they might get fairly hot...



  • @neverdie most of these entry level CNCs do not have limit switches. the controller board and the grbl firmware is able to to handle them, so you can install them anytime.
    when you power up the CNC, then it will have a "zero" point at the given x/y/z position. then, you can move every axis to the right position and set relative zero (usually at the bottom corner of your PCB) through the controller GUI. every movement declared in the G code will be calculated and will happen from this point. at the end of the given job (e.g. one round of drilling, or one round of isolation routing) the spindle will move back to the relative zero point, and will give back the control to you.
    here I elevate the spindle on the z axis and change the tool, then I zeroing out the z axis again with the new tool, load the next G code job and run it again.

    if you have limit switches then you can declare a tool change position which will be used every time and the cnc can do homing to real physical zero point as well.

    it is nice to have features, but you can do and handle everything without these.



  • @andrew Just be careful with 6040, not to mention the 6090, they mostly use the same round rods as guides and at that sizes you tend to get a lot of "droop" (sagging), more than 1 mm across the long axis, which is ok if you're using them to carve wood or whatever but is very bad for pcb engraving.

    About the endstops, I don't have them and never felt the need for them, a cheap switch has a huge 0.1mm of error which can lead to holes milled between pads, cut traces, etc. What I do is place a hole in the sacrificial layer or the pcb near the edge, later if I need to reset the machine move the gantry manually so that the bit can enter the hole (spindle stopped of course), raise the bit and set zero.

    For all of you wondering, just by connecting an Arduino to the parallel port of the control box you can turn any kind of cnc in a grbl machine, you just need the normal Mach 3 pinout: https://www.super-tech.com/root/graphics/EMC-XYAZ-MU-Parallel_Pinout.gif and grbl pinout https://cdn.instructables.com/FZY/QJE4/IM55X292/FZYQJE4IM55X292.MEDIUM.jpg
    and connect the step&dir pins and Z probe

    My toolchain is Altium Designer (Schematics->PCB->Gerber/Excellon) -> FlatCAM -> chilipeppr.com/grbl (autolevel->mill)

    LE. Don't ask me about stupid taxes in a 3rd world country (Romania), in a small city where the nearest p-channel mosfet is 120miles away 😡 Here dhl morons ask $22 only for passing papers to the customs, plus 19% VAT for the whole amount, including the shipping(why since it's already arrived in my country?), plus additional taxes if they can find one to match the content, so I prefer to buy from ebay.co.uk from within EU, even though the shipping is insanely expensive compared to direct Chinese free shipping, that's how I got the CO2 laser, the CNC, the spindle and vacuum pump for it and a few other heavy items. For small items I have no problem to get them through normal post no matter what the cost is.



  • @ben999 for pcb milling the z touch probe is not so useful. you should do autoleveling instead, on the whole target pcb surface.
    for this the pcb surface and the tool itself should be connected to the cnc controller board dedicated pins (usually the tool is connected with a crocodile clips) during the mapping.
    just quickly googled a video for that:
    CNC 2418 bCNC pcb-gcode – 00:41
    — TheVinylrider


  • Hero Member

    So, if I understand correctly, flatcam will import the gerber files and export a g-code file. Then, bCNC will spoonfeed the g-code to the CNC2418 control board. i.e. whatever hardware the bCNC is running on is physically connected by wire to the CNC2418. Right? If so, what kind of computer hardware do you recommend running the bCNC on? A Raspberry Pi Zero W, or something with more oomph?

    Also, do you recommend having a monitor display next to it, or is running headless just as good?



  • @executivul I had to laugh at your final paragraph, sums up my own experience with DHL also.
    I wonder if they are ex ANAF employees?
    I don't have deadlines to meet so order parts in advance from TME or Farnell etc who deliver usually quicker than local suppliers who say they have stock but ultimately don't, and at least I know the parts are genuine from the main suppliers...



  • @andrew Oooooo i like that, porn to my eyes ♥

    Can GRBL do bed compensation like Marlin does (for 3D printers) ? That's an awsome feature (and to be honest i couldn't live without it for 3D printing)


  • Mod

    on our 2418, the crocodile clip for z probing can be connected to the chassis of the motor, which somehow internally is electrically connected to the drill bit. Thanks to that, we can leave it connected all the time. Otherwise, turning on the spindle without removing the crocodile clip results in bad stuff happening.



  • @mfalkvidd Is this AFTER mapping the surface ?



  • @mfalkvidd forgetting to connect the crocodile clip right before probing can be desastrous too... 😄

    I put your comment in my todo list 👍


  • Hero Member

    I just realized: is it flatcam that does the auto-leveling? In which case, it would need to run on the Pi (or whatever the answer is to my earlier question) too.


  • Hero Member

    correction: I guess it's bCNC that does the auto-leveling.


  • Mod

    @zboblamont no, before. To my knowledge, it would be hard to map the surface without connecting the alligator clip.



  • @mfalkvidd 😂 Touche...



  • I hate bCNC, looks like Win95 era software and I hate chilipeppr even though looks like iOS 19, it's online only and the main dev, John Lauer, is a tinyg guy as he states so grbl workspace is neglected quite a lot. A tinyg is too expensive to bother, and even though an Arduino Due can run tinyg code (g2core project) probing is unreliable and I've tried getting help from the devs on git but couldn't solve the issues.
    Another alternative would be OpenCNCPilot but haven't tested it enough, one good thing about it is that it can split long gcode movements, which is VERY important, chilipeppr does the grid mapping and then compensates for the z-height at start and end of a line, but if the board has a bump/dip to be traversed then the milling won't be ok, if you split long moves then and then import in chilipeppr then it can compensate for each segment and you get a much better engraving.



  • Anything similar to OctoPrint, but for CNC ?



  • @NeverDie the autoleveling is the g code sender tool's responsibility, so from the mentioned toolsets chilipeppr or bcnc could do it. the given sw tool controls the cnc to probe the pcb's surface, measures when the given bit touches the pcb then makes a 3d map from the pcb roughness. later this 3d map is aligned to the g code which you get from other tools (from my mentioned example, it is exported from flatcam, which processes the gerber files exported from the pcb design software).

    @ben999 this is the way how "bed compensation" could be done, and for precise isolation milling it is essential. for drilling it is enough if you just set an approximately zero on z axis, which could be also result of a manual setup or the g code sender tools also could handle the single touch probe.
    this is the case when your mentioned touch probe could help, but without touch plate it is possible to do the probing the same way like in case of the autoleveling measurement but with one touch only.


  • Hero Member

    @andrew said in CNC PCB milling:

    chilipeppr or bcnc

    Which of the two do you recommend for beginners like me?

    Also, is a raspberry pi sufficient for running it, or do you recommend something with more oomph like a PC?

    Looks like I'll be getting the CNC2418 on Monday rather than this Friday because the twits at Jack's store didn't physically ship it until today (before that, it was evidently just a mailing label). Also, if anyone cares, the weight is 7.2kg, as measured by Fedex, not 5 kilograms, as entered by Jack.



  • to drive/control these CNCs a simple Pi is powerful enough, but it is not necessary to use a separated computer for that.

    chilipeppr runs in a browser (just open chilipeppr.com/grbl). it needs a "remote" serial service to connect over the network (on your local lan/wifi) as from the browser it cannot directly interface with usb. this remote serial service is just an additional software, which should run on a host what is connected to the CNC. this could be the same where you run the browser or really a "remote" host (e.g. a pi). chilipeppr also could stream webcam picture, so if you have one installed to the cnc then you can get realtime remote video as well.
    it is nice, "modern", but online.

    although bcnc isn't that nice as @executivul also mentioned, but I like it. it should run on that host which is connected to the CNC. I didn't have any issues with it so far, single touch z probing and autoleveling worked fine for me. this is what I use now.

    both of them are cross platform tools.

    as I work on os x and linux I did not tested windows tools. there are several more other options both for *nix like systems and for windows as well, but I don't have experience with them, so I cannot recommend anything else.

    I don't use separated computer for the controlling sw, I use my laptop for this job. you can't leave the cnc alone for a long time, the whole process needs multiple manual activities, so from this perspective the "remote" controlling solution maybe not the best idea.


Log in to reply
 

Suggested Topics

  • 4
  • 2
  • 4
  • 3
  • 15
  • 9

31
Online

11.4k
Users

11.1k
Topics

112.6k
Posts