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

    Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    8
    377
    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.
    • dieguitoundefined
      dieguito
      last edited by

      Hello,

      I need to wire an alarm to a drive to the Duet WiFi. Which would be the best pins to connect the alarm to and should I use a sourcing or sinking output?

      Thanks in advance!

      36bff043-79ad-488a-8b8b-3a76e5b8196c-image.png

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

        Use a sinking output.

        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

        dieguitoundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @dieguito
          last edited by

          @dieguito said in Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi:

          Which would be the best pins to connect the alarm to

          If you have a free endstop you can use that (along with a trigger macro to take an action when the pin changes state).

          www.duet3d.com

          CNCModellerundefined 1 Reply Last reply Reply Quote 0
          • dieguitoundefined
            dieguito @dc42
            last edited by

            @dc42 can ALM connect to ENC_A in the CONN_LCD header? What does COM0 connect to?

            dc42undefined 1 Reply Last reply Reply Quote 0
            • CNCModellerundefined
              CNCModeller @T3P3Tony
              last edited by

              @t3p3tony said in Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi:

              @dieguito said in Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi:

              Which would be the best pins to connect the alarm to

              If you have a free endstop you can use that (along with a trigger macro to take an action when the pin changes state).

              So I'm fitting a household fire alarm and solenoid activated co2 fire extinguisher to my large printer once I've built the enclosure. That is assuming I don't get random alarms from just the print fumes.

              Should I / can I use an endstop input and a macro to trigger a shutdown equivalent to power failure, before disconnecting the mains power?

              Any constructive thoughts would be great.

              Cheers
              Barry M

              Polar Duet3 Mini + 1HCL
              https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
              Wanhao D4S: Duet2
              https://forum.duet3d.com/post/296755
              K40 Laser, Duet2
              https://forum.duet3d.com/post/312082
              Wanhao D5S
              https://www.youtube.com/CNCModellerUK

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @CNCModeller
                last edited by

                @cncmodeller said in Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi:

                a shutdown equivalent to power failure, before disconnecting the mains power?

                Do you mean to save the position for power loss recovery? Simply using the pause command should allow for the same data to be saved.

                Z-Bot CoreXY Build | Thingiverse Profile

                CNCModellerundefined 1 Reply Last reply Reply Quote 0
                • CNCModellerundefined
                  CNCModeller @Phaedrux
                  last edited by

                  Thanks @phaedrux

                  Polar Duet3 Mini + 1HCL
                  https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                  Wanhao D4S: Duet2
                  https://forum.duet3d.com/post/296755
                  K40 Laser, Duet2
                  https://forum.duet3d.com/post/312082
                  Wanhao D5S
                  https://www.youtube.com/CNCModellerUK

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

                    @dieguito said in Sinking vs Sourcing Alarm Output Pin Connection to Duet WiFi:

                    @dc42 can ALM connect to ENC_A in the CONN_LCD header? What does COM0 connect to?

                    The CONN_LCD pins have no input protection at all, so I don't recommend a direct connection. A simple and safe alternative would be to use an opto isolator and a couple of resistors.

                    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