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

endstop to kill print

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
10
603
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
    deltajegga
    last edited by 24 Jul 2019, 23:10

    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
    • undefined
      oliof
      last edited by 24 Jul 2019, 23:19

      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.

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      1 Reply Last reply Reply Quote 0
      • undefined
        deltajegga
        last edited by 25 Jul 2019, 00:01

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • undefined
          deltajegga
          last edited by 25 Jul 2019, 00:12

          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
          • undefined
            oliof
            last edited by 25 Jul 2019, 12:51

            That should work

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            1 Reply Last reply Reply Quote 1
            • undefined
              deltajegga
              last edited by 5 Aug 2019, 06:37

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

              undefined 1 Reply Last reply 5 Aug 2019, 07:56 Reply Quote 0
              • ?
                A Former User
                last edited by 5 Aug 2019, 07:15

                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
                • undefined
                  dragonn @deltajegga
                  last edited by 5 Aug 2019, 07:56

                  @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
                  • undefined
                    deltajegga
                    last edited by 6 Aug 2019, 03:40

                    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
                    • undefined
                      oliof
                      last edited by 6 Aug 2019, 19:44

                      Yes, please add it to the wiki.

                      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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