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

    Toolboard + NO NPN probe

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    33
    922
    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
      last edited by

      I have had a mishap with IR probe and need to replace it fast and only suitable I have is a inductive NO.

      Plan is to take 24V from incoming power to run this probe. Is the config lines OK?

      ; 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 Z0 S2 P"!121.io1.in" ;

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

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

        Realized that io1 on toolboard is only 3.3V tolerant so I changed to io0.

        But still no trigger from 'probe'. Must be something I am missing in config, pleas help.

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

          @tecno you can't map a pin twice. get rid of the M574 Z0 line

          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

            Morning, so it is OK with IR but not switch. Still learning 🙂

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