Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. CNC PCB milling

CNC PCB milling

Scheduled Pinned Locked Moved General Discussion
933 Posts 28 Posters 135.4k Views 27 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ben999B Offline
    ben999B Offline
    ben999
    wrote on last edited by ben999
    #94

    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 :D 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 :D and GCodeSender for feeding GCode to CNC.

    1 Reply Last reply
    1
    • NeverDieN Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by NeverDie
      #95

      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?

      andrewA 1 Reply Last reply
      0
      • ben999B Offline
        ben999B Offline
        ben999
        wrote on last edited by
        #96

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

        andrewA 1 Reply Last reply
        0
        • NeverDieN NeverDie

          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?

          andrewA Offline
          andrewA Offline
          andrew
          wrote on last edited by
          #97

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

          1 Reply Last reply
          1
          • andrewA andrew

            @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 :)

            E Offline
            E Offline
            executivul
            wrote on last edited by executivul
            #98

            @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 :rage: 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.

            zboblamontZ 1 Reply Last reply
            4
            • ben999B ben999

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

              andrewA Offline
              andrewA Offline
              andrew
              wrote on last edited by andrew
              #99

              @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:
              https://www.youtube.com/watch?v=D7eMQi2_eQE

              ben999B 1 Reply Last reply
              2
              • NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #100

                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?

                1 Reply Last reply
                0
                • E executivul

                  @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 :rage: 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.

                  zboblamontZ Offline
                  zboblamontZ Offline
                  zboblamont
                  wrote on last edited by
                  #101

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

                  1 Reply Last reply
                  0
                  • andrewA andrew

                    @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:
                    https://www.youtube.com/watch?v=D7eMQi2_eQE

                    ben999B Offline
                    ben999B Offline
                    ben999
                    wrote on last edited by
                    #102

                    @andrew Oooooo i like that, porn to my eyes :hearts:

                    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)

                    1 Reply Last reply
                    0
                    • mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #103

                      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.

                      zboblamontZ ben999B 2 Replies Last reply
                      1
                      • mfalkviddM mfalkvidd

                        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.

                        zboblamontZ Offline
                        zboblamontZ Offline
                        zboblamont
                        wrote on last edited by
                        #104

                        @mfalkvidd Is this AFTER mapping the surface ?

                        mfalkviddM 1 Reply Last reply
                        0
                        • mfalkviddM mfalkvidd

                          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.

                          ben999B Offline
                          ben999B Offline
                          ben999
                          wrote on last edited by
                          #105

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

                          I put your comment in my todo list :+1:

                          1 Reply Last reply
                          0
                          • NeverDieN Offline
                            NeverDieN Offline
                            NeverDie
                            Hero Member
                            wrote on last edited by NeverDie
                            #106

                            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.

                            NeverDieN 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              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.

                              NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by
                              #107

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

                              andrewA 1 Reply Last reply
                              0
                              • zboblamontZ zboblamont

                                @mfalkvidd Is this AFTER mapping the surface ?

                                mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by
                                #108

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

                                zboblamontZ 1 Reply Last reply
                                0
                                • mfalkviddM mfalkvidd

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

                                  zboblamontZ Offline
                                  zboblamontZ Offline
                                  zboblamont
                                  wrote on last edited by
                                  #109

                                  @mfalkvidd :joy: Touche...

                                  1 Reply Last reply
                                  0
                                  • E Offline
                                    E Offline
                                    executivul
                                    wrote on last edited by
                                    #110

                                    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.

                                    1 Reply Last reply
                                    1
                                    • ben999B Offline
                                      ben999B Offline
                                      ben999
                                      wrote on last edited by
                                      #111

                                      Anything similar to OctoPrint, but for CNC ?

                                      1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

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

                                        andrewA Offline
                                        andrewA Offline
                                        andrew
                                        wrote on last edited by
                                        #112

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

                                        NeverDieN 1 Reply Last reply
                                        0
                                        • andrewA andrew

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

                                          NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by NeverDie
                                          #113

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

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular