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.8k 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.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by NeverDie
    #350

    I think if I could upgrade the z-axis to use a ball-screw, I would do that, because I notice a lot of variability in cutting depth from one CNC session to the next. However, I don't see an easy way to upgrade this machine to use a ball screw.

    So... alternative might be to add a linear motion tracker to the z-axis. Unlike a rotary encoder, it wouldn't be fooled by backlash. The question then, though, would be: which software to use? I don't know that chilipeppr can take advantage of the closed loop feedback.

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

      So, notionially, the height measurement might look like:
      https://www.amazon.com/Woodhaven-6015-Digital-Readout-6000-6004/dp/B004BUGW8E/ref=sr_1_16?ie=UTF8&qid=1514743618&sr=8-16&keywords=digital+height+router
      but preferably with some kind of known digital interface for reading the height, so it doesn't have to be reverse engineered just to extract that basic information.

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

        Something like this would probably do the business:
        https://www.aliexpress.com/item/High-accuracy-Linear-Scale-5micron-linear-encoder-with-linear-sensor/32827867788.html?spm=2114.10010108.1000013.2.217d28ff67mKcv&traffic_analysisId=recommend_2088_1_90158_iswistore&scm=1007.13339.90158.0&pvid=986e2ba2-43bc-4db4-8edd-f9ca9d1f9b6e&tpp=1

        It can resolve to 0.001mm.

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

          On the other hand, retrofitting with just a ballscrew for the z-axis might be the cheapest/easiest next step:
          https://www.aliexpress.com/item/1204-Ball-Screw-SFU1204-L-150mm-Rolled-Ballscrew-with-single-Ballnut-for-CNC-parts-RM1204-without/1998914494.html?spm=2114.search0104.3.138.DFiNws&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10344_10068_5000016_10130_10324_10342_10547_10325_10343_51102_10546_10340_5060016_10341_10548_10545_5130016_10084_10083_10307_5920011_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_10142,searchweb201603_25,ppcSwitch_4&algo_expid=e7be0642-ef8c-4a19-ac8b-5c19f850ec57-21&algo_pvid=e7be0642-ef8c-4a19-ac8b-5c19f850ec57&rmStoreLevelAB=5

          Opinions, anyone? Also, what would be the best ballscrew to get?

          Then, if that's still insufficient, adding a more powerful stepper motor would be next I suppose, to avoid skipping steps (assuming that's part of what's happening).

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

            No offence but upgrading with dro, ballscrew, stronger stepper, beefier driver, you end up with more cost than buying a real cnc platform like 3020 or 3040 😁
            That machine has great results for its price, maybe relaxing tolerances a bit in design and using larger bits would achieve better predictibility.
            Happy new year! Happy new toys!

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

              Not sure why I'd have to buy a bigger machine in order to get quality parts, yet it is true that none of the 2418 kits appear to come with ballscrews. Strange how that is. In terms of just size alone, though, the 2418 seems about right for etching hobbyist circuit boards. If anything, it could be a little smaller. Does the sheer mass of the bigger machines somehow help with accuracy (maybe less vibration for instance)?

              The ballscrews themselves, and even the linear scales, don't seem all that expensive, which is why I thought maybe upgrading even just the z-axis might make sense.

              If nothing else, replacing the stepper motor with either a larger stepper motor (less skipping) or some kind of servo equivalent might at least put a cap on how far off the z-axis is from what is assumed. In that case, I would think the maximum error would less than or equal to the maximum possible backlash.

              Anyhow, any suggestions appreciated.

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

                I'll need an adapter plate to go from Nema 17 to Nema 23. Will the existing motor drivers be able to handle a Nema 23?

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

                  Well, maybe the simplest upgrade would be to upgrade to a higher torque nema 17 motor, such as:
                  https://www.aliexpress.com/item/Nema17-stepper-motor-60mm-length-1-7A-0-73Nm-7-3kg-cm-104Oz-in-High-torque/32727142878.html?spm=2114.search0104.3.1.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-0&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                  or

                  https://www.aliexpress.com/item/14-1-Planetary-Gearbox-High-Torque-Nema-17-Stepper-1-68A-CNC-Robot-3D-Printer/32585666715.html?spm=2114.search0104.3.22.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-3&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                  or perhaps even

                  https://www.aliexpress.com/item/High-Torque-NEMA-17-Planetary-Gearbox-Stepper-Motor-25N-m-3472oz-in-100-1-40mm-Motor/32789989913.html?spm=2114.search0104.3.56.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-8&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                  Not sure what kind of impact it might have on the feedrate....

                  The idea is that the higher torque would eliminate missed steps, provided that the feedrate is low enough.

                  rmtuckerR 1 Reply Last reply
                  0
                  • NeverDieN NeverDie

                    Well, maybe the simplest upgrade would be to upgrade to a higher torque nema 17 motor, such as:
                    https://www.aliexpress.com/item/Nema17-stepper-motor-60mm-length-1-7A-0-73Nm-7-3kg-cm-104Oz-in-High-torque/32727142878.html?spm=2114.search0104.3.1.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-0&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                    or

                    https://www.aliexpress.com/item/14-1-Planetary-Gearbox-High-Torque-Nema-17-Stepper-1-68A-CNC-Robot-3D-Printer/32585666715.html?spm=2114.search0104.3.22.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-3&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                    or perhaps even

                    https://www.aliexpress.com/item/High-Torque-NEMA-17-Planetary-Gearbox-Stepper-Motor-25N-m-3472oz-in-100-1-40mm-Motor/32789989913.html?spm=2114.search0104.3.56.RoU5IE&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10324_10342_10547_10325_10343_51102_10546_10340_10548_10341_10545_5130015_10084_10083_10307_5920012_10312_10059_10313_10314_10534_5790011_100031_10604_10103_10594_5060015_10142,searchweb201603_2,ppcSwitch_5&algo_expid=31255370-90b4-4695-94c0-997d9d68e388-8&algo_pvid=31255370-90b4-4695-94c0-997d9d68e388&rmStoreLevelAB=5

                    Not sure what kind of impact it might have on the feedrate....

                    The idea is that the higher torque would eliminate missed steps, provided that the feedrate is low enough.

                    rmtuckerR Offline
                    rmtuckerR Offline
                    rmtucker
                    wrote on last edited by
                    #358

                    @neverdie
                    I think you should start by altering the acceleration/Max velocity settings etc in grbl.
                    Slow them down a little:grinning:

                    NeverDieN 2 Replies Last reply
                    1
                    • rmtuckerR rmtucker

                      @neverdie
                      I think you should start by altering the acceleration/Max velocity settings etc in grbl.
                      Slow them down a little:grinning:

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

                      @rmtucker said in CNC PCB milling:

                      I think you should start by altering the acceleration/Max velocity settings etc in grbl.

                      I don't see those parameters exposed in flatcam or in chilipeppr either. I guess I have to set them by issuing the grbl commands manually?

                      rmtuckerR 1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        @rmtucker said in CNC PCB milling:

                        I think you should start by altering the acceleration/Max velocity settings etc in grbl.

                        I don't see those parameters exposed in flatcam or in chilipeppr either. I guess I have to set them by issuing the grbl commands manually?

                        rmtuckerR Offline
                        rmtuckerR Offline
                        rmtucker
                        wrote on last edited by
                        #360

                        @neverdie
                        Yes or use bCNC to set them.

                        1 Reply Last reply
                        1
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #361

                          Would this be something good to do? https://www.youtube.com/watch?v=7rVmiRgsI1M
                          Cut a complete flat peace of wood with the cnc machine?

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                          1 Reply Last reply
                          2
                          • rmtuckerR rmtucker

                            @neverdie
                            I think you should start by altering the acceleration/Max velocity settings etc in grbl.
                            Slow them down a little:grinning:

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

                            @rmtucker said in CNC PCB milling:

                            @neverdie
                            I think you should start by altering the acceleration/Max velocity settings etc in grbl.
                            Slow them down a little:grinning:

                            This was good advice! I arbitrarily reduced both to 50% of their default values, and so far it appears that repositional accuracy has improved.

                            1 Reply Last reply
                            0
                            • rmtuckerR Offline
                              rmtuckerR Offline
                              rmtucker
                              wrote on last edited by
                              #363

                              Normally i would turn one up at a time until the motors lose steps,then pull them back 20%.

                              NeverDieN 1 Reply Last reply
                              1
                              • rmtuckerR rmtucker

                                Normally i would turn one up at a time until the motors lose steps,then pull them back 20%.

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

                                @rmtucker How are you noticing when the motor skips? Is it from noticing a delta in test probe depths?

                                Also, what's a reasonable target for repositioning accuracy? i.e. if I set z to zero after doing a test probe, then move it around a bunch, and then return to the same x and y position and drop another test probe, how far off from zero is the second test probe? Presently I only have a few datapoints, but so far it's suggesting maybe a maximum of 0.025mm after having done the 50% reductions, whereas before the reductions (i.e. default values) it was more than 0.05mm (maybe a lot more), which is just too much.

                                alt text

                                rmtuckerR 2 Replies Last reply
                                0
                                • NeverDieN NeverDie

                                  @rmtucker How are you noticing when the motor skips? Is it from noticing a delta in test probe depths?

                                  Also, what's a reasonable target for repositioning accuracy? i.e. if I set z to zero after doing a test probe, then move it around a bunch, and then return to the same x and y position and drop another test probe, how far off from zero is the second test probe? Presently I only have a few datapoints, but so far it's suggesting maybe a maximum of 0.025mm after having done the 50% reductions, whereas before the reductions (i.e. default values) it was more than 0.05mm (maybe a lot more), which is just too much.

                                  alt text

                                  rmtuckerR Offline
                                  rmtuckerR Offline
                                  rmtucker
                                  wrote on last edited by
                                  #365

                                  @neverdie
                                  Hmmm how long is a piece of string.:grinning:
                                  My machine is on a much larger scale but the principal is the same.
                                  Is this a mechanical inaccuracy or lost steps?
                                  Make yourself a small program that rapids each axis in turn from one end of the axis to
                                  the other.
                                  On my own machine the motors are running pulleys to the leadscrews/ballscrews.
                                  I place a mark on the pulleys and a pointer (pin and blue tac) when the machine is at 0,0,0.
                                  I run the program and adjust the accel and velocity returning to 0,0,0 every time and checking the marks always line up.(If they don't lowering the settings 10% and running again).
                                  Which eventually proves it is not lost steps.

                                  1 Reply Last reply
                                  1
                                  • NeverDieN NeverDie

                                    @rmtucker How are you noticing when the motor skips? Is it from noticing a delta in test probe depths?

                                    Also, what's a reasonable target for repositioning accuracy? i.e. if I set z to zero after doing a test probe, then move it around a bunch, and then return to the same x and y position and drop another test probe, how far off from zero is the second test probe? Presently I only have a few datapoints, but so far it's suggesting maybe a maximum of 0.025mm after having done the 50% reductions, whereas before the reductions (i.e. default values) it was more than 0.05mm (maybe a lot more), which is just too much.

                                    alt text

                                    rmtuckerR Offline
                                    rmtuckerR Offline
                                    rmtucker
                                    wrote on last edited by
                                    #366

                                    @neverdie
                                    Forget using probe to begin with as this would show lost steps but also any mechanical inaccuracy.
                                    Just concentrate on the motors to begin with.

                                    1 Reply Last reply
                                    1
                                    • andrewA andrew

                                      @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

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

                                      @andrew said in CNC PCB milling:

                                      @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

                                      Wow, those Pololu directions bear an uncanny resemblance to this:
                                      https://www.youtube.com/watch?v=lAdvdX88WDs

                                      Jokes aside, the Jack stepper motors appear to be rated at 1.3A. @andrew Is that what you assumed when calibrating yours? If so, what Vref did you use? Since the motor driver board is a knock-off, it's not obvious what current sense resistor value to use. i.e. 0.050 ohm, 0.068 ohm, or something else?

                                      1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @andrew Are you planning to provide more detail about how to setup and do double sided PCBs, or is it pretty much RTFM at this point? Just wondering. Your earlier posts were very thorough and helped a lot.

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

                                        @neverdie said in CNC PCB milling:

                                        @andrew Are you planning to provide more detail about how to setup and do double sided PCBs, or is it pretty much RTFM at this point? Just wondering. Your earlier posts were very thorough and helped a lot.

                                        did you manage to create double sided PCB jobs in the meantime based on my suggestion and on flatcam's documentation? it is not a hardcore process, let me know if you stuck at a given step.

                                        regarding to the mentioned upgrades. I agree with @executivul, it doesn't worth to do that with this machine. feedback from steppers, elevation measuring etc are overkill.

                                        it's capabilities are more than enough for very precise pcb milling, if you would like to do much more with it, then a different machine could be better instead. if you have issues with the results, then it is configuration / settings / cnc job issue. if you loose steps, then the given stepper driver is not properly adjusted (did you checked the pololu driver configuration from the linked documentation?) or your tool/spindle speed/cutting depth/feed rate is not good for the given job.

                                        NeverDieN 2 Replies Last reply
                                        0
                                        • andrewA andrew

                                          @neverdie said in CNC PCB milling:

                                          @andrew Are you planning to provide more detail about how to setup and do double sided PCBs, or is it pretty much RTFM at this point? Just wondering. Your earlier posts were very thorough and helped a lot.

                                          did you manage to create double sided PCB jobs in the meantime based on my suggestion and on flatcam's documentation? it is not a hardcore process, let me know if you stuck at a given step.

                                          regarding to the mentioned upgrades. I agree with @executivul, it doesn't worth to do that with this machine. feedback from steppers, elevation measuring etc are overkill.

                                          it's capabilities are more than enough for very precise pcb milling, if you would like to do much more with it, then a different machine could be better instead. if you have issues with the results, then it is configuration / settings / cnc job issue. if you loose steps, then the given stepper driver is not properly adjusted (did you checked the pololu driver configuration from the linked documentation?) or your tool/spindle speed/cutting depth/feed rate is not good for the given job.

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

                                          @andrew said in CNC PCB milling:

                                          did you checked the pololu driver configuration from the linked documentation?

                                          See post immediately above yours.

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


                                          23

                                          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