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

    Mini IR height sensor Setup: Z-probe value at a "long" distance

    Scheduled Pinned Locked Moved
    IR Height Sensor
    3
    8
    1.1k
    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.
    • FelixHundefined
      FelixH
      last edited by

      Hi all,

      I'm setting up an IR probe I bought in Filafarm (Gemany). I followed the connection guide here:

      https://miscsolutions.wordpress.com/mini-height-sensor-board/

      The probe seems to be working. When it is triggered, a red LED lights up and the value on the web interface is 534. When I move the test surface a bit (a Ender 3 stock surface, like a Build Tack), there is a very narrow distance where the value is 462 (with yellow background).

      The problem is that when I move the test surface further away, the Z-probe value does not tend to zero, but it gets stuck at 1000 with a red background.

      According to the link above, a value of 1000 is due to too much IR, usually direct sunlight. I am working on my basement, with 3 LED bulb lights, none of which hits directly on the sensor (which is very well hidden, by the way) and the test surface, as I mentioned, is a textured black surface.

      I have the gut impression that the probe is ready to go, but I am wondering about this issue. I made sure all the connections are ok... (I mean, I can handle 3 wires). The modifications on config.h are as indicated on the above link as well.

      Any feedback is appreciated...

      FH

      1 Reply Last reply Reply Quote 0
      • DocTruckerundefined
        DocTrucker
        last edited by

        Please share the probe related bits of your config file?

        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

        FelixHundefined 1 Reply Last reply Reply Quote 0
        • FelixHundefined
          FelixH @DocTrucker
          last edited by FelixH

          @doctrucker said in Mini IR height sensor Setup: Z-probe value at a "long" distance:

          Please share the probe related bits of your config file?

          right, I knew I was forgetting something...

          ; Z-Probe
          M574 Z1 S2 ; Set endstops controlled by probe
          M558 P1 H5 I1 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
          G31 P500 X-46 Y9 Z0.345 ; Set Z probe trigger value, offset and trigger height
          M557 X50:250 Y45:265 S30 ; Define mesh grid

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

            Assuming the red LED is not lit when you get the 1000 reading, my best guess is that the crimp connection of the ground wire (centre pin on the IR sensor) is intermittent, so that when you raise the print head, the wire gets pulled a little and loses contact.

            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
            • FelixHundefined
              FelixH
              last edited by

              the LED is not lit when I get the 1000 reading. When you say gets pulled a little, do you mean physically the wire is being pulled or do you mean electronically pulled? Because I do not raise or drop the head, I just manually move a surface up and down. The head stays still...

              1 Reply Last reply Reply Quote 0
              • FelixHundefined
                FelixH
                last edited by

                UPDATE:

                Doing some deep research I found the following topic:

                https://forum.duet3d.com/topic/2684/z-axis-ir-probe-setup-issue/3

                where the OP had a similar problem. I changed the Z-probe gcode to the same as it was proposed:

                M574 X1 Y1 Z0 S1 ; Define active low and unused microswitches ;
                M558 P1 X0 Y0 Z1 H5 F300 T5000 ; enable differential IR sensor

                When the board is reinitialized, the sensor behaves as it should (0 "far" away and so on). However, when I tried to home the axes, the X and Y axis moved to the opposite side as usually. By trial an error, I changed the z-probe gcode to the following:

                M574 Z0 S1
                M558 P1 Z1 H5 F300 T5000

                on a first try the IR sensor homes also OK. I haven´t calibrated it yet.

                As the changes I did were trial and error I would really like a feedback on them, as I still don´t comprehend the Duet Gcode all that well. Have I missed something?

                Thanks in advance

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

                  What firmware version are you using? The M558 X Y and Z parameters have been ignored since many versions.

                  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

                  FelixHundefined 1 Reply Last reply Reply Quote 0
                  • FelixHundefined
                    FelixH @dc42
                    last edited by

                    @dc42 said in Mini IR height sensor Setup: Z-probe value at a "long" distance:

                    What firmware version are you using? The M558 X Y and Z parameters have been ignored since many versions.

                    0_1552662849753_Screenshot_2019-03-15 Tevo Tornado.png

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