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

    Simple filament runout sensor with endstop switch

    Scheduled Pinned Locked Moved
    General Discussion
    3
    12
    1.1k
    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.
    • BearcatTDundefined
      BearcatTD
      last edited by

      I'm trying to make a simple filament runout sensor with an endstop switch. I have looked at this: https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_filament-out_sensors#Section_Firmware_1_18_and_earlier

      I'm just not sure where to plug it in to the board. I'm hoping to just extend a spare endstop cable I have laying around. I'm running a Duet2 Wifi on my Ender3.

      Thanks much!

      Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

      Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

        That's correct, you'd use a spare endstop. Probably E0 or E1.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • BearcatTDundefined
          BearcatTD
          last edited by BearcatTD

          I am plugging it into the E1 endstop. So I just extended the stock endstop cable, but I realized that one end is a 3 pin, that connects to the switch, (2 wires, in the outside pins) and the other is a 2 pin that goes to the board. The E1 endstop on the Duet is 2 pins. I am assuming I have to "cheat" to one side of the Duet plug, just not sure which side.

          This is the code I'm using:

          M591 P2 C"e1_stop" S1 ; filament monitor connected to E1_stop

          Hopefully this makes sense! Thanks!

          EDIT: I re wired the endstop plugs and matched the signal and ground on both ends. Still nothing. Pretty sure at this point it is the Config.g code.

          Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

          Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

            What firmware version are you using?

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • BearcatTDundefined
              BearcatTD
              last edited by

              I am running 2.04

              Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

              Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

                @BearcatTD said in Simple filament runout sensor with endstop switch:

                M591 P2 C"e1_stop" S1

                So that syntax is for RRF3.

                For RRF2, you'd use M591 D0 P2 C4 S1 ; That's Drive 0, simple sensor with low signal, on endstop E1, and enable filament monitoring.

                Z-Bot CoreXY Build | Thingiverse Profile

                BearcatTDundefined 1 Reply Last reply Reply Quote 0
                • BearcatTDundefined
                  BearcatTD @Phaedrux
                  last edited by

                  @Phaedrux

                  So, assuming I wired the cable correctly and plug it into the board correctly, I just edit config.g file to include M591 D0 P2 C4 S1 and it should be good to go. My last question...LOL, who am I kidding, it won't be my last question, when the switch triggers, i.e., it runs out of filament, what exactly happens? Will it automatically put the machine into pause so the filament can be changed?

                  Thanks!

                  Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

                  Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

                    @BearcatTD said in Simple filament runout sensor with endstop switch:

                    My last question...LOL, who am I kidding, it won't be my last question, when the switch triggers, i.e., it runs out of filament, what exactly happens? Will it automatically put the machine into pause so the filament can be changed?

                    Yes, but only if it happens while printing from SD card.

                    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
                    • BearcatTDundefined
                      BearcatTD
                      last edited by

                      I'm confused. When I upload a file through the web interface, doesn't it reside on the SD card?

                      Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

                      Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

                        Yes, normally you'd be printing from SD card. The alternative would be using a USB connection to software that is streaming the gcode commands that way.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        BearcatTDundefined 1 Reply Last reply Reply Quote 0
                        • BearcatTDundefined
                          BearcatTD @Phaedrux
                          last edited by

                          @Phaedrux Good! The only time I connect via usb is for setting up wifi!

                          Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

                          Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

                          1 Reply Last reply Reply Quote 0
                          • BearcatTDundefined
                            BearcatTD
                            last edited by

                            It is working great! Thanks for the help!

                            Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

                            Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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