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

    IR Z probe issues

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    17
    885
    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.
    • FailsafeJimundefined
      FailsafeJim
      last edited by

      Hello , I have a duet wifi and the mini IR sensor. My printer has been down since 1.9fw for rebuild . I finally got everything together and built and firmware updated I think maybe I having a issue.
      My z probe reading in the web gui is 320 inside a pink/red highlighted box. The led on IR sensor triggers when near the bed but the value of 320 never changes more than +/-10. Even if I unplug the z probe the reading is still 320 and pink/red.
      Any idea what's going on here? I was told theres a way to remap the input pin for the ir sensor. Please help, I am totally lost on this one. alt text

      1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators
        last edited by

        Can you post your config.g, and how the probe is wired? Also, what firmware version are you on now?

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        FailsafeJimundefined 1 Reply Last reply Reply Quote 0
        • FailsafeJimundefined
          FailsafeJim @droftarts
          last edited by

          @droftarts yep I'll have to do it when I get home , I should have done it to begin with.
          I'm on the latest stable 2.04

          1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators
            last edited by

            I'd expect that this is a wiring issue, probably that you've put the connector at the IR sensor end on the wrong way around, as it seems there is a constant voltage going to the Duet's 'probe in' pin. So check the wiring first. Useful quick links:
            Connecting mini IR probe: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Mini_differential_IR_sensor_by_dc42
            DC's IR probe page: https://miscsolutions.wordpress.com/mini-height-sensor-board/

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            FailsafeJimundefined 1 Reply Last reply Reply Quote 0
            • FailsafeJimundefined
              FailsafeJim @droftarts
              last edited by

              @droftarts it's not a wire issue I am 100% sure. I have traced the connection and its correct. Even when I unplug the connector it still reads 310 to 320. That's why I was wanting to remap the input .

              1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators
                last edited by

                Okay. Need to see the config.g next. Z probe section should be set up something like (this is mine):

                ; Z-Probe
                M574 Z1 S2                                 ; Set endstops controlled by probe
                M558 P1 H5 F120 T6000                      ; Set Z probe type to unmodulated and the dive height + speeds
                G31 P500 X20 Y0 Z1.25                      ; Set Z probe trigger value, offset and trigger height
                M557 X-85:85 Y-85:85 P5                    ; Define mesh grid
                

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                FailsafeJimundefined 2 Replies Last reply Reply Quote 0
                • FailsafeJimundefined
                  FailsafeJim @droftarts
                  last edited by

                  @droftarts do you know how to remap the input pin for the z probe?

                  1 Reply Last reply Reply Quote 0
                  • FailsafeJimundefined
                    FailsafeJim @droftarts
                    last edited by

                    @droftarts
                    Here is my probe gcode
                    alt text

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators
                      last edited by

                      Your probe settings are wrong. See M558 and G31 in the Gcode dictionary, and compare with mine.

                      For a start, you have two P values in M558 (P500 may be causing the issue with the constant reading in DWC), and the trigger value in G31 Is set to 10.

                      The probe value in DWC turns orange when close, then pink when triggered. Your G31 value of 10 means it is constantly triggered.

                      I’m not sure how to remap the probe pin, though I think it can be done. However, I don’t think that is the problem here.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      FailsafeJimundefined 2 Replies Last reply Reply Quote 0
                      • FailsafeJimundefined
                        FailsafeJim @droftarts
                        last edited by

                        @droftarts thank you for helping, the pink is gone but it's still reading 310 without anything plugged in. Im sorry for being a goober, I just got so frustrated after trying to get it updated. And I have forgotten everything in how to set these up.

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • FailsafeJimundefined
                          FailsafeJim @droftarts
                          last edited by

                          @droftarts is there anyway you can tell me if your printer z probe reading is zero when unplugged.

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

                            @FailsafeJim said in IR Z probe issues:

                            @droftarts thank you for helping, the pink is gone but it's still reading 310 without anything plugged in.

                            When the Z probe input is in analog mode, the input voltage floats and a reading in the 300 to 400 range is not unusual. So I expect the problem is a bad crimp connection or break in the cable to the IR sensor.

                            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

                            FailsafeJimundefined 1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @FailsafeJim
                              last edited by

                              @FailsafeJim said in IR Z probe issues:

                              @droftarts is there anyway you can tell me if your printer z probe reading is zero when unplugged.

                              Yes, if I disconnect the probe, it reads around 327. So as @dc42 suggests, to the Duet it looks like the probe is not connected, and most likely, it's a wiring/crimp problem. If you have a multimeter, check for continuity in the wiring loom between the probe and Duet. Does a red LED flash on power up? If not, look at the ground and power wire. It should flash 4 times at power on. If it also comes on when you put something under it (eg finger) to trigger the probe, it's the OUT (on probe)/Z_PROBE_IN (on Duet) wire.

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              FailsafeJimundefined 2 Replies Last reply Reply Quote 1
                              • FailsafeJimundefined
                                FailsafeJim @droftarts
                                last edited by

                                @droftarts ohhh boy I cant thank you enough, it's a bad IR sensor , I ran a new set of wires from the sensor to control board and it's still not seeing a input. Thank you for taking the time to help. I was about to purchase a new duet lol. I had already purchased a mini ir board just in case. I'll have one friday.
                                Thanks again.

                                1 Reply Last reply Reply Quote 0
                                • FailsafeJimundefined
                                  FailsafeJim @dc42
                                  last edited by

                                  @dc42 thanks again for the help, sorry for starting two threads, I was lead down a rabbit hole on facebook forum about remapping I/O. I waisted so much time on this , thanks again.

                                  1 Reply Last reply Reply Quote 0
                                  • FailsafeJimundefined
                                    FailsafeJim @droftarts
                                    last edited by

                                    @droftarts the red led flashes 4 times on start up and the red led triggers when near bed. Just thought I would let you know . Thanks again for helping me solve this , it was driving me bananas.

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

                                      @FailsafeJim said in IR Z probe issues:

                                      @droftarts the red led flashes 4 times on start up and the red led triggers when near bed. Just thought I would let you know . Thanks again for helping me solve this , it was driving me bananas.

                                      Strange that the red led is behaving correctly but there is no output from the sensor. Can you provide close-up photos of both sides of the sensor? If using a smartphone camera, pull the camera away from sensor until the focus is sharp, then use the digital zoom to reduce the frame to be not too much larger than the sensor.

                                      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
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA