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

    Can I use an IR sensor as the X and Y endstop?

    Scheduled Pinned Locked Moved
    IR Height Sensor
    4
    6
    674
    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.
    • fhoundefined
      fho
      last edited by

      I noticed that could probably detect the edges of the build plate with the IR probe.
      It's mounted slightly to the right and behind the nozzle, so I would have to probe the +X and +Y edges, ie the high ends.

      The Reprap configurator has options to do this, but looking at the generated g-code it does not look like it would do anything different.

      Would I have to plug the sensors output into one of the endstop pins? That way I would lose the fractional speed reduction right?

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        The Ormerod printer uses the IR sensor not only as the Z probe but also as the X endstop. There is a tab mounted at the end of the X axis, which the sensor sees. The sensor must not be too close to the bed during homing, so that it doesn't respond to the bed, only to the tab.

        I hadn't considered the possibility of sensing the edges of the bed instead. The problem would be working out a sequence of moves that will succeed in homing regardless of the initial position. One possibility might be:

        1. With reduced motor current, move both X and Y a small amount in the negative direction, to ensure that the probe is over the bed. If X or Y is already at or close to the minimum stop, the reduced motor current will avoid damage.

        2. Home Z using the sensor.

        3. Drop the head a little, invert the trigger polarity in M558, then home X using the sensor to find the +X edge of the bed.

        4. Move back a little in X to place the sensor over the bed again, then home Y using the sensor.

        5. Move to bed centre, restore the original trigger polarity, and re-home Z.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • 57buickundefined
          57buick
          last edited by

          I was curious about this same thing but doing it in a little different way. Mounting the board horizontal in place of my switches. And then just mounting a small printed black block or something on the frame.
          I already have my config set to Y home before X home so it doesnt drag the switch for X.
          I know none of this is necessary per say I just enjoy custom building stuff. Do you think it would work well? Here are pictures of my current X and Y home switches
          Y-probe.jpg X-probe.jpg

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            i just came across this from the voron project

            https://de.aliexpress.com/item/1005001408751896.html

            not ir but hal for x and y

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              There are much simpler Hall effect endstops available, all you need is a 3-pin IC and a capacitor.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              57buickundefined 1 Reply Last reply Reply Quote 0
              • 57buickundefined
                57buick @dc42
                last edited by

                @dc42 said in Can I use an IR sensor as the X and Y endstop?:

                There are much simpler Hall effect endstops available, all you need is a 3-pin IC and a capacitor.

                Oh wow, I was not aware of using hall effect sensors for endstops I just googled it. lol That looks like a great way to go. I see a lot of them on amazon with led and resistor on board already. I dont wanna have to solder pc boards so i will try some of these pre made ones

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