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
934 Posts 29 Posters 846.9k Views 28 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 NeverDie

    @andrew Have you gotten around to automatically setting your tool height? Though not absolutely essential, it does seem like a nice convenience. From what I've been reading, Candle can do it. You put a z-probe plate underneath your newly mounted tool, then Candle comes down fast, makes contact, then backs up a bit and then comes down again more slowly to measure the actual tool height relative to the z-probe plate. Not sure how that plays out on the first pass if the z-probe plate has no give to it though, as, for example, using just a bit of copper clad PCB for the z-probe plate. Maybe use a spring-bit to avoid skewering the z-probe plate on the first pass? Oops, except that would only work if all your tools are spring-bits. :face_with_rolling_eyes:

    andrewA
    andrewA
    andrew
    wrote on last edited by andrew
    #925

    @NeverDie after changing the tool I always make a single touch probe so Z level can be adjusted to the new tool properly.

    This is necessary even for the PCB milling. After the levelling is done, a single touch probe is needed somewhere in the working are to set the Z0 and to make it as a reference point for the bed levelling mesh.
    At least this is how it is done in bCNC.
    After the isolation routing is done, I make a single Z touch probe for each drill bits to set the correct Z0 for the given bit. This is done in the same way as in case for the PCB probing.
    Note that as the drilling on Z axis does not require high precision (basically if your drilling depth is slightly bigger than the PCB thickness, then even if your Z is just roughly adjusted to the PCB top, it will do the job).

    As I currently work with PCBs only, no other touch probe was necessary, however for woodworking (or for other non conductive materials) one can use a dedicated "touch probe".

    There are nice solutions form a simple PCB:
    https://www.youtube.com/watch?v=l9o6ZUjb3k0&ab_channel=NikodemBartnik

    or
    https://www.youtube.com/watch?v=58m1v-fHFjU&ab_channel=CosmoChannel

    or you can buy a cheap touch probe as well:
    https://www.aliexpress.com/item/4001010640247.html

    or you can go for nicer and more expensive professional touch probes :)

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

      This thingiverse item is more along the lines of what I had in mind:
      https://www.thingiverse.com/thing:3346286

      It's notionally the same as the probes you listed, but it includes a spring to compensate for any overshoot. Of course, if you're moving the z-axis extremely slowly in the first place, then I guess the spring wouldn't be needed. I presume the "double touch" that candle does is to speed things up: find approximately the right height at high speed, then back-up just a little then and find it again at a much slower speed. For the Candle approach, maybe this thingiverse spring-loaded touch plate would be better than just a rigid touch plate that has no spring to it. I suppose it depends on whether the spring loaded touch plate can repeatably reach exactly the same height again and again, or not.

      Speaking of repeatability, and measurements thereof, I just today receive this electronic dial indicator gauge:
      https://www.amazon.com/gp/product/B07888LX1R/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
      When combined with a matching data cable, it can help to automatically collect repeatability data and log it into a spreadsheet on an attached PC. I have the data cable (actually, a specialized RS232 to USB converter) on order. From what I've read, it can be triggered either by pressing a button or by an external contact closure, which is what I hope to use to automate the button pushing.

      andrewA 1 Reply Last reply
      0
      • NeverDieN NeverDie

        This thingiverse item is more along the lines of what I had in mind:
        https://www.thingiverse.com/thing:3346286

        It's notionally the same as the probes you listed, but it includes a spring to compensate for any overshoot. Of course, if you're moving the z-axis extremely slowly in the first place, then I guess the spring wouldn't be needed. I presume the "double touch" that candle does is to speed things up: find approximately the right height at high speed, then back-up just a little then and find it again at a much slower speed. For the Candle approach, maybe this thingiverse spring-loaded touch plate would be better than just a rigid touch plate that has no spring to it. I suppose it depends on whether the spring loaded touch plate can repeatably reach exactly the same height again and again, or not.

        Speaking of repeatability, and measurements thereof, I just today receive this electronic dial indicator gauge:
        https://www.amazon.com/gp/product/B07888LX1R/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
        When combined with a matching data cable, it can help to automatically collect repeatability data and log it into a spreadsheet on an attached PC. I have the data cable (actually, a specialized RS232 to USB converter) on order. From what I've read, it can be triggered either by pressing a button or by an external contact closure, which is what I hope to use to automate the button pushing.

        andrewA
        andrewA
        andrew
        wrote on last edited by
        #927

        @NeverDie : well,

        • for PCB milling this spring loaded stuff simply does not work, as the whole area should be mapped.
        • for non-PCB Z zeroing it could be good, however in such case (imho) this is just an over complicated/engineered method for a simple probing.

        when you need a single z touch levelling then better to have a rock solid solution rather then have additional moving parts and potential other vectors for a failure. even with a slow feed rate, a single probe can be done in an acceptable time period, so why should you risk your result?
        I can imagine that this spring stuff can help you when you approaching with quite high feed rate for first, but in such case I would be afraid of the "wearing" of the probe surface over time and the inaccuracy it may cause later on.

        btw, the "double probing" with fast then a slower feed rate is used by other sw/firmware, e.g. marlin does the same (in certain configurations) for 3d printers.

        andrewA 1 Reply Last reply
        1
        • andrewA andrew

          @NeverDie : well,

          • for PCB milling this spring loaded stuff simply does not work, as the whole area should be mapped.
          • for non-PCB Z zeroing it could be good, however in such case (imho) this is just an over complicated/engineered method for a simple probing.

          when you need a single z touch levelling then better to have a rock solid solution rather then have additional moving parts and potential other vectors for a failure. even with a slow feed rate, a single probe can be done in an acceptable time period, so why should you risk your result?
          I can imagine that this spring stuff can help you when you approaching with quite high feed rate for first, but in such case I would be afraid of the "wearing" of the probe surface over time and the inaccuracy it may cause later on.

          btw, the "double probing" with fast then a slower feed rate is used by other sw/firmware, e.g. marlin does the same (in certain configurations) for 3d printers.

          andrewA
          andrewA
          andrew
          wrote on last edited by
          #928

          @andrew Important to note, that I'm still talking about hobby cnc solutions. For professional CNC working and for a pro machine I'd prefer to use as many "pro" and automated solutions as possible.
          for occasional hobby purposes defined in this thread, and for these damn cheap machines I think it does not make sense.

          pro machines with auto tool change do benefit from auto probing, but that is a total different story.

          NeverDieN 1 Reply Last reply
          0
          • andrewA andrew

            @andrew Important to note, that I'm still talking about hobby cnc solutions. For professional CNC working and for a pro machine I'd prefer to use as many "pro" and automated solutions as possible.
            for occasional hobby purposes defined in this thread, and for these damn cheap machines I think it does not make sense.

            pro machines with auto tool change do benefit from auto probing, but that is a total different story.

            NeverDieN
            NeverDieN
            NeverDie
            Hero Member
            wrote on last edited by NeverDie
            #929

            @andrew Thanks for sharing all your insights. Your posts continue to inspire me long afterward. :sunglasses:

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

              Worthy of note is that bCNC now supports camera alignment for two sided PCB boards. You just need a spindle mounted camera, and then you simply show bCNC a couple of points (by centering the camera cross-hairs on them) around which to do the alignment for the opposite side. This replaces the need to use physical alignment pins to align the two sides, as flatcam does. I haven't yet tried it, but it sounds like a very nice convenience. The "Ant PCB Maker" project has been leveraging this feature of bCNC for one or two years now. I don't believe the existence of bCNC's camera alignment capability is widely known, though, as I only just recently heard about it, and even then only by chance.

              Thinking about it now, two known points are required when nothing is pinned because that's how many points are needed to re-establish the origin as well as correct for any rotation that may have occurred after the board is flipped over. So, presumably, first a new origin needs to be established, and then all of the g-code for the second side needs to be amended after-the-fact to account for any rotation that may have happened when the board was flipped.

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

                For anyone who may be interested in building their own CNC from scratch, there are now (finally!) a couple of open source CNC projects gaining traction that build rigid frames and make use of higher caliber parts such as linear rail guides and ballscrews. Also, unlike other open source projects that make use of 3D printed parts, the 3D printed parts used by these projects are mainly jigs for alignment during the build/assembly process or else non-structural in the final build (e.g. clips for wire management), so the end result is a very stiff machine and therefore without the drawbacks of seemingly all other open source CNC projects--as well as Chinese aliexpress CNC kit--that inevitably compromise on stiffness in one way or another and/or use low precision parts. For anyone who might be interested, the two projects are PrintNC and MilkCR8:
                https://wiki.printnc.info
                https://milkcr8cnc.com

                Both have active forums on discord. Comparing the two, MillkCR8 is focused on a desktop machine about the size of a milk crate (hence the name), whereas PrintNC is scalable in size, leveraging a parametric design to generate plans that will make it any size you like (from small to jumbo extra large) to encompass any cutting volume you might want. MilkCR8 relies on a wooden box frame, which doubles as an enclosure (notionally similar to a Nomad CNC), whereas PrintNC has a standalone steel frame that you bolt together, with an enclosure being both separate and optional. Because the goal is stiffness, neither project makes use of extruded aluminum, so in that respect they are very different from Chinese CNC kits.

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

                  Reporting back on a few things that I either didn't realize or perhaps didn't fully appreciate when I first undertook the earlier CNC above, and which may benefit others. 1. the proper way to insert the collet is to first snap it into the nut and only afterward insert the bit. Now, in retrospect, this may seem obvious (especially to those in the know), but I notice that even Ave got this wrong, so I don't feel too bad for having made this ignorant mistake. 2. Although the standard instruction is to insert the bit so that it protrudes just barely beyond the back of the collet by around 1/8" or so, the fact is that an extremely easy way to greatly reduce runout is to insert it much farther inside than that. As long as it's not bottoming out inside the spindle, you're good. 3. For milling PCBs, small machines are actually better. I'm presently assembling a 6040 machine, and I expect it will go well, but the fact is that deflections on a 3020 machine, given comparable construction, are far less, as simple physics tells us. I was aiming to have a single "do everything" CNC, but retrospect, I think an argument can be made for having a small CNC for PCB work and a separate larger machine for handling other things. My current build will have a 60,000 RPM spindle, which I've measured as having 1 micron of runout (shown in attached photo) and should therefore be great for milling PCBs, but the same spindle isn't well optimized for, say, milling aluminum or steel, which would be better done by a slower, higher power spindle. So, food for thought, if you're in the planning phase and deciding what to do.
                  1micron.jpeg
                  I went for the 6040 machine mainly because at the time I ordered it, the total cost was nearly the same as for the 3020 variant, and the shipping cost was strangely the same, and so I figured "Why not?" However, the whole thing weighs close to 100 pounds, whereas a 3020 of comparable construction would have been a lot easier to move around. That said, the higher mass of a 6040 should help damp vibration, so maybe it's a wash. 4. Even if it comes largely pre-assembled, plan on taking everything apart and lubing everything properly. I don't think mine were lubed at all at the factory. I installed zerk fittings on the ballscrews and then used a grease gun on both the ballscrews and the rails. I also replaced all the plain steel bolts with stainless steel ones. As always, with Chinese construction, the sellers just always seem to cut corners, no matter how much you spend. 5. If I ever build another CNC beyond this one, it will probably be a PrintNC, because the end result will be a very stiff machine based around all-steel construction without China short-cuts. 6. Not all closed loop stepper drivers are the same. You want one that has a thorough programming manual available for it. The HBS86 is the only one I know of that has this, though there may be others. Without such a manual, your ability to make sense of all the software controlled parameters and/or tune it will be severely handicapped.

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

                    Of possible interest: Here's a guy who is building an inexpensive open source ethernet controller for stepper motors:
                    https://www.youtube.com/watch?v=80j7L1H61Hw

                    If you listen to the end, it's revealed that there is now generous funding available which allows people to do this kind of open-source development as a full time job, which is what he is now doing. For that reason, I think there's a good chance he will complete his project within the allowed 6 months., and so by the deadline it will likely be nicely polished.

                    1 Reply Last reply
                    1
                    • Eric WorrallE
                      Eric WorrallE
                      Eric Worrall
                      wrote last edited by
                      #934

                      Adding another workflow to this thread, in case it's useful to anyone.

                      I designed a small LED flasher board in under 3 minutes, then made it on a desktop CNC (a Makera Z1): isolation milling, UV solder mask, drilling and cutout. The whole process is on video, with the design in unedited real time and the milling at real speed:
                      https://www.youtube.com/watch?v=d36TwO_G_m4

                      Full disclosure: I wrote the design software. It's called TurboPCB, and I built it because I got fed up with dragging individual tracks around on PCB layout tools. An AI designs the circuit, then it places the parts and routes a single-sided board for you. It's aimed at simple hobby boards.

                      Two things relevant to this thread: it exports G-code for GRBL mills as well as Gerbers, and it can export mirrored Gerbers for bottom layers, for CAM software that doesn't mirror on import.

                      It's free right now for Mac and Windows (https://turbopcb.ai) because I want feedback, so tell me what you think, good or bad.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      7

                      Online

                      12.4k

                      Users

                      11.2k

                      Topics

                      113.5k

                      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