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. My Project
  3. DIY CNC mill from mainly salvaged and 3D printed parts

DIY CNC mill from mainly salvaged and 3D printed parts

Scheduled Pinned Locked Moved My Project
76 Posts 5 Posters 11.8k Views 6 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.
  • dbemowskD dbemowsk

    @neverdie I think most of those stepper driver modules run the same footprint. Check out this link. It is from Tom's 3D forum. People there are talking about those as replacements for the DRV88256's, which are the ones that I have. May be some useful info for you.
    https://discuss.toms3d.org/hardware-f6/drv8825-vs-tmc2100-vs-tmc2130-vs-tmc2208-t250.html

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

    @dbemowsk Short of making a very careful study of the datasheets, the other info that's available is awfully sketchy, so I ordered one of each module, and I'll see if I can get either one to work on the RAMPS board that I ordered. I'm not completely sure, but I get the impression that after they are properly configured, they can maybe just plug and play.

    1 Reply Last reply
    1
    • dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by dbemowsk
      #48

      So, here is the latest update with pictures. I have the whole setup mounted on a leftover piece of MDF. I am using an ATX computer power supply to run everything. The fan pulls air from the back of the setup and blows it over the heatsinks for all of the modules.
      0_1520946272163_131786b5-061d-4b94-87f0-51fd63e651f5-image.png

      For spindle control I have 3 different modules. The first is a buck converter to boost the 12 volts to 24 for running the spindle motor.
      0_1520946618766_8dcfa79c-88e3-47ea-96c4-c7fcc2d79c60-image.png

      Next I have a dual H-Bridge that I had in my parts bin. I am only using one side of it. This handles the motor direction and speed. One problem with it that I had to overcome was that it had separate logic inputs for forward and reverse. The problem was that the CNC shield had a single output for spindle direction. To overcome this, I made a simple not gate circuit using an NPN switching transistor which sends a normal logic level to one input pin and an inverted signal to the other. I then use the enable line to start and stop the spindle. This setup works well.
      0_1520946877139_dc380f67-1b86-4d3f-ac22-fb6b71e70cba-image.png
      0_1520946841439_23a33cb6-099e-40ec-b23e-7428844f63eb-image.png
      This is the entire spindle drive circuity.
      0_1520947331423_88fe41df-a8ce-4e92-b13b-b748b5cbfeef-image.png

      Here is an angled front view.
      0_1520947428887_66a64c7c-abfd-43d8-a904-1299598725f4-image.png

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

        Don't forget to include a snub diode on the motor, if you haven't already.

        dbemowskD 1 Reply Last reply
        0
        • NeverDieN NeverDie

          Don't forget to include a snub diode on the motor, if you haven't already.

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #50

          @neverdie I thought that that was integrated on to the H-Bridge controller.
          0_1520952967198_15ac4a99-26fa-4c20-b0c6-ad75ddd26065-image.png

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          NeverDieN 1 Reply Last reply
          0
          • dbemowskD dbemowsk

            @neverdie I thought that that was integrated on to the H-Bridge controller.
            0_1520952967198_15ac4a99-26fa-4c20-b0c6-ad75ddd26065-image.png

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

            @dbemowsk If that's what it is, then I guess you're covered. :)

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

              I like the idea of recycling an old PC power supply with a boost converter. For instance, a lot of the 48v power supplies don't come with regular 110VAC plugs, and you're even left with semi-exposed 110VAC wiring, so this kinda works around that. It's a bit ungainly, but it works.

              The only problem is you probably can't get to more than 240w, as that would be 20amps at 12v to the input of the boost converter. Actually less than 240w because of conversion inefficiency. At best probably just 0.85*240=204w. Maybe it would be good enough for milling PCBs though.

              1 Reply Last reply
              0
              • dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #53

                So I am trying to test the new machine and am having some trouble. I am running into an issue with some gcode I am testing. The gcode was generated from inkscape and I am including the gcode below. The way I am testing this is just using a terminal connection to the CNC and pasting the gcode into the terminal window. If there is a better way to test this let me know.

                When I paste in the gcode below, the CNC runs through part of it and then stops. If I then hit enter in the terminal window I get this:

                error: Invalid gcode ID:35
                

                From my research on this error I found this:
                A G2 or G3 arc, traced with the offset definition, is missing the IJK offset word in the selected plane to trace the arc.

                After testing in chunks, I have found the line that appears to be causing the error.
                This will cause the error:

                G01 Z-0.125000 F100.0
                G03 X44.448347 Y19.159901 Z-0.125000 I-203.958107 J224.353401 F400.000000
                G03 X45.751092 Y20.363421 Z-0.125000 I-235.328819 J256.037427
                G03 X47.053649 Y21.586232 Z-0.125000 I-48.170466 J52.617095
                G03 X47.737750 Y22.275812 Z-0.125000 I-14.623944 J15.191857
                G03 X49.369789 Y24.042092 Z-0.125000 I-12.444180 J13.135542
                G03 X50.077180 Y25.172247 Z-0.125000 I-4.326712 J3.494655
                G03 X50.505064 Y26.430623 Z-0.125000 I-5.413285 J2.542606
                G03 X50.652755 Y27.790183 Z-0.125000 I-6.183798 J1.359560
                G03 X50.459010 Y29.287714 Z-0.125000 I-5.884361 J0.000000
                G03 X50.002913 Y30.259582 Z-0.125000 I-2.876467 J-0.756965
                

                If I run it just to the line that ends in J0.000000, I don't get the error. From all the testing I am doing, it almost seems like a problem with the version og GRBL that I am running. If anyone can help, it would be greatly appreciated.

                Here is the full gcode file I am trying to run.

                 %
                (Header)
                (Generated by gcodetools from Inkscape.)
                (Using default header. To add your own header create file "header" in the output dir.)
                M3
                (Header end.)
                G21 
                G00 Z5.000000
                G00 X43.225993 Y18.042555
                
                
                G01 Z-0.125000 F100.0
                G03 X44.448347 Y19.159901 Z-0.125000 I-203.958107 J224.353401 F400.000000
                G03 X45.751092 Y20.363421 Z-0.125000 I-235.328819 J256.037427
                G03 X47.053649 Y21.586232 Z-0.125000 I-48.170466 J52.617095
                G03 X47.737750 Y22.275812 Z-0.125000 I-14.623944 J15.191857
                G03 X49.369789 Y24.042092 Z-0.125000 I-12.444180 J13.135542
                G03 X50.077180 Y25.172247 Z-0.125000 I-4.326712 J3.494655
                G03 X50.505064 Y26.430623 Z-0.125000 I-5.413285 J2.542606
                G03 X50.652755 Y27.790183 Z-0.125000 I-6.183798 J1.359560
                G03 X50.459010 Y29.287714 Z-0.125000 I-5.884361 J0.000000
                G03 X50.002913 Y30.259582 Z-0.125000 I-2.876467 J-0.756965
                G03 X49.239064 Y30.916004 Z-0.125000 I-1.644692 J-1.141216
                G03 X48.146224 Y31.169360 Z-0.125000 I-1.092840 J-2.230286
                G03 X47.289509 Y31.048092 Z-0.125000 I-0.000000 J-3.086831
                G03 X46.475200 Y30.686621 Z-0.125000 I0.908316 J-3.144182
                G03 X45.866393 Y30.136858 Z-0.125000 I1.149043 J-1.884428
                G03 X45.713957 Y29.684007 Z-0.125000 I0.596437 J-0.452850
                G03 X45.985338 Y29.064178 Z-0.125000 I0.843529 J-0.000000
                G03 X46.679436 Y28.792797 Z-0.125000 I0.694099 J0.751942
                G02 X47.335454 Y28.673230 Z-0.125000 I-0.000000 J-1.859443
                G02 X47.812019 Y28.365758 Z-0.125000 I-0.474548 J-1.258585
                G02 X48.135474 Y27.903550 Z-0.125000 I-0.880288 J-0.960310
                G02 X48.257626 Y27.288877 Z-0.125000 I-1.485457 J-0.614672
                G02 X48.104631 Y26.518211 Z-0.125000 I-2.017507 J0.000000
                G02 X47.682050 Y25.896359 Z-0.125000 I-1.707278 J0.705676
                G02 X47.046759 Y25.486928 Z-0.125000 I-1.345892 J1.390756
                G02 X46.270965 Y25.339351 Z-0.125000 I-0.775794 J1.965345
                G02 X45.292182 Y25.503034 Z-0.125000 I-0.000000 J3.008278
                G02 X44.544242 Y25.933491 Z-0.125000 I0.740151 J2.151068
                G02 X44.042842 Y26.629349 Z-0.125000 I1.319262 J1.479165
                G02 X43.857268 Y27.530245 Z-0.125000 I2.093979 J0.900896
                G02 X44.053076 Y28.610069 Z-0.125000 I3.075347 J0.000000
                G02 X44.637076 Y29.609740 Z-0.125000 I3.204798 J-1.201795
                G02 X45.497064 Y30.450999 Z-0.125000 I4.328411 J-3.564579
                G02 X46.382366 Y30.983691 Z-0.125000 I2.558297 J-3.249731
                G02 X47.382290 Y31.355341 Z-0.125000 I3.964670 J-9.135984
                G02 X48.109089 Y31.522132 Z-0.125000 I1.448687 J-4.645789
                G02 X48.873231 Y31.617913 Z-0.125000 I1.459799 J-8.550217
                G02 X49.724411 Y31.652101 Z-0.125000 I0.851180 J-10.578908
                G02 X51.889847 Y31.372996 Z-0.125000 I0.000000 J-8.539831
                G02 X53.549194 Y30.649487 Z-0.125000 I-1.488545 J-5.678518
                G02 X54.704159 Y29.414339 Z-0.125000 I-1.811549 J-2.851516
                G02 X55.127380 Y27.753048 Z-0.125000 I-3.048959 J-1.661291
                G02 X54.936373 Y26.631768 Z-0.125000 I-3.386657 J-0.000000
                G02 X54.384704 Y25.636421 Z-0.125000 I-3.198858 J1.122406
                G02 X53.586077 Y24.796888 Z-0.125000 I-4.668650 J3.641547
                G02 X52.750815 Y24.225335 Z-0.125000 I-2.952589 J3.418787
                G02 X51.827360 Y23.791569 Z-0.125000 I-7.103306 J13.922514
                G02 X49.947214 Y23.018488 Z-0.125000 I-24.534815 J56.996312
                G03 X48.140362 Y22.212394 Z-0.125000 I6.972211 J-18.056198
                G03 X47.867719 Y21.960175 Z-0.125000 I0.309378 J-0.607900
                G01 X47.867719 Y21.885905 Z-0.125000
                G02 X48.332245 Y21.916706 Z-0.125000 I1.362590 J-17.031956
                G02 X48.926032 Y21.941607 Z-0.125000 I1.463551 J-27.806724
                G02 X49.538817 Y21.955270 Z-0.125000 I1.159694 J-38.263217
                G02 X50.225717 Y21.960178 Z-0.125000 I0.686900 J-48.074419
                G01 X53.159290 Y21.960178 Z-0.125000
                G03 X54.047826 Y22.036865 Z-0.125000 I0.000000 J5.185830
                G03 X54.440406 Y22.182978 Z-0.125000 I-0.196020 J1.127129
                G03 X54.758038 Y22.451881 Z-0.125000 I-0.663402 J1.105664
                G03 X54.978847 Y22.814255 Z-0.125000 I-1.019962 J0.869964
                G03 X55.149683 Y23.228183 Z-0.125000 I-5.791228 J2.632369
                G03 X55.275917 Y23.612631 Z-0.125000 I-4.868337 J1.811474
                G02 X55.407546 Y24.001962 Z-0.125000 I45.628782 J-15.209704
                G02 X55.498720 Y24.262473 Z-0.125000 I20.519916 J-7.035405
                G01 X55.740088 Y24.262473 Z-0.125000
                G01 X54.551808 Y17.912589 Z-0.125000
                G01 X43.225993 Y17.912589 Z-0.125000
                G01 X43.225993 Y18.042555 Z-0.125000
                G00 Z5.000000
                
                (End cutting path id: path4518)
                
                
                (Start cutting path id: path4516)
                (Change tool to Default tool)
                
                G00 Z5.000000
                G00 X35.980838 Y21.607403
                
                G01 Z-0.125000 F100.0(Penetrate)
                G01 X35.980838 Y25.190815 Z-0.125000 F400.000000
                G01 X35.999408 Y27.233175 Z-0.125000
                G03 X35.574593 Y26.748497 Z-0.125000 I52.703425 J-46.622391
                G03 X34.773990 Y25.822090 Z-0.125000 I191.750900 J-166.520630
                G02 X33.983162 Y24.922179 Z-0.125000 I-36.848082 J31.584152
                G02 X32.917298 Y23.761165 Z-0.125000 I-62.405165 J56.220956
                G02 X31.819666 Y22.649912 Z-0.125000 I-29.726417 J28.264352
                G02 X30.726405 Y21.625970 Z-0.125000 I-26.328768 J27.015589
                G01 X33.028700 Y21.607400 Z-0.125000
                G01 X35.980838 Y21.607403 Z-0.125000
                G00 Z5.000000
                
                (End cutting path id: path4516)
                
                
                (Start cutting path id: path4516)
                (Change tool to Default tool)
                
                G00 Z5.000000
                G00 X40.399760 Y21.607403
                
                G01 Z-0.125000 F100.0(Penetrate)
                G01 X42.590657 Y21.607403 Z-0.125000 F400.000000
                G01 X42.590657 Y20.809024 Z-0.125000
                G01 X40.399760 Y20.809024 Z-0.125000
                G01 X40.399760 Y20.084915 Z-0.125000
                G03 X40.407178 Y19.750985 Z-0.125000 I7.520648 J-0.000000
                G03 X40.436895 Y19.249405 Z-0.125000 I17.002115 J0.755670
                G03 X40.546108 Y18.791102 Z-0.125000 I1.970229 J0.227339
                G03 X40.696833 Y18.543863 Z-0.125000 I0.702969 J0.258990
                G03 X40.941182 Y18.384755 Z-0.125000 I0.600616 J0.655210
                G03 X41.290973 Y18.283925 Z-0.125000 I0.555297 J1.269242
                G03 X41.662590 Y18.250282 Z-0.125000 I1.978264 J19.782188
                G03 X41.977950 Y18.228226 Z-0.125000 I1.153236 J14.223609
                G02 X42.293361 Y18.222789 Z-0.125000 I0.000000 J-9.150730
                G02 X42.516390 Y18.209656 Z-0.125000 I-0.158205 J-4.587139
                G01 X42.516390 Y17.912583 Z-0.125000
                G01 X33.715674 Y17.912583 Z-0.125000
                G01 X33.715674 Y18.209656 Z-0.125000
                G01 X34.198412 Y18.209656 Z-0.125000
                G03 X34.458043 Y18.231591 Z-0.125000 I-0.716004 J10.022311
                G03 X34.959656 Y18.283923 Z-0.125000 I-3.655306 J37.467340
                G03 X35.448552 Y18.416918 Z-0.125000 I-0.290338 J2.032389
                G03 X35.683768 Y18.580993 Z-0.125000 I-0.249659 J0.608548
                G03 X35.843078 Y18.850674 Z-0.125000 I-0.547342 J0.505231
                G03 X35.962270 Y19.416503 Z-0.125000 I-2.408402 J0.802798
                G01 X35.999405 Y20.809021 Z-0.125000
                G01 X29.723789 Y20.809021 Z-0.125000
                G01 X29.723789 Y21.198928 Z-0.125000
                G03 X31.120862 Y22.513291 Z-0.125000 I-26.402073 J29.463183
                G03 X32.713060 Y24.151066 Z-0.125000 I-39.419679 J39.915522
                G03 X34.252508 Y25.840106 Z-0.125000 I-70.593355 J65.887243
                G03 X36.017970 Y27.864447 Z-0.125000 I-99.645628 J88.684620
                G03 X37.748161 Y29.937732 Z-0.125000 I-142.627488 J120.783656
                G03 X39.025809 Y31.522129 Z-0.125000 I-82.011066 J67.440569
                G01 X40.399760 Y31.522129 Z-0.125000
                G01 X40.399760 Y21.607403 Z-0.125000
                G00 Z5.000000
                
                (End cutting path id: path4516)
                
                
                (Start cutting path id: path4514)
                (Change tool to Default tool)
                
                G00 Z5.000000
                G00 X18.865337 Y24.225335
                
                G01 Z-0.125000 F100.0(Penetrate)
                G01 X20.480658 Y31.559267 Z-0.125000 F400.000000
                G01 X20.647760 Y31.559267 Z-0.125000
                G03 X21.301879 Y31.370938 Z-0.125000 I4.220657 J13.429377
                G03 X22.207381 Y31.150795 Z-0.125000 I6.684447 J25.522464
                G03 X23.141733 Y31.001820 Z-0.125000 I1.740292 J7.910320
                G03 X24.249741 Y30.946556 Z-0.125000 I1.108007 J11.079935
                G03 X25.672326 Y31.009030 Z-0.125000 I0.000000 J16.228010
                G03 X26.570605 Y31.150795 Z-0.125000 I-0.580218 J6.593308
                G03 X27.163172 Y31.377624 Z-0.125000 I-16.345032 J43.587248
                G03 X27.758887 Y31.614966 Z-0.125000 I-17.300215 J44.288718
                G02 X27.874660 Y31.545070 Z-0.125000 I-0.000000 J-0.130829
                G02 X27.944556 Y31.262194 Z-0.125000 I-0.537466 J-0.282876
                G02 X27.858000 Y30.728811 Z-0.125000 I-1.686705 J0.000000
                G02 X27.517517 Y29.981077 Z-0.125000 I-3.699295 J1.233098
                G02 X27.036658 Y29.338516 Z-0.125000 I-2.958736 J1.712955
                G02 X26.087865 Y28.477160 Z-0.125000 I-6.317281 J6.005326
                G02 X24.999472 Y27.947358 Z-0.125000 I-1.799138 J2.313175
                G02 X22.968624 Y27.697349 Z-0.125000 I-2.030848 J8.123382
                G02 X22.023587 Y27.724483 Z-0.125000 I0.000000 J16.470844
                G02 X21.353303 Y27.790183 Z-0.125000 I0.479583 J8.344780
                G02 X20.698448 Y27.945130 Z-0.125000 I0.823870 J4.943211
                G02 X20.090753 Y28.180087 Z-0.125000 I1.386162 J4.488536
                G01 X19.496612 Y25.562154 Z-0.125000
                G02 X20.420767 Y26.277720 Z-0.125000 I3.544856 J-3.623633
                G02 X21.371870 Y26.694735 Z-0.125000 I2.068978 J-3.425688
                G02 X22.425760 Y26.915093 Z-0.125000 I1.767117 J-5.821095
                G02 X24.045505 Y27.010372 Z-0.125000 I1.619745 J-13.720196
                G02 X26.002310 Y26.698984 Z-0.125000 I-0.000000 J-6.304103
                G02 X27.684619 Y25.822090 Z-0.125000 I-1.793851 J-5.493667
                G02 X28.853132 Y24.429454 Z-0.125000 I-2.426172 J-3.222266
                G02 X29.262806 Y22.721416 Z-0.125000 I-3.355793 J-1.708038
                G02 X28.719685 Y20.623608 Z-0.125000 I-4.322955 J0.000000
                G02 X27.201879 Y19.008034 Z-0.125000 I-3.955337 J2.195212
                G02 X25.055324 Y18.043352 Z-0.125000 I-4.247338 J6.580391
                G02 X22.467318 Y17.689786 Z-0.125000 I-2.588006 J9.294965
                G02 X20.516310 Y17.965951 Z-0.125000 I-0.000000 J7.029654
                G02 X19.125274 Y18.655265 Z-0.125000 I1.211062 J4.192136
                G02 X18.167632 Y19.798729 Z-0.125000 I2.094628 J2.726975
                G02 X17.844157 Y21.124661 Z-0.125000 I2.555779 J1.325932
                G02 X18.001470 Y21.835020 Z-0.125000 I1.682496 J0.000000
                G02 X18.475432 Y22.480048 Z-0.125000 I1.845992 J-0.859776
                G02 X19.163765 Y22.908353 Z-0.125000 I1.503460 J-1.648961
                G02 X19.942218 Y23.055620 Z-0.125000 I0.778453 J-1.983804
                G02 X20.910521 Y22.903307 Z-0.125000 I-0.000000 J-3.154065
                G02 X21.668941 Y22.498615 Z-0.125000 I-0.744739 J-2.308701
                G02 X22.184274 Y21.866063 Z-0.125000 I-1.061617 J-1.391084
                G02 X22.374483 Y21.031827 Z-0.125000 I-1.734336 J-0.834236
                G02 X22.212395 Y20.170622 Z-0.125000 I-2.368924 J0.000000
                G02 X21.780342 Y19.509343 Z-0.125000 I-1.793062 J0.699732
                G03 X21.254269 Y18.887006 Z-0.125000 I3.449199 J-3.449189
                G03 X21.186201 Y18.673830 Z-0.125000 I0.299780 J-0.213176
                G03 X21.278233 Y18.397734 Z-0.125000 I0.460159 J0.000000
                G03 X21.576106 Y18.153956 Z-0.125000 I0.643932 J0.482949
                G03 X21.992550 Y18.027396 Z-0.125000 I0.884662 J2.162523
                G03 X22.393050 Y17.986856 Z-0.125000 I0.400500 J1.958017
                G03 X23.573351 Y18.312863 Z-0.125000 I-0.000000 J2.299628
                G03 X24.286875 Y19.119436 Z-0.125000 I-0.912880 J1.526457
                G03 X24.642008 Y20.282923 Z-0.125000 I-4.628727 J2.048777
                G03 X24.788181 Y21.941607 Z-0.125000 I-9.337783 J1.658684
                G03 X24.614609 Y23.704630 Z-0.125000 I-9.040542 J0.000000
                G03 X24.156906 Y25.116548 Z-0.125000 I-6.224224 J-1.237565
                G03 X23.309525 Y26.128896 Z-0.125000 I-2.201031 J-0.981541
                G03 X22.133113 Y26.490499 Z-0.125000 I-1.176411 J-1.732823
                G03 X20.931989 Y26.297380 Z-0.125000 I0.000000 J-3.831820
                G03 X20.220721 Y25.859224 Z-0.125000 I0.566382 J-1.715806
                G03 X19.619208 Y25.205500 Z-0.125000 I7.557493 J-7.557497
                G03 X19.403778 Y24.893745 Z-0.125000 I1.484653 J-1.256244
                G03 X19.256083 Y24.552361 Z-0.125000 I3.008082 J-1.504041
                G03 X19.143841 Y24.188203 Z-0.125000 I3.312064 J-1.220236
                G01 X18.865337 Y24.225335 Z-0.125000
                G00 Z5.000000
                
                (End cutting path id: path4514)
                
                
                (Start cutting path id: path4512)
                (Change tool to Default tool)
                
                G00 Z5.000000
                G00 X14.904203 Y20.233452
                
                G01 Z-0.125000 F100.0(Penetrate)
                G01 X14.941337 Y19.379374 Z-0.125000 F400.000000
                G03 X15.057746 Y18.793506 Z-0.125000 I2.825055 J0.256823
                G03 X15.201274 Y18.543863 Z-0.125000 I0.629513 J0.195849
                G03 X15.445033 Y18.383087 Z-0.125000 I0.623587 J0.680268
                G03 X15.776848 Y18.283925 Z-0.125000 I0.534255 J1.182988
                G03 X16.129803 Y18.248805 Z-0.125000 I3.255779 J30.929087
                G03 X16.370989 Y18.228226 Z-0.125000 I1.351946 J14.421104
                G02 X16.630791 Y18.223896 Z-0.125000 I0.000000 J-7.796989
                G02 X16.927996 Y18.209656 Z-0.125000 I-0.340681 J-10.218602
                G01 X16.927996 Y17.912583 Z-0.125000
                G01 X8.164415 Y17.912583 Z-0.125000
                G01 X8.164415 Y18.209656 Z-0.125000
                G01 X8.572887 Y18.209656 Z-0.125000
                G03 X8.795484 Y18.230346 Z-0.125000 I-0.974770 J11.695148
                G03 X9.296997 Y18.283923 Z-0.125000 I-6.094603 J59.423063
                G03 X9.785893 Y18.416919 Z-0.125000 I-0.290337 J2.032380
                G03 X10.021106 Y18.580993 Z-0.125000 I-0.249656 J0.608537
                G03 X10.180418 Y18.850674 Z-0.125000 I-0.547335 J0.505231
                G03 X10.299610 Y19.416503 Z-0.125000 I-2.408361 J0.802788
                G01 X10.336743 Y20.270581 Z-0.125000
                G01 X10.336743 Y28.997033 Z-0.125000
                G01 X10.299610 Y29.851111 Z-0.125000
                G03 X10.182971 Y30.400736 Z-0.125000 I-2.487771 J-0.240753
                G03 X10.021106 Y30.686621 Z-0.125000 I-0.810657 J-0.270219
                G03 X9.776926 Y30.897553 Z-0.125000 I-0.581679 J-0.426566
                G03 X9.389831 Y31.020826 Z-0.125000 I-0.534986 J-1.010529
                G03 X8.980496 Y31.066901 Z-0.125000 I-1.187543 J-8.708864
                G03 X8.554320 Y31.095093 Z-0.125000 I-0.836645 J-9.412371
                G02 X8.127360 Y31.133065 Z-0.125000 I9.469020 J108.890844
                G02 X7.941612 Y31.150795 Z-0.125000 I1.875189 J20.626530
                G01 X7.941612 Y31.447865 Z-0.125000
                G01 X14.904203 Y31.447865 Z-0.125000
                G01 X14.904203 Y20.233452 Z-0.125000
                G00 Z5.000000
                
                (End cutting path id: path4512)
                
                
                (Footer)
                M5
                G00 X0.0000 Y0.0000
                M2
                (Using default footer. To add your own footer create file "footer" in the output dir.)
                (end)
                %
                

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                NeverDieN 1 Reply Last reply
                0
                • dbemowskD dbemowsk

                  So I am trying to test the new machine and am having some trouble. I am running into an issue with some gcode I am testing. The gcode was generated from inkscape and I am including the gcode below. The way I am testing this is just using a terminal connection to the CNC and pasting the gcode into the terminal window. If there is a better way to test this let me know.

                  When I paste in the gcode below, the CNC runs through part of it and then stops. If I then hit enter in the terminal window I get this:

                  error: Invalid gcode ID:35
                  

                  From my research on this error I found this:
                  A G2 or G3 arc, traced with the offset definition, is missing the IJK offset word in the selected plane to trace the arc.

                  After testing in chunks, I have found the line that appears to be causing the error.
                  This will cause the error:

                  G01 Z-0.125000 F100.0
                  G03 X44.448347 Y19.159901 Z-0.125000 I-203.958107 J224.353401 F400.000000
                  G03 X45.751092 Y20.363421 Z-0.125000 I-235.328819 J256.037427
                  G03 X47.053649 Y21.586232 Z-0.125000 I-48.170466 J52.617095
                  G03 X47.737750 Y22.275812 Z-0.125000 I-14.623944 J15.191857
                  G03 X49.369789 Y24.042092 Z-0.125000 I-12.444180 J13.135542
                  G03 X50.077180 Y25.172247 Z-0.125000 I-4.326712 J3.494655
                  G03 X50.505064 Y26.430623 Z-0.125000 I-5.413285 J2.542606
                  G03 X50.652755 Y27.790183 Z-0.125000 I-6.183798 J1.359560
                  G03 X50.459010 Y29.287714 Z-0.125000 I-5.884361 J0.000000
                  G03 X50.002913 Y30.259582 Z-0.125000 I-2.876467 J-0.756965
                  

                  If I run it just to the line that ends in J0.000000, I don't get the error. From all the testing I am doing, it almost seems like a problem with the version og GRBL that I am running. If anyone can help, it would be greatly appreciated.

                  Here is the full gcode file I am trying to run.

                   %
                  (Header)
                  (Generated by gcodetools from Inkscape.)
                  (Using default header. To add your own header create file "header" in the output dir.)
                  M3
                  (Header end.)
                  G21 
                  G00 Z5.000000
                  G00 X43.225993 Y18.042555
                  
                  
                  G01 Z-0.125000 F100.0
                  G03 X44.448347 Y19.159901 Z-0.125000 I-203.958107 J224.353401 F400.000000
                  G03 X45.751092 Y20.363421 Z-0.125000 I-235.328819 J256.037427
                  G03 X47.053649 Y21.586232 Z-0.125000 I-48.170466 J52.617095
                  G03 X47.737750 Y22.275812 Z-0.125000 I-14.623944 J15.191857
                  G03 X49.369789 Y24.042092 Z-0.125000 I-12.444180 J13.135542
                  G03 X50.077180 Y25.172247 Z-0.125000 I-4.326712 J3.494655
                  G03 X50.505064 Y26.430623 Z-0.125000 I-5.413285 J2.542606
                  G03 X50.652755 Y27.790183 Z-0.125000 I-6.183798 J1.359560
                  G03 X50.459010 Y29.287714 Z-0.125000 I-5.884361 J0.000000
                  G03 X50.002913 Y30.259582 Z-0.125000 I-2.876467 J-0.756965
                  G03 X49.239064 Y30.916004 Z-0.125000 I-1.644692 J-1.141216
                  G03 X48.146224 Y31.169360 Z-0.125000 I-1.092840 J-2.230286
                  G03 X47.289509 Y31.048092 Z-0.125000 I-0.000000 J-3.086831
                  G03 X46.475200 Y30.686621 Z-0.125000 I0.908316 J-3.144182
                  G03 X45.866393 Y30.136858 Z-0.125000 I1.149043 J-1.884428
                  G03 X45.713957 Y29.684007 Z-0.125000 I0.596437 J-0.452850
                  G03 X45.985338 Y29.064178 Z-0.125000 I0.843529 J-0.000000
                  G03 X46.679436 Y28.792797 Z-0.125000 I0.694099 J0.751942
                  G02 X47.335454 Y28.673230 Z-0.125000 I-0.000000 J-1.859443
                  G02 X47.812019 Y28.365758 Z-0.125000 I-0.474548 J-1.258585
                  G02 X48.135474 Y27.903550 Z-0.125000 I-0.880288 J-0.960310
                  G02 X48.257626 Y27.288877 Z-0.125000 I-1.485457 J-0.614672
                  G02 X48.104631 Y26.518211 Z-0.125000 I-2.017507 J0.000000
                  G02 X47.682050 Y25.896359 Z-0.125000 I-1.707278 J0.705676
                  G02 X47.046759 Y25.486928 Z-0.125000 I-1.345892 J1.390756
                  G02 X46.270965 Y25.339351 Z-0.125000 I-0.775794 J1.965345
                  G02 X45.292182 Y25.503034 Z-0.125000 I-0.000000 J3.008278
                  G02 X44.544242 Y25.933491 Z-0.125000 I0.740151 J2.151068
                  G02 X44.042842 Y26.629349 Z-0.125000 I1.319262 J1.479165
                  G02 X43.857268 Y27.530245 Z-0.125000 I2.093979 J0.900896
                  G02 X44.053076 Y28.610069 Z-0.125000 I3.075347 J0.000000
                  G02 X44.637076 Y29.609740 Z-0.125000 I3.204798 J-1.201795
                  G02 X45.497064 Y30.450999 Z-0.125000 I4.328411 J-3.564579
                  G02 X46.382366 Y30.983691 Z-0.125000 I2.558297 J-3.249731
                  G02 X47.382290 Y31.355341 Z-0.125000 I3.964670 J-9.135984
                  G02 X48.109089 Y31.522132 Z-0.125000 I1.448687 J-4.645789
                  G02 X48.873231 Y31.617913 Z-0.125000 I1.459799 J-8.550217
                  G02 X49.724411 Y31.652101 Z-0.125000 I0.851180 J-10.578908
                  G02 X51.889847 Y31.372996 Z-0.125000 I0.000000 J-8.539831
                  G02 X53.549194 Y30.649487 Z-0.125000 I-1.488545 J-5.678518
                  G02 X54.704159 Y29.414339 Z-0.125000 I-1.811549 J-2.851516
                  G02 X55.127380 Y27.753048 Z-0.125000 I-3.048959 J-1.661291
                  G02 X54.936373 Y26.631768 Z-0.125000 I-3.386657 J-0.000000
                  G02 X54.384704 Y25.636421 Z-0.125000 I-3.198858 J1.122406
                  G02 X53.586077 Y24.796888 Z-0.125000 I-4.668650 J3.641547
                  G02 X52.750815 Y24.225335 Z-0.125000 I-2.952589 J3.418787
                  G02 X51.827360 Y23.791569 Z-0.125000 I-7.103306 J13.922514
                  G02 X49.947214 Y23.018488 Z-0.125000 I-24.534815 J56.996312
                  G03 X48.140362 Y22.212394 Z-0.125000 I6.972211 J-18.056198
                  G03 X47.867719 Y21.960175 Z-0.125000 I0.309378 J-0.607900
                  G01 X47.867719 Y21.885905 Z-0.125000
                  G02 X48.332245 Y21.916706 Z-0.125000 I1.362590 J-17.031956
                  G02 X48.926032 Y21.941607 Z-0.125000 I1.463551 J-27.806724
                  G02 X49.538817 Y21.955270 Z-0.125000 I1.159694 J-38.263217
                  G02 X50.225717 Y21.960178 Z-0.125000 I0.686900 J-48.074419
                  G01 X53.159290 Y21.960178 Z-0.125000
                  G03 X54.047826 Y22.036865 Z-0.125000 I0.000000 J5.185830
                  G03 X54.440406 Y22.182978 Z-0.125000 I-0.196020 J1.127129
                  G03 X54.758038 Y22.451881 Z-0.125000 I-0.663402 J1.105664
                  G03 X54.978847 Y22.814255 Z-0.125000 I-1.019962 J0.869964
                  G03 X55.149683 Y23.228183 Z-0.125000 I-5.791228 J2.632369
                  G03 X55.275917 Y23.612631 Z-0.125000 I-4.868337 J1.811474
                  G02 X55.407546 Y24.001962 Z-0.125000 I45.628782 J-15.209704
                  G02 X55.498720 Y24.262473 Z-0.125000 I20.519916 J-7.035405
                  G01 X55.740088 Y24.262473 Z-0.125000
                  G01 X54.551808 Y17.912589 Z-0.125000
                  G01 X43.225993 Y17.912589 Z-0.125000
                  G01 X43.225993 Y18.042555 Z-0.125000
                  G00 Z5.000000
                  
                  (End cutting path id: path4518)
                  
                  
                  (Start cutting path id: path4516)
                  (Change tool to Default tool)
                  
                  G00 Z5.000000
                  G00 X35.980838 Y21.607403
                  
                  G01 Z-0.125000 F100.0(Penetrate)
                  G01 X35.980838 Y25.190815 Z-0.125000 F400.000000
                  G01 X35.999408 Y27.233175 Z-0.125000
                  G03 X35.574593 Y26.748497 Z-0.125000 I52.703425 J-46.622391
                  G03 X34.773990 Y25.822090 Z-0.125000 I191.750900 J-166.520630
                  G02 X33.983162 Y24.922179 Z-0.125000 I-36.848082 J31.584152
                  G02 X32.917298 Y23.761165 Z-0.125000 I-62.405165 J56.220956
                  G02 X31.819666 Y22.649912 Z-0.125000 I-29.726417 J28.264352
                  G02 X30.726405 Y21.625970 Z-0.125000 I-26.328768 J27.015589
                  G01 X33.028700 Y21.607400 Z-0.125000
                  G01 X35.980838 Y21.607403 Z-0.125000
                  G00 Z5.000000
                  
                  (End cutting path id: path4516)
                  
                  
                  (Start cutting path id: path4516)
                  (Change tool to Default tool)
                  
                  G00 Z5.000000
                  G00 X40.399760 Y21.607403
                  
                  G01 Z-0.125000 F100.0(Penetrate)
                  G01 X42.590657 Y21.607403 Z-0.125000 F400.000000
                  G01 X42.590657 Y20.809024 Z-0.125000
                  G01 X40.399760 Y20.809024 Z-0.125000
                  G01 X40.399760 Y20.084915 Z-0.125000
                  G03 X40.407178 Y19.750985 Z-0.125000 I7.520648 J-0.000000
                  G03 X40.436895 Y19.249405 Z-0.125000 I17.002115 J0.755670
                  G03 X40.546108 Y18.791102 Z-0.125000 I1.970229 J0.227339
                  G03 X40.696833 Y18.543863 Z-0.125000 I0.702969 J0.258990
                  G03 X40.941182 Y18.384755 Z-0.125000 I0.600616 J0.655210
                  G03 X41.290973 Y18.283925 Z-0.125000 I0.555297 J1.269242
                  G03 X41.662590 Y18.250282 Z-0.125000 I1.978264 J19.782188
                  G03 X41.977950 Y18.228226 Z-0.125000 I1.153236 J14.223609
                  G02 X42.293361 Y18.222789 Z-0.125000 I0.000000 J-9.150730
                  G02 X42.516390 Y18.209656 Z-0.125000 I-0.158205 J-4.587139
                  G01 X42.516390 Y17.912583 Z-0.125000
                  G01 X33.715674 Y17.912583 Z-0.125000
                  G01 X33.715674 Y18.209656 Z-0.125000
                  G01 X34.198412 Y18.209656 Z-0.125000
                  G03 X34.458043 Y18.231591 Z-0.125000 I-0.716004 J10.022311
                  G03 X34.959656 Y18.283923 Z-0.125000 I-3.655306 J37.467340
                  G03 X35.448552 Y18.416918 Z-0.125000 I-0.290338 J2.032389
                  G03 X35.683768 Y18.580993 Z-0.125000 I-0.249659 J0.608548
                  G03 X35.843078 Y18.850674 Z-0.125000 I-0.547342 J0.505231
                  G03 X35.962270 Y19.416503 Z-0.125000 I-2.408402 J0.802798
                  G01 X35.999405 Y20.809021 Z-0.125000
                  G01 X29.723789 Y20.809021 Z-0.125000
                  G01 X29.723789 Y21.198928 Z-0.125000
                  G03 X31.120862 Y22.513291 Z-0.125000 I-26.402073 J29.463183
                  G03 X32.713060 Y24.151066 Z-0.125000 I-39.419679 J39.915522
                  G03 X34.252508 Y25.840106 Z-0.125000 I-70.593355 J65.887243
                  G03 X36.017970 Y27.864447 Z-0.125000 I-99.645628 J88.684620
                  G03 X37.748161 Y29.937732 Z-0.125000 I-142.627488 J120.783656
                  G03 X39.025809 Y31.522129 Z-0.125000 I-82.011066 J67.440569
                  G01 X40.399760 Y31.522129 Z-0.125000
                  G01 X40.399760 Y21.607403 Z-0.125000
                  G00 Z5.000000
                  
                  (End cutting path id: path4516)
                  
                  
                  (Start cutting path id: path4514)
                  (Change tool to Default tool)
                  
                  G00 Z5.000000
                  G00 X18.865337 Y24.225335
                  
                  G01 Z-0.125000 F100.0(Penetrate)
                  G01 X20.480658 Y31.559267 Z-0.125000 F400.000000
                  G01 X20.647760 Y31.559267 Z-0.125000
                  G03 X21.301879 Y31.370938 Z-0.125000 I4.220657 J13.429377
                  G03 X22.207381 Y31.150795 Z-0.125000 I6.684447 J25.522464
                  G03 X23.141733 Y31.001820 Z-0.125000 I1.740292 J7.910320
                  G03 X24.249741 Y30.946556 Z-0.125000 I1.108007 J11.079935
                  G03 X25.672326 Y31.009030 Z-0.125000 I0.000000 J16.228010
                  G03 X26.570605 Y31.150795 Z-0.125000 I-0.580218 J6.593308
                  G03 X27.163172 Y31.377624 Z-0.125000 I-16.345032 J43.587248
                  G03 X27.758887 Y31.614966 Z-0.125000 I-17.300215 J44.288718
                  G02 X27.874660 Y31.545070 Z-0.125000 I-0.000000 J-0.130829
                  G02 X27.944556 Y31.262194 Z-0.125000 I-0.537466 J-0.282876
                  G02 X27.858000 Y30.728811 Z-0.125000 I-1.686705 J0.000000
                  G02 X27.517517 Y29.981077 Z-0.125000 I-3.699295 J1.233098
                  G02 X27.036658 Y29.338516 Z-0.125000 I-2.958736 J1.712955
                  G02 X26.087865 Y28.477160 Z-0.125000 I-6.317281 J6.005326
                  G02 X24.999472 Y27.947358 Z-0.125000 I-1.799138 J2.313175
                  G02 X22.968624 Y27.697349 Z-0.125000 I-2.030848 J8.123382
                  G02 X22.023587 Y27.724483 Z-0.125000 I0.000000 J16.470844
                  G02 X21.353303 Y27.790183 Z-0.125000 I0.479583 J8.344780
                  G02 X20.698448 Y27.945130 Z-0.125000 I0.823870 J4.943211
                  G02 X20.090753 Y28.180087 Z-0.125000 I1.386162 J4.488536
                  G01 X19.496612 Y25.562154 Z-0.125000
                  G02 X20.420767 Y26.277720 Z-0.125000 I3.544856 J-3.623633
                  G02 X21.371870 Y26.694735 Z-0.125000 I2.068978 J-3.425688
                  G02 X22.425760 Y26.915093 Z-0.125000 I1.767117 J-5.821095
                  G02 X24.045505 Y27.010372 Z-0.125000 I1.619745 J-13.720196
                  G02 X26.002310 Y26.698984 Z-0.125000 I-0.000000 J-6.304103
                  G02 X27.684619 Y25.822090 Z-0.125000 I-1.793851 J-5.493667
                  G02 X28.853132 Y24.429454 Z-0.125000 I-2.426172 J-3.222266
                  G02 X29.262806 Y22.721416 Z-0.125000 I-3.355793 J-1.708038
                  G02 X28.719685 Y20.623608 Z-0.125000 I-4.322955 J0.000000
                  G02 X27.201879 Y19.008034 Z-0.125000 I-3.955337 J2.195212
                  G02 X25.055324 Y18.043352 Z-0.125000 I-4.247338 J6.580391
                  G02 X22.467318 Y17.689786 Z-0.125000 I-2.588006 J9.294965
                  G02 X20.516310 Y17.965951 Z-0.125000 I-0.000000 J7.029654
                  G02 X19.125274 Y18.655265 Z-0.125000 I1.211062 J4.192136
                  G02 X18.167632 Y19.798729 Z-0.125000 I2.094628 J2.726975
                  G02 X17.844157 Y21.124661 Z-0.125000 I2.555779 J1.325932
                  G02 X18.001470 Y21.835020 Z-0.125000 I1.682496 J0.000000
                  G02 X18.475432 Y22.480048 Z-0.125000 I1.845992 J-0.859776
                  G02 X19.163765 Y22.908353 Z-0.125000 I1.503460 J-1.648961
                  G02 X19.942218 Y23.055620 Z-0.125000 I0.778453 J-1.983804
                  G02 X20.910521 Y22.903307 Z-0.125000 I-0.000000 J-3.154065
                  G02 X21.668941 Y22.498615 Z-0.125000 I-0.744739 J-2.308701
                  G02 X22.184274 Y21.866063 Z-0.125000 I-1.061617 J-1.391084
                  G02 X22.374483 Y21.031827 Z-0.125000 I-1.734336 J-0.834236
                  G02 X22.212395 Y20.170622 Z-0.125000 I-2.368924 J0.000000
                  G02 X21.780342 Y19.509343 Z-0.125000 I-1.793062 J0.699732
                  G03 X21.254269 Y18.887006 Z-0.125000 I3.449199 J-3.449189
                  G03 X21.186201 Y18.673830 Z-0.125000 I0.299780 J-0.213176
                  G03 X21.278233 Y18.397734 Z-0.125000 I0.460159 J0.000000
                  G03 X21.576106 Y18.153956 Z-0.125000 I0.643932 J0.482949
                  G03 X21.992550 Y18.027396 Z-0.125000 I0.884662 J2.162523
                  G03 X22.393050 Y17.986856 Z-0.125000 I0.400500 J1.958017
                  G03 X23.573351 Y18.312863 Z-0.125000 I-0.000000 J2.299628
                  G03 X24.286875 Y19.119436 Z-0.125000 I-0.912880 J1.526457
                  G03 X24.642008 Y20.282923 Z-0.125000 I-4.628727 J2.048777
                  G03 X24.788181 Y21.941607 Z-0.125000 I-9.337783 J1.658684
                  G03 X24.614609 Y23.704630 Z-0.125000 I-9.040542 J0.000000
                  G03 X24.156906 Y25.116548 Z-0.125000 I-6.224224 J-1.237565
                  G03 X23.309525 Y26.128896 Z-0.125000 I-2.201031 J-0.981541
                  G03 X22.133113 Y26.490499 Z-0.125000 I-1.176411 J-1.732823
                  G03 X20.931989 Y26.297380 Z-0.125000 I0.000000 J-3.831820
                  G03 X20.220721 Y25.859224 Z-0.125000 I0.566382 J-1.715806
                  G03 X19.619208 Y25.205500 Z-0.125000 I7.557493 J-7.557497
                  G03 X19.403778 Y24.893745 Z-0.125000 I1.484653 J-1.256244
                  G03 X19.256083 Y24.552361 Z-0.125000 I3.008082 J-1.504041
                  G03 X19.143841 Y24.188203 Z-0.125000 I3.312064 J-1.220236
                  G01 X18.865337 Y24.225335 Z-0.125000
                  G00 Z5.000000
                  
                  (End cutting path id: path4514)
                  
                  
                  (Start cutting path id: path4512)
                  (Change tool to Default tool)
                  
                  G00 Z5.000000
                  G00 X14.904203 Y20.233452
                  
                  G01 Z-0.125000 F100.0(Penetrate)
                  G01 X14.941337 Y19.379374 Z-0.125000 F400.000000
                  G03 X15.057746 Y18.793506 Z-0.125000 I2.825055 J0.256823
                  G03 X15.201274 Y18.543863 Z-0.125000 I0.629513 J0.195849
                  G03 X15.445033 Y18.383087 Z-0.125000 I0.623587 J0.680268
                  G03 X15.776848 Y18.283925 Z-0.125000 I0.534255 J1.182988
                  G03 X16.129803 Y18.248805 Z-0.125000 I3.255779 J30.929087
                  G03 X16.370989 Y18.228226 Z-0.125000 I1.351946 J14.421104
                  G02 X16.630791 Y18.223896 Z-0.125000 I0.000000 J-7.796989
                  G02 X16.927996 Y18.209656 Z-0.125000 I-0.340681 J-10.218602
                  G01 X16.927996 Y17.912583 Z-0.125000
                  G01 X8.164415 Y17.912583 Z-0.125000
                  G01 X8.164415 Y18.209656 Z-0.125000
                  G01 X8.572887 Y18.209656 Z-0.125000
                  G03 X8.795484 Y18.230346 Z-0.125000 I-0.974770 J11.695148
                  G03 X9.296997 Y18.283923 Z-0.125000 I-6.094603 J59.423063
                  G03 X9.785893 Y18.416919 Z-0.125000 I-0.290337 J2.032380
                  G03 X10.021106 Y18.580993 Z-0.125000 I-0.249656 J0.608537
                  G03 X10.180418 Y18.850674 Z-0.125000 I-0.547335 J0.505231
                  G03 X10.299610 Y19.416503 Z-0.125000 I-2.408361 J0.802788
                  G01 X10.336743 Y20.270581 Z-0.125000
                  G01 X10.336743 Y28.997033 Z-0.125000
                  G01 X10.299610 Y29.851111 Z-0.125000
                  G03 X10.182971 Y30.400736 Z-0.125000 I-2.487771 J-0.240753
                  G03 X10.021106 Y30.686621 Z-0.125000 I-0.810657 J-0.270219
                  G03 X9.776926 Y30.897553 Z-0.125000 I-0.581679 J-0.426566
                  G03 X9.389831 Y31.020826 Z-0.125000 I-0.534986 J-1.010529
                  G03 X8.980496 Y31.066901 Z-0.125000 I-1.187543 J-8.708864
                  G03 X8.554320 Y31.095093 Z-0.125000 I-0.836645 J-9.412371
                  G02 X8.127360 Y31.133065 Z-0.125000 I9.469020 J108.890844
                  G02 X7.941612 Y31.150795 Z-0.125000 I1.875189 J20.626530
                  G01 X7.941612 Y31.447865 Z-0.125000
                  G01 X14.904203 Y31.447865 Z-0.125000
                  G01 X14.904203 Y20.233452 Z-0.125000
                  G00 Z5.000000
                  
                  (End cutting path id: path4512)
                  
                  
                  (Footer)
                  M5
                  G00 X0.0000 Y0.0000
                  M2
                  (Using default footer. To add your own footer create file "footer" in the output dir.)
                  (end)
                  %
                  
                  NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by
                  #54

                  @dbemowsk said in DIY CNC mill from mainly salvaged and 3D printed parts:

                  The way I am testing this is just using a terminal connection to the CNC and pasting the gcode into the terminal window. If there is a better way to test this let me know.

                  This may be your problem, or at least a contributing factor. Try using a gcode sender, such as ChiliPeppr, instead.

                  dbemowskD 1 Reply Last reply
                  0
                  • NeverDieN NeverDie

                    @dbemowsk said in DIY CNC mill from mainly salvaged and 3D printed parts:

                    The way I am testing this is just using a terminal connection to the CNC and pasting the gcode into the terminal window. If there is a better way to test this let me know.

                    This may be your problem, or at least a contributing factor. Try using a gcode sender, such as ChiliPeppr, instead.

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #55

                    @neverdie Thanks a million. I tried the online version of chilipeppr and it seem s to be working.

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    1 Reply Last reply
                    1
                    • dbemowskD Offline
                      dbemowskD Offline
                      dbemowsk
                      wrote on last edited by
                      #56

                      So I did a test run of an old style font carving my house number into a piece of wood. I created the gcode using Inkscape which is a popular vector graphics program. For a test run I think it went fairly well.
                      0_1521143564833_31bf19b1-9808-409b-acd4-2a11afab0107-image.png

                      I did a video of it carving. The spindle is spinning much faster than it looks like in the video. It has to do with the recording frame rate on my phone.
                      https://www.youtube.com/watch?v=S2wdsbMfSeM&t=46s

                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                        Looks like your spindle may have really bad runout.

                        dbemowskD 1 Reply Last reply
                        1
                        • NeverDieN NeverDie

                          Looks like your spindle may have really bad runout.

                          dbemowskD Offline
                          dbemowskD Offline
                          dbemowsk
                          wrote on last edited by
                          #58

                          @neverdie I don't think it's runout. If you look, a lot of the video is shaky. I think it is vibration from the V bit cutting into the wood. The tip of that bit may be bent a little which would cause vibration like that. I guess I'l find out when I try cutting a PCB. When I do one, I'll change to a new bit. I ordered a pack of 10. I have to see if I have any copper clad laying around.

                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                          1 Reply Last reply
                          0
                          • dbemowskD dbemowsk

                            Well, haven't posted to my thread in a while so I thought I'd give an update. I am close to having the Z axis complete. Below are some pictures of the spindle assembly as I have it right now.
                            0_1519629445785_0ea7bc4a-55ec-4531-b443-451772d05d2f-image.png
                            0_1519629461406_66672fd9-3a0b-4388-9f7f-db5060f3ce07-image.png
                            0_1519629494067_08d76f89-3b1b-4939-a8a0-f61498ff44c1-image.png

                            This is the next part in line to be printed is the Z axis motor mount and X axis carriage. Below is a pic of the design. I have it printing now and there is 11 hours to go in the print. The longest printed part so far.
                            0_1519630176063_73bcfa87-ab38-49bc-8fe6-bcb500aad10e-image.png

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

                            @dbemowsk As it turns out, I too will have to make something similar to:
                            alt text
                            in order to install my new brushless motor on the z-axis. What parts should I order to go inside the plastic? I mean, obviously two ball bearing something's and some kind of threaded nut or something. I'm just not sure exactly which something's I should get, if you know what I mean. Did you buy your something's, or were they junk-drawer parts that you had laying around?

                            The z-axis that came with the 2418 is just a unit that came pre-assembled. I'm not even sure how I will take it apart. I suppose I could maybe extract the parts that are in it and re-use them, but they're melted into the plastic, so if I do that, I'm burning my bridges back to the system as it currently is. It does work, so I'm reluctant to wreck it.

                            dbemowskD 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @dbemowsk As it turns out, I too will have to make something similar to:
                              alt text
                              in order to install my new brushless motor on the z-axis. What parts should I order to go inside the plastic? I mean, obviously two ball bearing something's and some kind of threaded nut or something. I'm just not sure exactly which something's I should get, if you know what I mean. Did you buy your something's, or were they junk-drawer parts that you had laying around?

                              The z-axis that came with the 2418 is just a unit that came pre-assembled. I'm not even sure how I will take it apart. I suppose I could maybe extract the parts that are in it and re-use them, but they're melted into the plastic, so if I do that, I'm burning my bridges back to the system as it currently is. It does work, so I'm reluctant to wreck it.

                              dbemowskD Offline
                              dbemowskD Offline
                              dbemowsk
                              wrote on last edited by
                              #60

                              @neverdie I wouldn't advise tearing apart your old one. As you mentioned, you could at least fall back to that if it came down to it. I am assuming that you are getting a different spindle motor?

                              To make that part I just used 3D printed linear bearings that the smooth rods slide into. For the threaded rod/lead screw, I used a threaded rod coupler nut like this one:
                              0_1521260695608_1d54e571-a58c-4005-a638-b606728de255-image.png
                              I just hollowed out the hex shape inside the plastic so that when it is tightened on it holds it snug. I designed the part in OpenSCAD. Because I was designing the part myself, I had free reign on the design.
                              0_1521261478663_1b390f58-9d2e-4b69-95bd-09c049fa30e7-image.png

                              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                              1 Reply Last reply
                              1
                              • dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #61

                                Sorry, meant to include a pic of the bearings. These fit into the outer recessed areas in the frame. I did it this way so I could change them if I had to.
                                0_1521262288843_954aaf5b-6b6e-469a-9348-602519750317-image.png

                                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                1 Reply Last reply
                                1
                                • dbemowskD Offline
                                  dbemowskD Offline
                                  dbemowsk
                                  wrote on last edited by dbemowsk
                                  #62

                                  So, I was doing some reading on how to use auto-leveling with GRBL and the CNC shield that I have. What I read was that for GRBL on an arduino, the probe needed to be connected to analog pin 5 and ground. For the shield that I have, this is the arduino pinout that I found on it:
                                  0_1521435650092_f82b44f4-2a5c-48a9-96cb-a14321d67052-image.png
                                  Turns out that A5 is not connected on my shield and is labeled (not used/reserved). Luckily, in my parts bin I had a couple arduino uno prototyping boards. So I made a board that stacks in between the CNC shield and the uno. Here is the board with the probe attached:
                                  0_1521437115736_80013433-c6f1-4cce-98ad-b9d217684319-image.png
                                  The probe wires are made from an old dupont header cable that was salvaged out of an old PC. I figured that fit right in with the theme of the project.

                                  And here is the stack.
                                  0_1521437202914_8e39b474-f716-4a8d-a821-f226f8e6cb9d-image.png
                                  I did a test and the probe seems to work. Tomorrow I will probably do a test mill of a small pcb to see how that works out.

                                  For a junk parts build, I am pretty happy with the way it is turning out.

                                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                  1 Reply Last reply
                                  1
                                  • dbemowskD Offline
                                    dbemowskD Offline
                                    dbemowsk
                                    wrote on last edited by
                                    #63

                                    So, turns out the shaft couplers that I got are kind of crappy and seem to come loose every so often. These are the ones that I got which have their set screws on opposite sides from each other:
                                    0_1522022918230_b47d57af-9aa1-4af0-8b2d-ea96a4936ec3-image.png

                                    I am looking to get some replacements, but am wondering which style would be best to get. There is this style which has set screws at 90 degrees to each other:
                                    0_1522023192845_17eea504-30d6-48b7-9dc8-0b9fb2b364f4-image.png

                                    There is this style which actually clamps around the shaft:
                                    0_1522023269708_edf18238-769d-4f01-a74c-6ca01d45738c-image.png

                                    Then there is this style that also is a clamp style which says that it is somewhat flexible. The thing with this style is that I don't know if it separates at the red part:
                                    0_1522023350226_60608f23-eada-4381-9571-1ba409e8ee84-image.png

                                    The shaft on my stepper is a D shaft, so I am wondering how well the clamp style ones will work, at least on the motor side. The lead screw is round, so that should be fine for the one clamp.

                                    Any thoughts?

                                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • dbemowskD dbemowsk

                                      So, turns out the shaft couplers that I got are kind of crappy and seem to come loose every so often. These are the ones that I got which have their set screws on opposite sides from each other:
                                      0_1522022918230_b47d57af-9aa1-4af0-8b2d-ea96a4936ec3-image.png

                                      I am looking to get some replacements, but am wondering which style would be best to get. There is this style which has set screws at 90 degrees to each other:
                                      0_1522023192845_17eea504-30d6-48b7-9dc8-0b9fb2b364f4-image.png

                                      There is this style which actually clamps around the shaft:
                                      0_1522023269708_edf18238-769d-4f01-a74c-6ca01d45738c-image.png

                                      Then there is this style that also is a clamp style which says that it is somewhat flexible. The thing with this style is that I don't know if it separates at the red part:
                                      0_1522023350226_60608f23-eada-4381-9571-1ba409e8ee84-image.png

                                      The shaft on my stepper is a D shaft, so I am wondering how well the clamp style ones will work, at least on the motor side. The lead screw is round, so that should be fine for the one clamp.

                                      Any thoughts?

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

                                      @dbemowsk My kit came with the same blue couplers, and they came loose too. However, loctite fixed the problem.

                                      dbemowskD 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @dbemowsk My kit came with the same blue couplers, and they came loose too. However, loctite fixed the problem.

                                        dbemowskD Offline
                                        dbemowskD Offline
                                        dbemowsk
                                        wrote on last edited by dbemowsk
                                        #65

                                        @neverdie I'm assuming you used loctite blue?

                                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                        NeverDieN 1 Reply Last reply
                                        0
                                        • dbemowskD dbemowsk

                                          @neverdie I'm assuming you used loctite blue?

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

                                          @dbemowsk Yes.

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


                                          9

                                          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