CNC PCB milling



  • @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.


  • Hero Member

    Sorry for all the noob questions, but maybe others can learn from this as well.

    How do I know when a bit has become worn-out enough that it should be replaced with a newer, sharper bit? Does the software provide any feedback (e.g. maybe the motors are drawing more current than expected due to dullness)?

    Or do you just wait for a bit to completely fail (i.e. snap or shatter), then insert a new one, and then re-run the job from the beginning when that bit was first used?

    Also, do you have a particular test board you like to use to check out the system and see if it's running up to snuff? i.e. something that would challenge the system to surface problems in advance of trying it on a a more serious board.

    And is feedrate arrived at purely by trial and error, or are there good magic numbers to use for that? Since we're running the same system, maybe I could use your magic numbers (i.e. the hardware-specific constants which must be entered into the software)? If so, what are they?


  • Hardware Contributor

    @neverdie I'm saving up some money for a CNC as well and I would love if you have time to document your process. Might be to much to ask but I guess many newbie errors could be avoided. I know there are some on YouTube but I have not found any which address the questions we have had above in this thread.



  • @neverdie said in CNC PCB milling:

    Sorry for all the noob questions, but maybe others can learn from this as well.

    How do I know when a bit has become worn-out enough that it should be replaced with a newer, sharper bit?
    How do you know when you shaver is going dull? You inspect the result using a maginfying glass or microscope (I have at least one of my usb microscopes next to the cnc, if the edges are getting worse I replace the bit
    Does the software provide any feedback (e.g. maybe the motors are drawing more current than expected due to dullness)?
    No, maybe when milling metal that would be detectable, for pcb milling the forces are very low

    Or do you just wait for a bit to completely fail (i.e. snap or shatter), then insert a new one, and then re-run the job from the beginning when that bit was first used?
    yes, just to mention you can resharpen the bit. If it's Ti coated you lose that, but normal bits can be resharpened using a stone, then tested for width since you change that when resahrpening

    Also, do you have a particular test board you like to use to check out the system and see if it's running up to snuff? i.e. something that would challenge the system to surface problems in advance of trying it on a a more serious board.
    LEARN GCODE, I can not emphasize it enough, half an hour taken to understand 5-10 commands is all it takes, G90/G91/G92; G0/G1 is all you need! Than you can take your time and write small scripts, for eg. that do a zigzag like pattern with passes at increasing distances and you can check your actual bit size

    And is feedrate arrived at purely by trial and error, or are there good magic numbers to use for that?
    Mostly yes, read the comment above, and your script just change the F parameter of the G1 moves and see for yourself using your microscope which speed yelds the best results
    Since we're running the same system, maybe I could use your magic numbers (i.e. the hardware-specific constants which must be entered into the software)? If so, what are they?
    **Steps/mm for a certain machine is the only hard-coded magic number, if you don't know it you can throw the machine into trash for milling wrong dimensions!!!!! (or use a caliper and calculate that number yourself, but don't tell that to anyone) **



  • Example script:
    Manually written gcode for good feedrate discovery

    DON'T run it on your machine untill you understand exactly what each line of code does!

    G21 (Unit of Measure - millimeter)
    G90 (Set to Absolute Positioning)
    G94 (Feed Mode - Units per minute)
    F200.00 (feed rate mm/min)
    G00 Z0.5000
    M03 (start spindle)
    G4 P1 (Dwell/Pause)
    
    G01 Z-0.1000
    G4 P0.5 (Dwell/Pause)
    
    (test 1)
    F200.00 (feed rate mm/min)
    G01 X10.0000Y5.0000
    G01 X0.0000Y10.0000
    
    F400.00 (feed rate mm/min)
    G01 X10.0000Y15.0000
    G01 X0.0000Y20.0000
    
    F600.00 (feed rate mm/min)
    G01 X10.0000Y25.0000
    G01 X0.0000Y30.0000
    
    F800.00 (feed rate mm/min)
    G01 X10.0000Y35.0000
    G01 X0.0000Y40.0000
    
    F1000.00 (feed rate mm/min)
    G01 X10.0000Y45.0000
    G01 X0.0000Y50.0000
    
    (test2)
    G00 Z1.5000 (raise spindle)
    G00 X5Y0 (go right)
    G01 Z-0.1000 (down spindle)
    G4 P0.5 (Dwell/Pause)
    
    F1200.00 (feed rate mm/min)
    G01 X15.0000Y5.0000
    G01 X5.0000Y10.0000
    
    F1400.00 (feed rate mm/min)
    G01 X15.0000Y15.0000
    G01 X5.0000Y20.0000
    
    F1600.00 (feed rate mm/min)
    G01 X15.0000Y25.0000
    G01 X5.0000Y30.0000
    
    F1800.00 (feed rate mm/min)
    G01 X15.0000Y35.0000
    G01 X5.0000Y40.0000
    
    F2000.00 (feed rate mm/min)
    G01 X15.0000Y45.0000
    G01 X5.0000Y50.0000
    
    
    G00 Z1.5000
    G00 X0Y0
    M05 (stop spindle)
    


  • Manually written gcode to determine milling bit width

    DON'T run it on your machine untill you understand exactly what each line of code does!

    G21
    G90
    G94
    F1400.00
    G00 Z0.5000
    M03
    G4 P1
    G01 Z-0.1000
    G4 P0.5
    
    (test 0.1mm)
    G01 X0.0000Y5.0000
    G01 X0.1000Y5.0000
    G01 X0.1000Y0.0000
    G01 X0.2000Y0.0000
    
    G01 X0.2000Y5.0000
    G01 X0.3000Y5.0000
    G01 X0.3000Y0.0000
    G01 X0.4000Y0.0000
    
    G01 X0.4000Y5.0000
    G01 X0.5000Y5.0000
    G01 X0.5000Y0.0000
    G01 X0.6000Y0.0000
    
    G01 X1.6000Y0.0000
    
    (test 0.2mm)
    G01 X1.6000Y5.0000
    G01 X1.8000Y5.0000
    G01 X1.8000Y0.0000
    G01 X2.0000Y0.0000
    
    G01 X2.0000Y5.0000
    G01 X2.2000Y5.0000
    G01 X2.2000Y0.0000
    G01 X2.4000Y0.0000
    
    G01 X2.4000Y5.0000
    G01 X2.6000Y5.0000
    G01 X2.6000Y0.0000
    G01 X2.8000Y0.0000
    
    G01 X3.8000Y0.0000
    
    (test 0.3mm)
    G01 X3.8000Y5.0000
    G01 X4.1000Y5.0000
    G01 X4.1000Y0.0000
    G01 X4.4000Y0.0000
    
    G01 X4.4000Y5.0000
    G01 X4.7000Y5.0000
    G01 X4.7000Y0.0000
    G01 X5.0000Y0.0000
    
    G01 X5.0000Y5.0000
    G01 X5.3000Y5.0000
    G01 X5.3000Y0.0000
    G01 X5.6000Y0.0000
    
    G01 X6.6000Y0.0000
    
    (test 0.4mm)
    G01 X6.6000Y5.0000
    G01 X7.0000Y5.0000
    G01 X7.0000Y0.0000
    G01 X7.4000Y0.0000
    
    G01 X7.4000Y5.0000
    G01 X7.8000Y5.0000
    G01 X7.8000Y0.0000
    G01 X8.2000Y0.0000
    
    G01 X8.2000Y5.0000
    G01 X8.6000Y5.0000
    G01 X8.6000Y0.0000
    G01 X9.0000Y0.0000
    
    G01 X10.0000Y0.0000
    
    (test 0.5mm)
    G01 X10.0000Y5.0000
    G01 X10.5000Y5.0000
    G01 X10.5000Y0.0000
    G01 X11.0000Y0.0000
    
    G01 X11.0000Y5.0000
    G01 X11.5000Y5.0000
    G01 X11.5000Y0.0000
    G01 X12.0000Y0.0000
    
    G01 X12.0000Y5.0000
    G01 X12.5000Y5.0000
    G01 X12.5000Y0.0000
    G01 X13.0000Y0.0000
    
    G01 X14.0000Y0.0000
    
    (test 0.6mm)
    G01 X14.0000Y5.0000
    G01 X14.6000Y5.0000
    G01 X14.6000Y0.0000
    G01 X15.2000Y0.0000
    
    G01 X15.2000Y5.0000
    G01 X15.8000Y5.0000
    G01 X15.8000Y0.0000
    G01 X16.4000Y0.0000
    
    G01 X16.4000Y5.0000
    G01 X17.0000Y5.0000
    G01 X17.0000Y0.0000
    G01 X17.6000Y0.0000
    
    G01 X18.6000Y0.0000
    
    (test 0.7mm)
    G01 X18.6000Y5.0000
    G01 X19.3000Y5.0000
    G01 X19.3000Y0.0000
    G01 X20.0000Y0.0000
    
    G01 X20.0000Y5.0000
    G01 X20.7000Y5.0000
    G01 X20.7000Y0.0000
    G01 X21.4000Y0.0000
    
    G01 X21.4000Y5.0000
    G01 X22.1000Y5.0000
    G01 X22.1000Y0.0000
    
    G00 Z1.5000
    G00 X0Y0
    M05
    

    When you see copper "silvers" between the passes you know your bit is 0.1mm narrower than the corresponding width 😎


  • Hero Member

    @executivul Good stuff! I imagine I'll get there eventually, but on Day 1 I'd rather start with some reasonable magic constants that at least put me in the ballpark.


  • Hero Member

    @sundberg84 said in CNC PCB milling:

    @neverdie I'm saving up some money for a CNC as well and I would love if you have time to document your process. Might be to much to ask but I guess many newbie errors could be avoided. I know there are some on YouTube but I have not found any which address the questions we have had above in this thread.

    Yes, that's what I'm attempting to do on this thread. 🙂



  • JFYI: CNC 2418 assembly by me 🙂

    CNC 2418 assembly timelapse – 05:41
    — András Kabai

    I'll try to make a blog to describe the whole pcb cnc milling, tools etc, as well as other diy projects. I'll let you know if there is any notable progress...


  • Hero Member

    @andrew Nice. How long did that take in earth minutes?



  • @NeverDie about 6 hours, in two nights



  • Best way to get rid of the dust seems to be not making dust to start with.
    Enjoy!
    Wet milling pcb on the 3040 CNC – 00:34
    — executivul


  • Hero Member

    @executivul Which car shampoo?

    How well does it work? Would it work better if you flooded it a bit more so that it was sitting, say, a couple mm under shampoo solution?


  • Hero Member

    I suppose your etching bit might last longer too, since maybe the liquid would help cool it.



  • Unfortunately I can not disclose this secret recipe, all I can tell you is that s some cationic surfactant mixed with some dihydrogen peroxide 😎

    To be honest I don't know the brand, I've first tried liquid soap undiluted but was to thick and was gathering around the bit like a small tornado and splashing everywhere, decided to add some water and went looking for a spray bottle, found one with some handwriting "car shampoo", it is thicker than plain water, but not as thick as liquid soap, so it might be diluted, I still have some for a few more boards then I'll go by trial and error with dish/hand/car wash and water.
    So much better not to have windows open at 0C(32F) and the vacuum howling. Only the 2.0mm endmill still creates dust, normal engraving and drilling do not.
    Don't forget to mill on acrylic/plastic as mdf will swell if wet.


  • Hero Member

    Looks like my CNC2418 is on track to be delivered this Monday. It has already cleared customs.

    So, since it will be arriving well ahead of all the various bits and such, I'm guessing that just a few etching bits will be enough to get me started and confirm whether my machine can route 6 mil isolation.

    The kit itself includes 0.1mm bits (Diameter: 3.175mm tip: 0.1mm length: 30mm).


  • Hero Member

    It arrived!


  • Mod

    @neverdie Yay! Where can we find the live stream of the build process? 😉



  • @neverdie so, I expect your first boards tomorrow 🙂


  • Hero Member

    @andrew said in CNC PCB milling:

    @neverdie so, I expect your first boards tomorrow 🙂

    But wait, I'm still waiting for the magic numbers from you. 🙂 Otherwise, I'll be all dressed with nowhere to go.



  • @neverdie once the assembly is done, you should adjust the stepper drivers' current limiting as well.
    it is pololu a4988, you can find the corresponding details here:
    https://www.pololu.com/product/1182

    then, it is always good idea to have the basic settings exported from the board, just in case... you can do it by "$$" command sent from the g code sender gui or directly from the serial terminal.

    currently I use the following settings, the machine might be able to create nice results with higher feed rates, but I did not have enough time to test it and I sticked to the current working config.

    isolation routing with 2001 bits:

    • z cut: -0.05mm
    • feed rate: 200

    you can calculate the V carving bit's tool width for the given milling depth with the following formula:
    tan(bit angle/2) * milling depth * 2 + bit's end width
    for excel formula the bit angle should be provided in radians, so it should look like this
    tan(radians(bit angle/2)) * milling depth * 2 + bit's end width

    edge cut or hole milling with the 0.8mm endmill:

    • feed rate: 170
    • z cut: -1.7mm
    • multi depth, depth/pass: 0.2mm

    drilling:

    • feed rate: 130
    • z cut: -1.8

    the spindle should be 1000 everywhere.

    most probably your board will not have a bootloader, so it will not be possible to update the firmware via usb serial connection (with avrdude), but it is worth to try it. for me it did not work, so I traced back the MCU pins to the pin rows and used ISP to upgrade the firmware to grbl v1.1f (the board will come with 0.9j if I remember correctly). do not forget to export the gerber settings before you upgrade the firmware, as it will loose those, and you have to re-assign the given values again, after the update.

    the ISP pinout (from the pin row's top left corner):
    Reset -> pin 2
    SCK -> pin 3
    MISO -> pin 12
    MOSI -> pin 13

    5v -> pin1
    gnd-> bottom row(!) e.g. pin 1

    0_1513452548391_small_20171021_232839.jpg


  • Hero Member

    The assembly instructions came as a file on a mini CD. Attached for anyone who is interested.
    [0_1513463653125_2418-Assembly instructions - English.doc](Uploading 100%)
    Hmmm.. I guess the forum only lets me upload photos. Sorry.


  • Hero Member

    I thought that the ER11 would come pre-installed ("shrink fit" onto the spindle), but it arrived as a separate piece and apparently I'm supposed to attach it by hand. That would seem to be a discrepancy with Jack's store advertises for this device, but, oh well.

    Also, I was a bit surprised to see that most, and maybe all, of the plastic parts were 3D printed.


  • Hero Member

    @andrew said in CNC PCB milling:

    do not forget to export the gerber settings before you upgrade the firmware, as it will loose those, and you have to re-assign the given values again, after the update.

    Where are the gerber settings, and how do I export them? Are they in EEPROM, so I just do a complete copy of that? Or does the $$ handle it?


  • Hero Member

    I finished putting together the first frame. It was a bit frustrating, because the T-slot nuts they use can come out of the groove, and so to prevent that I had to keep constant tension on it while I tightened it down. I do think most of the T-slot nuts should have been the kind that don't slip out that way.



  • @NeverDie
    firmware settings: it is stored in the EEPROM, but nothing guarantees that the same location will be used for the same parameters in case of different versions, so the output of "$$" command should be saved, this contains everything which you can manually set up if necessary.

    ER11: take extra care during the installation process to not "harm" the motor's axis. usually the ER11 is pretty tight and howtos mention that the motor should be cooled (by the freezer) and the ER11 should be warmed up before putting them together, to help the mounting process and to prevent unwanted distortion.

    I put the CNC 2418 assembly guide to my share, for ones it is interesting.



  • @andrew
    1000rpm for the spindle seems very slow,is that number correct?



  • @rmtucker it is not 1000rpm, but the pwm control for the whole spindle speed range. see the details in the official document.
    once you use the spindle speed with the value of $30 or above, then the controller will drive the spindle with continuous voltage, without pwm, so it will use its maximum rpm.
    compared to bigger cncs with bigger spindles (e.g. what you can see from @executivul's video above) , 2418's is not that fast (in rpm), on the other hand it should not be "very slow". can you show a video on that?



  • @andrew
    I see.
    So what would be your best guess at your actual spindle rpm when cutting under your feed/depth of cut examples given above.?


  • Hero Member

    @andrew said in CNC PCB milling:

    I put the CNC 2418 assembly guide to my share, for ones it is interesting.

    Yes, those are exactly the same instructions I received with my kit too.


  • Hero Member

    @andrew
    I tried connecting to the Woodpecker board using the Arduino serial terminal at 115200 baud. It greets me by saying:

    Grbl 0.9j ['$' for help]
    

    However, if I send it $ I get no response. If I send it $$, I get no response either.

    Is this normal?

    How do I send it $$ and get it to respond?



  • @neverdie no, that is not normal, but this is most probably just a communication issue. which software is used for the terminal connection? try to change the cr/lf settings, or the flow control options.



  • @rmtucker I did not measure the max rpm for the given spindle, but I use it on "max" (so spindle setting is 1000) for the given jobs.


  • Hero Member

    Ah, nevermind. I changed the terminal to send it a carriage return, and now it works. Here is the output from asking it $ and $$:

    
    Grbl 0.9j ['$' for help]
    $$ (view Grbl settings)
    $# (view # parameters)
    $G (view parser state)
    $I (view build info)
    $N (view startup blocks)
    $x=value (save Grbl setting)
    $Nx=line (save startup block)
    $C (check gcode mode)
    $X (kill alarm lock)
    $H (run homing cycle)
    ~ (cycle start)
    ! (feed hold)
    ? (current status)
    ctrl-x (reset Grbl)
    ok
    $0=10 (step pulse, usec)
    $1=25 (step idle delay, msec)
    $2=0 (step port invert mask:00000000)
    $3=5 (dir port invert mask:00000101)
    $4=0 (step enable invert, bool)
    $5=0 (limit pins invert, bool)
    $6=0 (probe pin invert, bool)
    $10=3 (status report mask:00000011)
    $11=0.010 (junction deviation, mm)
    $12=0.002 (arc tolerance, mm)
    $13=0 (report inches, bool)
    $20=0 (soft limits, bool)
    $21=0 (hard limits, bool)
    $22=0 (homing cycle, bool)
    $23=0 (homing dir invert mask:00000000)
    $24=25.000 (homing feed, mm/min)
    $25=500.000 (homing seek, mm/min)
    $26=250 (homing debounce, msec)
    $27=1.000 (homing pull-off, mm)
    $100=800.000 (x, step/mm)
    $101=800.000 (y, step/mm)
    $102=800.000 (z, step/mm)
    $110=5000.000 (x max rate, mm/min)
    $111=5000.000 (y max rate, mm/min)
    $112=800.000 (z max rate, mm/min)
    $120=10.000 (x accel, mm/sec^2)
    $121=10.000 (y accel, mm/sec^2)
    $122=10.000 (z accel, mm/sec^2)
    $130=200.000 (x max travel, mm)
    $131=200.000 (y max travel, mm)
    $132=200.000 (z max travel, mm)
    ok
    

  • Hero Member

    Here's the current build status:
    0_1513549544809_build_status_1.jpg
    I'm guessing I'm something more than half-way done.


  • Hero Member

    @andrew said in CNC PCB milling:

    the ER11 should be warmed up

    how exactly? Heat gun?

    I've put the motor assembly in the freezer....


  • Hero Member

    I'll let it freeze overnight and then try it in the morning.


  • Hardware Contributor

    @neverdie said in CNC PCB milling:

    freeze

    Why do you want to freeze the motor? 👀


  • Mod

    @sundberg84 see andrew's earlier post.

    Freezing the motor axis makes it a bit smaller.



  • @sundberg84 And heating up the other part makes it expand and get bigger allowing the two to fit together easier. Has to do with tight tolerances.


  • Hero Member

    @andrew
    Since I probably have only one shot at this, how hot should I heat up the ER11 before trying to fit it onto the frozen spindle? Should it be burning hot, or is luke-warm enough?



  • @neverdie unfortunately, as I mentioned, I don't have ER11 (yet), and I just read articles and vendor suggestions on the installation method, so I cannot provide experience based suggestions to that. as far as I remember nor concrete temperature was mentioned, so I would say you should not "overheat" it.


  • Hero Member

    @andrew said in CNC PCB milling:

    @neverdie unfortunately, as I mentioned, I don't have ER11 (yet), and I just read articles and vendor suggestions on the installation method, so I cannot provide experience based suggestions to that. as far as I remember nor concrete temperature was mentioned, so I would say you should not "overheat" it.

    I slipped it on, no problem at all. After freezing the motor overnight, what I did was heat the ER11 with my wife's crafting hot air gun. I held it with an insulated glove as I warmed it up. When it started to become uncomfortable to hold with even the insulated glove, I slipped it on without any resistance.

    Hopefully this info will help you when you receive yours.



  • @neverdie 🙂 nice, so your wife saved the project :)))
    be patient and do not power the spindle for couple of hours, while it is cold, as it could be wet inside which could cause shorts and other issues.


  • Hero Member

    I seem to be finished with the mechanical assembly:
    0_1513629200578_mechanicals_done.jpg
    However, these washers came with the kit, and I'm not sure what they're for:
    0_1513629228821_washers.jpg
    Anyone know? Are they for mounting the woodpecker board to the frame?

    Next I need to do the firmware upgrade and then wire things up.



  • @neverdie yes, it is for "isolating" the pcb from the frame.



  • @neverdie said in CNC PCB milling:

    ER11

    FYI - Was reading on another forum where the user was going to replace the ER11 with a larger version so he could use 8mm bits (fairly standard metric size for wood routing bits, but incredibly strong)...
    Somebody pointed out to the guy that there are collets available for the ER11 specifically for 8mm shafted toolbits...
    https://www.sorotec.de/shop/Spannzange-ER-11---8-00mm-DIN-6499B-4008E-Klasse-II.html



  • @neverdie
    You have gone quiet☺
    Must be beavering away cutting pcb's?



  • Carved this on my home made cnc router recently.
    Bit off topic but good fun.
    It is about 2ft diameter and 8" thick(old millstone)
    0_1513689287536_aa2a84b0-71ec-4d46-9c2d-f2241aa2827a-image.png



  • @rmtucker
    And this for our lass
    0_1513689365865_382c70bc-e450-4cc8-89c9-f0cc3bd45522-image.png


  • Hero Member

    @rmtucker said in CNC PCB milling:

    @neverdie
    You have gone quiet☺
    Must be beavering away cutting pcb's?

    No, I've simply misplaced my Dragon AVR programmer for the firmware upgrade, so I need to hunt it down.


  • Hero Member

    Anyway, once I do get the firmware upgraded and it wired up, what's the best way to start testing it? Do I need to learn GRBL as execuval seems to imply, or are there some simple tests I can run? I imagine some kind of calibration would be the need step, but I haven't read that far ahead because there's nothing to read (well, haven't googled it out yet either).



  • @neverdie
    Stick some g-code in and press cycle start😁


  • Hero Member

    @zboblamont said in CNC PCB milling:

    was going to replace the ER11 with a larger version

    Given how it's installed, I don't see how you can get it off. I would assume it's permanent.



  • @neverdie From memory the guy got it off with a hub-puller, and a persuader, but the point I was trying to make was that there is a collet assembly for the ER11which takes 8mm...



  • @neverdie said in CNC PCB milling:

    Anyway, once I do get the firmware upgraded and it wired up, what's the best way to start testing it? Do I need to learn GRBL as execuval seems to imply, or are there some simple tests I can run? I imagine some kind of calibration would be the need step, but I haven't read that far ahead because there's nothing to read (well, haven't googled it out yet either).

    First watch the video (now I can't get it out of my head 🙇‍♂️ )
    The Ting Tings - That's Not My Name (lyrics) – 05:05
    — GrubbyTubby

    Then, after you update to grbl 0.9j go to chilipeppr.com/grbl, download the SPJS, start it and start playing.


  • Hero Member

    I hope these heatsinks that came with the kit don't short things out. Seems rather dicey.
    0_1513705183502_heatsinks.jpg

    In any case, until I can find my Dragon, I'm going to limp along with GRBL 0.9j so I can finish up the build. I'll upgrade later after I find it.



  • @neverdie the er-11 should be permanent. this spindle is not powerful enough to handle bigger tools and to mill harder materials.

    you can start with grbl 0.9j, but it is worth to upgrade to 1.1f.
    to the fw upgrade you can use a simple arduino as ISP programmer as well if you do not find your dragon.

    with chilipeppr (in case of grbl 0.9j go for http://chilipeppr.com/grbl , for 1.1.f go for http://chilipeppr.com/jpadie) you can quickly run its default logo engraving path for testing / demo purposes.


  • Hero Member

    Done! Jack was certainly, uh, generous with the length of the wiring. I provisionally tacked it out of the way with the zip ties provided. I'll secure it better after I'm sure it's all working.
    0_1513707091383_wiring.jpg



  • @neverdie for the cable issue I ordered this cable organizer spiral, although not yet installed it 🙂


  • Hero Member

    @andrew said in CNC PCB milling:

    with chilipeppr (in case of grbl 0.9j go for http://chilipeppr.com/grbl , for 1.1.f go for http://chilipeppr.com/jpadie) you can quickly run its default logo engraving path for testing / demo purposes.

    Thanks! That provided exactly what I was looking for. I ran the demo with no etching bit installed, and at first both X and Y seemed to be working, but the adapter coupling eventually loosened on both of them to the point where there was no longer X and Y movement. I've re-tightened tem, and it's working again. I hope it lasts.

    Not sure where I should go next from here though.



  • @neverdie said in CNC PCB milling:

    @andrew said in CNC PCB milling:

    with chilipeppr (in case of grbl 0.9j go for http://chilipeppr.com/grbl , for 1.1.f go for http://chilipeppr.com/jpadie) you can quickly run its default logo engraving path for testing / demo purposes.

    Thanks! That provided exactly what I was looking for. I ran the demo with no etching bit installed, and at first both X and Y seemed to be working, but the adapter coupling eventually loosened on both of them to the point where there was no longer X and Y movement. I've re-tightened tem, and it's working again. I hope it lasts.

    Not sure where I should go next from here though.

    so, as this machine does not have limit switches installed, it is your responsibility to move the gantry to a position, from where you would like to start the job and which provides enough space for each direction movement. usually you have to set a relative zero at the given starting point.

    what is next? did you adjusted the stepper drivers? if not, then do it (I shared the link above). this is necessary to be sure, that the steppers will be powered with enough current (so they will be powerful enough for the given speed related movement and to provide enough force) or will not be overdriven.

    then, I would say try to engrave the chilipeppr logo to a soft material first, have some experience with the cnc.
    then, as I mentioned, discover the flatcam tool and try to create an isolation routing job for a test pcb.
    I already mentioned my confirmed settings for the given jobs (edge / hole milling, isolation routing).
    you should sacrifice some boards for your experience 🙂

    also, try to find your ideal g code sender tool by trying multiple ones.


  • Hero Member

    I don't see any plugs on the woodpecker board that are designated for connecting to a touch plate. So, I guess it's configured using the woodpecker header pins? How is that best set up?

    By the way, after re-tightening the set-screws on the adapters used to connect the step-motors to the screw rods, they seem to be holding now and not slipping loose. I take it back, one of them just came loose again. 😞


  • Hero Member

    @neverdie said in CNC PCB milling:

    one of them just came loose again

    And now the other one did too. Is anyone using a threadlocker on the set screws to keep this from happening?

    I think I'll put on some locktite and let it dry overnight and then see if it still happens tomorrow. I'll start with just the threaded rods.

    Anyhow, the good news is that the heat sinks plainly did not short out the GRBL controller boards. I guess the adhesive must act as an electrical insulator.


  • Hero Member

    Thinking about it now, an alternative might be to grind one side of the threaded rod flat in the region where it fits into the adapter. That would match the concept of the motor rotor, where that has already been done.

    Ideally I would notch it in just the region where the set screw makes contact. I suppose I could do that with a Dremel.

    Investigating now, I see that the adapter came loose on the motor rotor also. So, I think locktite will be a must.

    http://www.loctiteproducts.com/tds/T_LKR_BLUE_tds.pdf

    Looking at the datasheet, it takes 24 hours to cure.


  • Hero Member

    Well, humbug! I'm all out. Maybe tomorrow I'll buy the red threadlocker, which is even stronger.


  • Hero Member

    @rmtucker Which g-code sender is it that you like best?



  • @neverdie, or anyone else that can answer this with some logic, just because the topic came up. Why does Loctite red come in a blue container and loctite blue come in a red container?
    0_1513751591321_cf4dc6b4-34f3-453c-a624-05994fbca118-image.png


  • Mod

    @dbemowsk said in CNC PCB milling:

    Why does Loctite red come in a blue container and loctite blue come in a red container?

    Made in China?


  • Hero Member

    Probably historical reasons.



  • @yveaux LOL


  • Hero Member

    Probably a committee decision. Half liked red, and the other half liked blue. They were deadlocked, and this was their compromise decision. 😆



  • @neverdie for the touch sensing you should use A5 connector from the headers, connecting it to the actual tool (bit), then a gnd (header's bottom row) connecting to the pcb's surface.

    for the tool connection I use crocodile clamps.

    screws: you did not fasten them enough. at the beginning I also missed some endpoints, but since I put the cnc together, I had no issue with any of my screws.



  • @andrew for first go for a single touch probing instead of a whole autoleveling session.
    just for testing purposes, start the touch probing from a higher position and touch the gnd wire directly to the spindle's tool to see whether it stops or not. if not, you should stop it manually from the gui, otherwise it could break the tool.
    if everything works well (so you proved that you connections to the pins and the belonging settings are ok), then you can run the simple touch probes or the autoleveling as well.


  • Hardware Contributor

    @neverdie said in CNC PCB milling:

    Is anyone using a threadlocker on the set screws to keep this from happening?

    For one that will probably buy the same CNC could you document how you solve this with a picture?



  • @neverdie said in CNC PCB milling:

    @rmtucker Which g-code sender is it that you like best?

    I am not using a g-code sender,i am using mach3.
    But i have just started playing with grbl and bCNC seems to do most things.



  • @neverdie one more think I forgot to mention: after I assembled the cnc, I used a little wd40 across each axis and moved each from one end to another. it helped for smooth and "barrier-free" movements.


  • Hero Member

    @andrew said in CNC PCB milling:

    you should use A5 connector

    Does using A5 somehow automagically just work, or does it require additional software configuration?


  • Hero Member

    @sundberg84 said in CNC PCB milling:

    @neverdie said in CNC PCB milling:

    Is anyone using a threadlocker on the set screws to keep this from happening?

    For one that will probably buy the same CNC could you document how you solve this with a picture?

    OK, here is what I'm doing in pictures. I'm applying blue 242 Loctite:
    0_1513780511391_loctite.jpg
    to the threads of the 4 set screws on the coupler:
    0_1513780537893_coupler.jpg
    That should keep them from loosening up after they are screwed into position. Note, you have at most 10 minutes of working time before it sets.


  • Hero Member

    I applied it to the motor set screws first and let it set:
    0_1513782061856_magnet.jpg
    Note: I used rare earth magnets to help secure the set screw to the allen wrench. That insures that the set screw doesn't drop off and disappear somewhere on the floor. Works great.

    The couplers are made from anodized aluminum, so I'm not sure how well the loctite will work on them. However, I think it will still work, as the set screws themselves are steel.


  • Hero Member

    I found an intro to bCNC:
    Shapeoko 3 bCNC Beginner Tutorial – 08:40
    — BluegrassRC

    It looks easy and intuitive, so I'll probably go with that.

    As usual, it's the software that has the best tutorial that wins.



  • @neverdie I used to use nail varnish on threads as it was just as effective, even though it annoyed the partner whose nail varnish it was. It is not the bond between the metals which is that important, it is adding resistance between the threads to prevent unscrewing, were it to completely bond, you would shear the bolt before it was removed, which is a whole lot of trouble....


  • Hero Member

    @zboblamont said in CNC PCB milling:

    @neverdie I used to use nail varnish on threads as it was just as effective, even though it annoyed the partner whose nail varnish it was. It is not the bond between the metals which is that important, it is adding resistance between the threads to prevent unscrewing, were it to completely bond, you would shear the bolt before it was removed, which is a whole lot of trouble....

    Does nail varnish cure anaerobically in the presence of metal ions? That seems to be much of the theory behind thread lockers.

    I thought nail varnish cured by evaporation.

    In any case, I wiped off the excess loctite, because it might never dry (or, at least, take a long while to do so).

    I think the loctite is likely to work, since Andrew had success without anything but torquing it down hard. On the other hand, maybe his is threaded differently than what came in my kit.


Log in to reply
 

Suggested Topics

  • 4
  • 4
  • 3
  • 8
  • 9
  • 2

12
Online

11.4k
Users

11.1k
Topics

112.7k
Posts