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 134.6k 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 NeverDie

    I am having a serious problem, though, which is that no matter whether I use Chilipeppr to jog the x-axis to the left or to the right, it always veers to the left. It never goes to the right. Y and Z seem to be working OK however.

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

    @neverdie
    Is it working correctly if you just issue a G0 x10 then x-10?
    did you switch to the jpadie workspace for v1.1?
    sounds like you have a short on pin 5

    NeverDieN 1 Reply Last reply
    0
    • NeverDieN NeverDie

      @andrew said in CNC PCB milling:

      @neverdie I still use my default settings (see below). I re-applied these settings after I flashed the board to grbl 1.1f.
      to be honest, after I found the right parameters for the PCB milling jobs I did not went further to fine tune the CNC settings, due to the lack of time. maybe later of the year, but currently I'm more than happy with the results.

      $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=800.000 (x max rate, mm/min)
      $111=800.000 (y max rate, mm/min)
      $112=500.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)```
      

      Looks as though GRBL1.1f has exposed some additional registers than GRBL0.9 did:

      $0=10
      $1=25
      $2=0
      $3=5
      $4=0
      $5=0
      $6=0
      $10=3
      $11=0.010
      $12=0.002
      $13=0
      $20=0
      $21=0
      $22=0
      $23=0
      $24=25.000
      $25=500.000
      $26=250
      $27=1.000
      $30=1000
      $31=0
      $32=0
      $100=800.000
      $101=800.000
      $102=800.000
      $110=800.000
      $111=800.000
      $112=500.000
      $120=10.000
      $121=10.000
      $122=10.000
      $130=200.000
      $131=200.000
      $132=200.000
      

      namely, registers 30, 31, and 32. Not sure what their values should be, or if it even matters.

      Interestingly, the stepper motors have a distinctly different sound to them when running Chilipeppr with GRBL1.1f (as contrasted with GRBL0.9).

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

      @neverdie said in CNC PCB milling:

      namely, registers 30, 31, and 32. Not sure what their values should be, or if it even matters.

      I found out what they mean:

      $30=1000.	Max spindle speed, RPM
      $31=0.	Min spindle speed, RPM
      $32=0	Laser mode, boolean
      
      1 Reply Last reply
      0
      • rmtuckerR rmtucker

        @neverdie
        Is it working correctly if you just issue a G0 x10 then x-10?
        did you switch to the jpadie workspace for v1.1?
        sounds like you have a short on pin 5

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

        @rmtucker said in CNC PCB milling:

        Is it working correctly if you just issue a G0 x10 then x-10?

        No, it goes left in both instances.

        @rmtucker said in CNC PCB milling:

        did you switch to the jpadie workspace for v1.1?

        yes

        andrewA 1 Reply Last reply
        0
        • NeverDieN NeverDie

          @rmtucker said in CNC PCB milling:

          Is it working correctly if you just issue a G0 x10 then x-10?

          No, it goes left in both instances.

          @rmtucker said in CNC PCB milling:

          did you switch to the jpadie workspace for v1.1?

          yes

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

          @neverdie sorry, I'm abroad, with very limited availability, so cannot answer too quickly.

          based on the mentioned facts it seems to me, that the X axis direction pin is sticked to one position, maybe it has a solder bridge to another pin, or vcc / gnd directly.

          alt text

          NeverDieN 1 Reply Last reply
          1
          • andrewA andrew

            @neverdie sorry, I'm abroad, with very limited availability, so cannot answer too quickly.

            based on the mentioned facts it seems to me, that the X axis direction pin is sticked to one position, maybe it has a solder bridge to another pin, or vcc / gnd directly.

            alt text

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

            @andrew said in CNC PCB milling:

            @neverdie sorry, I'm abroad, with very limited availability, so cannot answer too quickly.

            based on the mentioned facts it seems to me, that the X axis direction pin is sticked to one position, maybe it has a solder bridge to another pin, or vcc / gnd directly.

            alt text

            Thanks! You nailed it. It turns out the solder connection on the atmega328p pin corresponding to D5 just wasn't good enough. I resoldered it, and now the X-axis works in both directions. :)

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

              I'm receiving this error message now:
              0_1516478064369_crowded.png
              However, it's not obvious how to delete the files it's referring to. Anyone know how?

              mfalkviddM 1 Reply Last reply
              0
              • NeverDieN NeverDie

                I'm receiving this error message now:
                0_1516478064369_crowded.png
                However, it's not obvious how to delete the files it's referring to. Anyone know how?

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

                @neverdie I haven't tried it, but if you are using Chrome you should be able to give ChiliPeppr unlimited storage through https://developer.chrome.com/extensions/declare_permissions

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

                  Great news! Grbl1.1f makes all the difference. I tried milling at 6 mil separation using the upgraded grbl1.1f, and it works!
                  0_1516480032752_eureka.jpg
                  There's a huge difference between being able to evolve a single PCB design to perfect it rather than having to work on a "dumbed down" design (for a CNC or some other DIY etching process) before being able to get "the real deal" from a PCB fabricator. So, I'm very relieved that the first option now seems possible. :)

                  andrewA 2 Replies Last reply
                  0
                  • NeverDieN NeverDie

                    Great news! Grbl1.1f makes all the difference. I tried milling at 6 mil separation using the upgraded grbl1.1f, and it works!
                    0_1516480032752_eureka.jpg
                    There's a huge difference between being able to evolve a single PCB design to perfect it rather than having to work on a "dumbed down" design (for a CNC or some other DIY etching process) before being able to get "the real deal" from a PCB fabricator. So, I'm very relieved that the first option now seems possible. :)

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

                    @neverdie I told you since the very beginning to make the firmware upgrade! ;)

                    1 Reply Last reply
                    1
                    • NeverDieN NeverDie

                      Great news! Grbl1.1f makes all the difference. I tried milling at 6 mil separation using the upgraded grbl1.1f, and it works!
                      0_1516480032752_eureka.jpg
                      There's a huge difference between being able to evolve a single PCB design to perfect it rather than having to work on a "dumbed down" design (for a CNC or some other DIY etching process) before being able to get "the real deal" from a PCB fabricator. So, I'm very relieved that the first option now seems possible. :)

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

                      @neverdie as I see from the picture, you can decrease the cutting depth. this could help you to soften the force against the carving bits and it could also help you to use faster feed rates without risking a missing step or bit damage.

                      btw, what are your currently used parameters?

                      also, for the best results please be sure, that when you set up the tool width in flatcam, then it is originated from the previously mentioned formula, which uses the carving bit properties (end with + angle) and the cutting depth.

                      NeverDieN 1 Reply Last reply
                      0
                      • andrewA andrew

                        @neverdie as I see from the picture, you can decrease the cutting depth. this could help you to soften the force against the carving bits and it could also help you to use faster feed rates without risking a missing step or bit damage.

                        btw, what are your currently used parameters?

                        also, for the best results please be sure, that when you set up the tool width in flatcam, then it is originated from the previously mentioned formula, which uses the carving bit properties (end with + angle) and the cutting depth.

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

                        @andrew
                        In this particular instance I had used a dull bit to do the autoleveling at 4mm and then switched to a Jack bit (nominal 0.1mm, 30 degrees) which I re-zeroed before starting the cutting.
                        Cutting depth: 0.03
                        Tool width: 0.12mm (just a guess as to the actual width)
                        Feedrate:80mm

                        It does seem that the actual cutting depth came out deeper than 0.03mm, so I'm not sure what's up with that. My guess is that the re-zeroing with the sharp bit came out wrong.

                        1 Reply Last reply
                        0
                        • E executivul

                          @neverdie I use a wood screw in the sacrificial board holding a piece of metal as a "clamp" I slide it over the board (1mm overlap) and clip one alligator clip to the screw, the other to the bit. After probing I slide it out of the way. The metal piece is about 10cm long and it's left in place for the life of the wood board.

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

                          @executivul said in CNC PCB milling:

                          The metal piece is about 10cm long and it's left in place for the life of the wood board.

                          Do you have a photo of that?

                          Also, are you using double sided tape at all, or is this all that you're doing as far as holding the PCB flat against the sacrificial board?

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

                            @andrew
                            Trying to create a double sided PCB, but I am currently stuck on step 3:
                            0_1516646766540_mirror.png
                            I can see that it has created a mirror image which it displays, but I do not see a mirror image gerber object displayed in the project area. That's in contrast to step 4, where when I click "create alignment drill" it does create a drill file that I can see in the project area.

                            Without access to a mirror image gerber object, there's nothing I can select to produce the gcode for the mirror image. So, I'm stuck on this step. How do I gain access to the mirror image gerber object? I've followed the given directions, but so far no joy.

                            NeverDieN E 2 Replies Last reply
                            0
                            • NeverDieN NeverDie

                              @andrew
                              Trying to create a double sided PCB, but I am currently stuck on step 3:
                              0_1516646766540_mirror.png
                              I can see that it has created a mirror image which it displays, but I do not see a mirror image gerber object displayed in the project area. That's in contrast to step 4, where when I click "create alignment drill" it does create a drill file that I can see in the project area.

                              Without access to a mirror image gerber object, there's nothing I can select to produce the gcode for the mirror image. So, I'm stuck on this step. How do I gain access to the mirror image gerber object? I've followed the given directions, but so far no joy.

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

                              Apparently it doesn't produce a newly named gerber object. Instead, you just work with whatever it has in memory.

                              1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                @andrew
                                Trying to create a double sided PCB, but I am currently stuck on step 3:
                                0_1516646766540_mirror.png
                                I can see that it has created a mirror image which it displays, but I do not see a mirror image gerber object displayed in the project area. That's in contrast to step 4, where when I click "create alignment drill" it does create a drill file that I can see in the project area.

                                Without access to a mirror image gerber object, there's nothing I can select to produce the gcode for the mirror image. So, I'm stuck on this step. How do I gain access to the mirror image gerber object? I've followed the given directions, but so far no joy.

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

                                @neverdie

                                1. I ise Scotch 665 double sided tape and lately I use a heavy item connected to the ground pin when probing. Put it on the pcb and you get the pcb face grounded. The probe pin clips to the bit. I tend to probe using the same bit used for engraving.
                                2. You select the bottom layer in flatcam. I create a bounding box around it first. Then select the box, the x axis. A few alignment drill locations on one side of the flip line. Hit create aligment drills and hit mirror object which mirrors the already loaded bottom layer (GBL) object. If you watch closely you should see the tracks are mirrored. Then select the object and go on with creating iso geometry and cnc paths.
                                NeverDieN 1 Reply Last reply
                                0
                                • E executivul

                                  @neverdie

                                  1. I ise Scotch 665 double sided tape and lately I use a heavy item connected to the ground pin when probing. Put it on the pcb and you get the pcb face grounded. The probe pin clips to the bit. I tend to probe using the same bit used for engraving.
                                  2. You select the bottom layer in flatcam. I create a bounding box around it first. Then select the box, the x axis. A few alignment drill locations on one side of the flip line. Hit create aligment drills and hit mirror object which mirrors the already loaded bottom layer (GBL) object. If you watch closely you should see the tracks are mirrored. Then select the object and go on with creating iso geometry and cnc paths.
                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #448

                                  @executivul said in CNC PCB milling:

                                  You select the bottom layer in flatcam. I create a bounding box around it first. Then select the box, the x axis. A few alignment drill locations on one side of the flip line. Hit create aligment drills and hit mirror object which mirrors the already loaded bottom layer (GBL) object. If you watch closely you should see the tracks are mirrored. Then select the object and go on with creating iso geometry and cnc paths.

                                  Yes, I think the flatcam's original instructions were faulty. It said to load both the top and bottom layer. Maybe that's fine for selecting pin alignment locations, but there should be only one layer displayed before the mirroring, or else it creates a mess.

                                  Also, I had thought it would create a new file for the mirrored gerber, but it doesn't. Instead, I just work with the mirrored gerber that's in memory to produce the gcode for the mirrored image. I guess that's good enough.

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

                                    I drilled the alignment holes with 0.8mm diameter. I'm using regular male header pins for the alignment, and having tried it, I think 0.8mm is really too tight. Not sure how @andrew is using 0.7mm. Different pins I guess? Anyhow, next time I'll try 0.9mm hole diameter.

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

                                      How do I mill a slot? Do I treat it the same as a regular hole, except use a routing bit rather than a drill bit when it comes time to cut the slot?

                                      NeverDieN andrewA 2 Replies Last reply
                                      0
                                      • NeverDieN NeverDie

                                        How do I mill a slot? Do I treat it the same as a regular hole, except use a routing bit rather than a drill bit when it comes time to cut the slot?

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

                                        @neverdie said in CNC PCB milling:

                                        How do I mill a slot? Do I treat it the same as a regular hole, except use a routing bit rather than a drill bit when it comes time to cut the slot?

                                        Couldn't find a good answer to this, so I'm going to approximate it by simply drilling a series of overlapping holes.

                                        It's needed for the micro-usb connector.

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

                                          I did the top layer, together with alignment holes, for a real FR4 PCB:
                                          0_1516726915446_alignment_holes.jpg
                                          As an experiment, I thought I would standardize on 0.9mm holes for the through-holes, via-holes, and alignment holes, so that there would be fewer tool changes. Looks like it will work, but, meh, I think I'll use smaller via holes in the future.

                                          Out of time for today, so I plan to etch the flip side tomorrow.

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


                                          18

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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