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

^Mini5+ External trigger dont work

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
3
9
329
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.
  • undefined
    Barracuda72
    last edited by 23 Feb 2022, 15:05

    I have a Voron V2.4 with Duet Boards. As i use the LED screen i miss the "emergency stop" button from the DWC and if something went wron, it takes too long to do it via the LED screen. So i want a physical Push button in the skirt to do the same.
    I took a NO push button with some nice red LED light. Took the 24V for the LED direct from PSU.
    i used the io5 port on the board
    Io5.in
    +3.3V
    measured the 3.3V at the push botton and 3.3V if i press the button
    in my config i wrote the following:
    M950 J1 C"Io5.in" ; create Input Pin 1 on pin Io5.in
    M581 P1 T0 ; use Pin 1 and cause Trigger 0 ( M122)

    but nothing happens...so wheres my mistake? is 3.3v from io5 not enough?

    undefined 1 Reply Last reply 23 Feb 2022, 15:23 Reply Quote 0
    • undefined
      fcwilt @Barracuda72
      last edited by fcwilt 23 Feb 2022, 15:23

      @barracuda72

      The documentation for M581 is confusing.

      In one place it says the default for the S parameter (which you don't have) is S1, trigger on active-to-inactive.

      In another place it says the default is -1, ignore input.

      So try S0 or S1 and see if that makes a difference.

      Frederick

      P.S.

      As pointed out by @Gixxerfast the switch should be connected from the input to ground, not to 3.3.

      Also if possible you should use a NC switch and configure the trigger with S0.

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      1 Reply Last reply Reply Quote 0
      • undefined
        Gixxerfast
        last edited by Gixxerfast 23 Feb 2022, 15:36

        As I wrote elsewhere, I think his problem is that he has a NO switch connected to 3.3V so when not pressed down it leaves the pin "floating" which is then pulled high. So it's already at 3.3V when the button is pressed so no signal change can be detected.

        I feels like a reasonable explanation AFAIK.

        The solution could then be to change to switch ground to the io pin and use the S0 parameter instead, not that I've tried it. 🙂

        Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
        Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
        Ender 3 Pro with BTT SKR-2 + RRF

        undefined 1 Reply Last reply 23 Feb 2022, 15:46 Reply Quote 1
        • undefined
          fcwilt @Gixxerfast
          last edited by 23 Feb 2022, 15:46

          @gixxerfast said in ^Mini5+ External trigger dont work:

          As I wrote elsewhere, I think his problem is that he has a NO switch connected to 3.3V so when not pressed down it leaves the pin "floating" which is then pulled high. So it's already at 3.3V when the button is pressed so no signal change can be detected.

          I feels like a reasonable explanation AFAIK.

          The solution could then be to change to switch ground to the io pin and use the S0 parameter instead, not that I've tried it. 🙂

          You are correct. I missed the fact that it was wired between the input and 3.3.

          NC are preferred because they keep the input shorted to ground (when connected correctly) reducing the chance of picking up noise.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 23 Feb 2022, 16:39 Reply Quote 0
          • undefined
            Barracuda72 @fcwilt
            last edited by 23 Feb 2022, 16:39

            @fcwilt i can use the button as NC switch too..guess i have to invert the pin in the M950, right?

            undefined undefined 2 Replies Last reply 23 Feb 2022, 16:41 Reply Quote 0
            • undefined
              Gixxerfast @Barracuda72
              last edited by 23 Feb 2022, 16:41

              @barracuda72
              Connect it NC gnd to pin and you shouldn't have to change anything

              Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
              Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
              Ender 3 Pro with BTT SKR-2 + RRF

              1 Reply Last reply Reply Quote 0
              • undefined
                fcwilt @Barracuda72
                last edited by 23 Feb 2022, 18:30

                @barracuda72 said in ^Mini5+ External trigger dont work:

                @fcwilt i can use the button as NC switch too..guess i have to invert the pin in the M950, right?

                No. But the S parameter to M581 would determine if the trigger runs when the switch is pressed or when it is released.

                S0 should work fine.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                undefined 1 Reply Last reply 23 Feb 2022, 18:35 Reply Quote 0
                • undefined
                  Barracuda72 @fcwilt
                  last edited by 23 Feb 2022, 18:35

                  @fcwilt button as NC and S0 worked....great..just feel better with a "emergency stop" button that i can press without DWC

                  undefined 1 Reply Last reply 23 Feb 2022, 18:40 Reply Quote 1
                  • undefined
                    fcwilt @Barracuda72
                    last edited by 23 Feb 2022, 18:40

                    @barracuda72 said in ^Mini5+ External trigger dont work:

                    @fcwilt button as NC and S0 worked....great..just feel better with a "emergency stop" button that i can press without DWC

                    You are not alone - I equip all my printers with large estop buttons.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    1 Reply Last reply Reply Quote 0
                    • undefined dc42 marked this topic as a question 24 Feb 2022, 08:09
                    • undefined dc42 has marked this topic as solved 24 Feb 2022, 08:09
                    3 out of 9
                    • First post
                      3/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA