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

    Toolboard + NO NPN probe

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    33
    967
    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.
    • tecnoundefined
      tecno @jay_s_uk
      last edited by

      @jay_s_uk

      Did get rid of the line.

      c578d116-a236-4a7b-b4ad-9e999796be07-image.png

      So what is wrong?

      ; Endstops
      M574 X1 S1 P"!121.io2.in" ; configure active-high endstop for low end on X via pin ^io3.in
      M574 Y1 S1 P"!io0.in" ; configure active-high endstop for low end on Y via pin ^io0.in
      ; M574 Z1 S1 P"^!121.io0.in" ;

      ; Z-Probe
      M558 C"^!121.io0.in" P5 H10 F120 T8000 ; F120
      G31 P50 X0 Y20 Z0 ;3.490
      M557 X5:340 Y25:400 P4:4 ; define mesh grid

      Greatful to get some help here.

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @tecno
        last edited by

        @tecno might be a good idea to post your whole config and an output of M98 P"config.g"

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        tecnoundefined 1 Reply Last reply Reply Quote 0
        • tecnoundefined
          tecno @jay_s_uk
          last edited by

          @jay_s_uk

          8e9065d0-5cc2-4436-b65e-351a4f672f50-image.png

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @tecno
            last edited by

            @tecno well there you go. use P8 and not P5

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            tecnoundefined 2 Replies Last reply Reply Quote 0
            • tecnoundefined
              tecno @jay_s_uk
              last edited by

              @jay_s_uk

              a61bae5c-9ac9-475e-a5c0-a73e2738dc4c-config.g

              Hard DIVE into the bed, led on probe lights up but no reaction to that

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @tecno
                last edited by

                @tecno maybe you don't need the pullup?
                best to check these things far away from the bed rather than relying on that as a last resort

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                tecnoundefined 1 Reply Last reply Reply Quote 0
                • tecnoundefined
                  tecno @jay_s_uk
                  last edited by

                  @jay_s_uk
                  M558 C"!121.io0.in" P8 H10 F120 T8000

                  With probe not triggered Prove value is 0 triggered is 0

                  If I set probe not inverted Probe value is 1000 triggered still 1000

                  No change whatever I try

                  jay_s_ukundefined infiniteloopundefined 2 Replies Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @tecno
                    last edited by

                    @tecno maybe you need a diode as detailed here https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_connecting#npn-output-normally-open-inductive-or-capacitive-sensor?
                    other than that, no idea

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • infiniteloopundefined
                      infiniteloop @tecno
                      last edited by

                      @tecno said in Toolboard + NO NPN probe:

                      With probe not triggered Prove value is 0 triggered is 0
                      If I set probe not inverted Probe value is 1000 triggered still 1000

                      Either you have no signal on the pin, or it is constantly tied to 3.3V by the probe. Check function of the probe stand-alone with a multimeter: What voltages do you read when the probe is triggered/untriggered?

                      A third possibility might be the port being defective, but first, check your probe signal.

                      tecnoundefined 1 Reply Last reply Reply Quote 0
                      • tecnoundefined
                        tecno @infiniteloop
                        last edited by

                        @infiniteloop

                        NPN and no 3.3V ! Vin as these need 6-30V

                        Vin non triggered = out Vin
                        Triggered = out under 0.6V

                        So probe is OK

                        Looks like the Tollboard is busted again 😞

                        infiniteloopundefined 1 Reply Last reply Reply Quote 0
                        • tecnoundefined
                          tecno @jay_s_uk
                          last edited by

                          @jay_s_uk said in Toolboard + NO NPN probe:

                          @tecno well there you go. use P8 and not P5

                          Select mode 5 (P5) in the M558 command. Invert the probe output From the manual you linked !

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @tecno
                            last edited by

                            @tecno https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations
                            only P8 and P9 can be used on CAN boards

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            tecnoundefined 1 Reply Last reply Reply Quote 0
                            • tecnoundefined
                              tecno @jay_s_uk
                              last edited by

                              @jay_s_uk

                              Doh... too many variables so confusing it is.

                              How can i check port that it is working? Short GND to INP or 5V?

                              Set it as P8 so I can see Probe value 0 or 1000

                              infiniteloopundefined 1 Reply Last reply Reply Quote 0
                              • infiniteloopundefined
                                infiniteloop @tecno
                                last edited by

                                @tecno said in Toolboard + NO NPN probe:

                                Vin non triggered = out Vin

                                Do I understand this right: The signal has 6-30V non-triggered?

                                tecnoundefined 1 Reply Last reply Reply Quote 0
                                • tecnoundefined
                                  tecno @infiniteloop
                                  last edited by

                                  @infiniteloop

                                  Yes

                                  infiniteloopundefined 1 Reply Last reply Reply Quote 0
                                  • infiniteloopundefined
                                    infiniteloop @tecno
                                    last edited by

                                    @tecno said in Toolboard + NO NPN probe:

                                    Yes

                                    Then you've fried the port. 😢

                                    tecnoundefined 1 Reply Last reply Reply Quote 0
                                    • tecnoundefined
                                      tecno @infiniteloop
                                      last edited by

                                      @infiniteloop

                                      That is what I suspect, not the first toolboard to go south on me.

                                      1 Reply Last reply Reply Quote 0
                                      • infiniteloopundefined
                                        infiniteloop @tecno
                                        last edited by

                                        @tecno said in Toolboard + NO NPN probe:

                                        How can i check port that it is working? Short GND to INP or 5V?

                                        Yes, you can short GND to INP. Does this trigger the endstop?

                                        tecnoundefined 1 Reply Last reply Reply Quote 0
                                        • tecnoundefined
                                          tecno @infiniteloop
                                          last edited by

                                          @infiniteloop said in Toolboard + NO NPN probe:

                                          @tecno said in Toolboard + NO NPN probe:

                                          How can i check port that it is working? Short GND to INP or 5V?

                                          Yes, you can short GND to INP. Does this trigger the endstop?

                                          not shorted = value is 0
                                          shorted = value is 1000

                                          So go figure what is wrong, I only have 1N4148 diode's at hand no BAT´s

                                          infiniteloopundefined dc42undefined 2 Replies Last reply Reply Quote 0
                                          • infiniteloopundefined
                                            infiniteloop @tecno
                                            last edited by

                                            @tecno said in Toolboard + NO NPN probe:

                                            not shorted = value is 0
                                            shorted = value is 1000

                                            That's good news, the board still works. Your test means that the probe doesn't pull down the signal strong enough to trigger. Try the diode - according to the documentation, this might work:

                                            The diode should preferably be a small-signal Schottky diode such as BAT43 or BAT85, but a small signal silicon diode such as 1N4148 works for some people.

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