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

3+ Limit Switch Filament Run Out Detection

Scheduled Pinned Locked Moved Unsolved
Tuning and tweaking
2
6
531
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
    Red Sand Robot
    last edited by 19 May 2019, 03:57

    Hello all, I am planning on using multiple limit switches as filament run out detection for multiple tools. However, according to the documentation, the endstop connections on the DueX cannot be used for this purpose.

    On Duet electronics: 0=X endstop input, 1=Y endstop input, 2=Z endstop input, 3=E0 endstop input etc. If you have a Duex 2 or Duex 5 in your system, note that C5 thru C9 (the endstop inputs on the DueX) cannot be used for filament monitors, but C10 and C11 (the endstop inputs on the CONN_LCD connector) can.

    https://duet3d.dozuki.com/Wiki/Gcode#Section_M591_Configure_filament_sensing

    Does this mean I would need to reassign the end stop inputs on the Duet main board for filament detection, and then assign the endstop inputs on the DueX for my X, Y, and Z axes?

    almost an engineer

    undefined 1 Reply Last reply 25 May 2019, 15:11 Reply Quote 0
    • undefined
      Red Sand Robot
      last edited by 19 May 2019, 05:59

      Also, on a side note, would it be possible to wire an LED in series with an appropriately sized resistor and either the NC or NO contacts of the limit switch so that if the filament runs out and the switch opens an LED would turn on or off? I'm not sure of the limit on current output of the endstop pins on either the DueX or Duet 2, and would like to know if this would be feasible.

      almost an engineer

      1 Reply Last reply Reply Quote 0
      • undefined
        Red Sand Robot
        last edited by 20 May 2019, 14:50

        @dc42 Would you have any info for me regarding my two questions? Thanks in advance!

        almost an engineer

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators @Red Sand Robot
          last edited by dc42 25 May 2019, 15:11

          @red-sand-robot said in 3+ Limit Switch Filament Run Out Detection:

          Hello all, I am planning on using multiple limit switches as filament run out detection for multiple tools. However, according to the documentation, the endstop connections on the DueX cannot be used for this purpose.

          On Duet electronics: 0=X endstop input, 1=Y endstop input, 2=Z endstop input, 3=E0 endstop input etc. If you have a Duex 2 or Duex 5 in your system, note that C5 thru C9 (the endstop inputs on the DueX) cannot be used for filament monitors, but C10 and C11 (the endstop inputs on the CONN_LCD connector) can.

          https://duet3d.dozuki.com/Wiki/Gcode#Section_M591_Configure_filament_sensing

          Does this mean I would need to reassign the end stop inputs on the Duet main board for filament detection, and then assign the endstop inputs on the DueX for my X, Y, and Z axes?

          I think simple switch-type filament sensors should work even if connected to the endstop inputs on the DueX. Duet3D and pulse-type filament monitors won't work on those inputs, because the latency is too high.

          So if you are using Duet3D or pulse-type filament monitors, with RepRapFirmware 2.x on a printer with no additional axes, you are limited to 4 of them if you use a Z endstop switch for Z homing, or 5 of them if you use a Z probe for Z homing (because then the Z endstop input is free for a filament monitor). If you use stall detection instead of X and Y endstop switches, you can get 2 more.

          With RepRapFirmware 3 you can re-assign the XYZ endstop switches to inputs on the Due X, which allows you to use up to 7 filament monitors.

          HTH David

          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

          undefined 1 Reply Last reply 25 May 2019, 16:17 Reply Quote 0
          • undefined
            Red Sand Robot @dc42
            last edited by 25 May 2019, 16:17

            @dc42 Awesome, thank you! As for my additional question, do you think an LED wired in series with the switch (so it would turn on/off in the case of the switch being released) be too much for the endstop pins?

            Or is that something I would need to get off of the datasheet for the board?

            almost an engineer

            undefined 1 Reply Last reply 25 May 2019, 17:44 Reply Quote 0
            • undefined
              dc42 administrators @Red Sand Robot
              last edited by 25 May 2019, 17:44

              @red-sand-robot said in 3+ Limit Switch Filament Run Out Detection:

              As for my additional question, do you think an LED wired in series with the switch (so it would turn on/off in the case of the switch being released) be too much for the endstop pins?

              An LED wired in series with a filament monitor switch wouldn't work. An LED + series resistor wired between the +3.3V pin and the STP pin of the endstop connector would work - they would be in parallel with the ones on the Duet.

              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
              4 out of 6
              • First post
                4/6
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA