Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    auto calibrating X Y steps per mm

    Scheduled Pinned Locked Moved
    CNC
    3
    4
    251
    Loading More Posts
    • 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.
    • Jenglandundefined
      Jengland
      last edited by

      I'm trying to set up an autocalibration routine for my CNC that runs on startup and was thinking it would be possible to drive a tool into an axes probe in a known location and save that as a tool offset then drive it into a second probe of a known distance to probe X and calculate the sterps/mm from that. does anyone believe this to be possible

      fcwiltundefined HebigTundefined 2 Replies Last reply Reply Quote 1
      • fcwiltundefined
        fcwilt @Jengland
        last edited by

        @jengland said in auto calibrating X Y steps per mm:

        I'm trying to set up an autocalibration routine for my CNC that runs on startup and was thinking it would be possible to drive a tool into an axes probe in a known location and save that as a tool offset then drive it into a second probe of a known distance to probe X and calculate the sterps/mm from that. does anyone believe this to be possible

        Why would you want to do that?

        Is the steps/mm going to be changing because of some different hardware being swapped in and out?

        Normally you can calculate what the steps/mm should be.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        Jenglandundefined 1 Reply Last reply Reply Quote 1
        • Jenglandundefined
          Jengland @fcwilt
          last edited by

          @fcwilt because I run an open-source project for a 3d printed CNC and creep issues can be a problem causing different steps/mm a few weeks after first building. it also helps new builders at the end of the day set it up as it can be done with the click of a button rather than by themselves.

          1 Reply Last reply Reply Quote 0
          • HebigTundefined
            HebigT @Jengland
            last edited by HebigT

            @jengland My guess is you'll need some kind of unchanging reference of a known length. For instance, two switches 'exactly' 500mm apart, and initally measured by some other means. You can then drive the carriage (or tool or, other part of the machine) into one switch, pull the current position from the object model and store it as a variable, do the same for the other switch and then compare the difference in position to your reference. If it differs by some amount, update the Steps/mm for that axis automatically.

            Microswitches are cheap but might not be suitable because of their repeatability error. Maybe you'd want to create a switch using two conductive points, like some cncs use for tool offsets:

            https://shop.carbide3d.com/collections/accessories/products/bitzero-v2?variant=32936948236349

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA