Duet3D Logo

    Duet3D

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

    endstop to kill print

    Duet Hardware and wiring
    4
    10
    357
    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.
    • deltajegga
      deltajegga last edited by

      how would i use a spare endstop to trigger the printer to turn all motors and heaters off? i have a water flow sensor to monitor the hotend in case the pump fails, i read the one thread about using a 555 timer as a missing pulse detector, but there a two or three ways of making one and im not very good with circuitry. so i had a friend make an arduino code that converts the pwm from a hall sensor to high or low output. so can i send that on or off output to and endstop to kill a print?

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

        if you connect PIN 44 on the expansion header to ground, you will trigger an emergency reset. This will turn everything off.

        An example for this with mechanical buttons is up on the wiki: https://duet3d.dozuki.com/Wiki/Using_M581_-_External_Triggers_and_Building_a_Control_Panel but instead of a push button you could of course use some kind of sensor that closes the circuit.

        <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • deltajegga
            deltajegga last edited by

            if im reading this right i could put this code in my config
            M581 E1 S1 T0 C0
            and connect the sensor output to endstop E1 right?

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

              That should work

              <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

              1 Reply Last reply Reply Quote 1
              • deltajegga
                deltajegga last edited by

                can the endstop input take 5v? or do i need a step down converter?

                dragonn 1 Reply Last reply Reply Quote 0
                • A Former User
                  A Former User last edited by

                  which board?

                  https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches

                  If you are using either the Duet 2 Maestro or hardware version 1.04 of the Duet 2 WiFi/Ethernet, these boards can tolerate 5V on the endstop inputs.

                  1 Reply Last reply Reply Quote 0
                  • dragonn
                    dragonn @deltajegga last edited by

                    @deltajegga said in endstop to kill print:

                    can the endstop input take 5v? or do i need a step down converter?

                    You can not use a step down converter for such task.
                    They take to much to power up and will draw to much current from the endstop.
                    You can use a voltage divider or some diodes to drop-down the voltage

                    1 Reply Last reply Reply Quote 1
                    • deltajegga
                      deltajegga last edited by

                      good news!! it totally works perfectly. i just used a few diodes to drop the voltage. should i make a post somewhere explaining how to make a water flow sensor auto kill?

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

                        Yes, please add it to the wiki.

                        <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

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