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

    Mini height sensor Having Problems

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    11
    2.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.
    • jnolan72undefined
      jnolan72
      last edited by

      I have Mini differential IR sensor by dc42
      FIrst Problem (Fixed)on power up is flashes 2 time not 4.
      I move Z Probe In to Z Probe_Mod and set M558 P1
      Got 4 flashes

      Does not matter if Z probe or Z Probe_mod is wired

      Now I
      M558 P1 and G31 P500 Z1.0
      and P2 and P3
      It only shows 468 no matter what the height is Z

      The Red Light goes on at the correct height

      My Bed is a Black aluminum Heat bed with Glass on top, using glue stick on top of that

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

        M558 P1 is correct. Can you post a photo showing the connections you have made at both ends of the cable?

        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
        • jnolan72undefined
          jnolan72
          last edited by

          Sensor Wiring
          Out GND VCC
          White Black Brown

          Wire to Wire Connector
          From
          White Black Brown
          To
          White Black Red

          To the Duet Wifi

          Z Probe IN GND Z_Probe_MOD +3.3V
          White Black Red

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

            Your connections look correct to me. Please check the displayed readings again. You should get a reading near zero when there is no surface near the sensor, about 465 when there is a surface close but the LED is not on, and a value around 535 when the red LED is on. If you are seeing 468 all the time, then either the web interface is not updating or there is a bad connection somewhere in the white wire.

            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
            • jnolan72undefined
              jnolan72
              last edited by

              Found 1 problem my Z Probe IN Wire that was reading several M OHM's (Replaced)

              The wire itself was the problem not the connector.

              Thanks

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

                You should get 4 flashes using M558 P1, or 2 flashes if you use M558 P5.

                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
                • jnolan72undefined
                  jnolan72
                  last edited by

                  Ok I think I have this figured out
                  I was trying the command by sending gcode through the web not in the config.g

                  Once I put the commands in config.g
                  On reboot I got 4 flashes and it looks like it is working.
                  I will be testing more tomorrow after I remount and rewire it back in place

                  This bring up a few question
                  1. on boot up does the sensor output become a input to read the config from the duetwifi in the first 4 seconds?
                  2. Is this only done at bootup or can this be triggered at any time?
                  3. Does the sensor use all 6 Z probe modes?
                  4. What does each flash mean 1,2,3,4,?
                  5. Is there a place I can read these details

                  Thanks

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

                    1. Yes, it looks to see if there is a pullup resistor on that pin.
                    2. Only at boot time
                    3. It is intended for use in mode 1. You could use it in mode 5, then you should get 2 flashes.
                    4. 2 flashes mean it's detected a pullup resistor and started in digital mode, 4 flashes means no pullup resistor detected and it is in analog mode. After that, rapid flashing means the phototransistor is saturated e.g. due to bright sunlight reflecting off the bed into the sensor.
                    5. https://miscsolutions.wordpress.com/mini-height-sensor-board/

                    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
                    • Merlinundefined
                      Merlin
                      last edited by

                      Duet Wifi v1.0 with 1.81 firmware; T3P3 hot end printed part with brass inserts , version for All Metal effector.
                      dc42 IR Sensor , new version with surface IR emitters and detector. 24V psu
                      E3D V6 hot end with new heater block for cartridge thermister and silicone sock.
                      T3P3 glass bed with black paper.

                      Sensor flashes 4 times on power up , and reads 537 when white paper triggers red light.
                      Using feeler gauges the height between bottom edge of IR sensor board and the hot end nozzle tip is about 2.4mm
                      The problem is that with no white and in a darkened room, after calibrating G92 Z0 to cartridge paper thickness =-
                      the Z probe reading stays at 465 and never triggers the sensor fully so nozzle end hits glass bed!
                      Does this simply mean the trigger height is less then 2.4mm?
                      With this hardware configuration I cannot see any easy way to reduce the distance between ir sensor and nozzle tip.
                      Anyone any ideas?

                      1 Reply Last reply Reply Quote 0
                      • Merlinundefined
                        Merlin
                        last edited by

                        I have a workaround.
                        I took 0.8mm off the unthreaded end of the heat break.
                        now the IR sensor fires at z=0.35mm, so before the nozzle hits the bed glass

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

                          I'm glad you fixed it. The fitting instructions for the IR sensor suggest that you aim to have the bottom of the board 1.5mm higher than the tip of the nozzle.

                          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