Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved ^Mini5+ External trigger dont work

    Duet Hardware and wiring
    3
    9
    118
    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.
    • Barracuda72
      Barracuda72 last edited by

      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?

      fcwilt 1 Reply Last reply Reply Quote 0
      • fcwilt
        fcwilt @Barracuda72 last edited by fcwilt

        @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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

        1 Reply Last reply Reply Quote 0
        • Gixxerfast
          Gixxerfast last edited by Gixxerfast

          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

          fcwilt 1 Reply Last reply Reply Quote 1
          • fcwilt
            fcwilt @Gixxerfast last edited by

            @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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

            Barracuda72 1 Reply Last reply Reply Quote 0
            • Barracuda72
              Barracuda72 @fcwilt last edited by

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

              Gixxerfast fcwilt 2 Replies Last reply Reply Quote 0
              • Gixxerfast
                Gixxerfast @Barracuda72 last edited by

                @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
                • fcwilt
                  fcwilt @Barracuda72 last edited by

                  @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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

                  Barracuda72 1 Reply Last reply Reply Quote 0
                  • Barracuda72
                    Barracuda72 @fcwilt last edited by

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

                    fcwilt 1 Reply Last reply Reply Quote 1
                    • fcwilt
                      fcwilt @Barracuda72 last edited by

                      @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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

                      1 Reply Last reply Reply Quote 0
                      • Topic has been marked as a question  dc42 dc42 
                      • Topic has been marked as solved  dc42 dc42 
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA