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

    Mag Filament sensor - config clarification.

    Scheduled Pinned Locked Moved
    Filament Monitor
    4
    21
    925
    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.
    • Garfieldundefined
      Garfield
      last edited by Garfield

      Guess I need to experiment - if you connect the switch to the filament sensor I don't see the point wasting an input on the Duet itself - better to use something virtual if absolutely necessary but not consuming physical IO that you don't physically connect to - that's just plain nuts.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Garfield
        last edited by

        @Garfield I don't understand what you are concerned about! You connect the filament runout microswitch (eg something like https://www.thingiverse.com/thing:4100594 if you're unfamiliar with the concept) to the SW pins on the magnetic filament sensor. The magnetic filament sensor sends the microswitch output, along with it's own, to the Duet on the pin it's already connected to. How is that wasting an input?! It's not either/or; you get both on one input.

        You can have a filament runout sensor on its own, without the magnetic filament sensor, but then it won't pick up all the print failure modes that the magnetic filament sensor will. The SW input on the filament sensor just gives you extra choice/information, with no increase in pin usage.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 0
        • Garfieldundefined
          Garfield
          last edited by Garfield

          So I don't need the 'C' option ..... or is the C actually the pin that it uses for communication and NOT the filament out switch - that's more logical I guess.

          The use of pin names like endswitch don't really describe the purpose that this pin will serve - it isn't as a digital switch or an analog input but a communication channel

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

            @Garfield said in Mag Filament sensor - config clarification.:

            or is the C actually the pin that it uses for communication

            Yes, it's the pin on the Duet that the filament monitor is connected to.

            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
            • TeddyFluffkinsundefined
              TeddyFluffkins
              last edited by TeddyFluffkins

              @Garfield @dc42
              Can any of you clarify on the correct wiring for a Duet 3?
              I have mine connected as follows:
              Sensor - Duet
              3.3V to 3.3V
              GND to GND
              OUT to IO_6.in

              According to the dozuki you need to use a cross-over connection, however in my uneducated mind that doesn‘t really makes any sense?
              I tried putting GND to IO_6.in and OUT to GND but got no response from the Sensor as well....

              „No data received“

              M591 D0
              Duet3D rotating magnet filament monitor v1 on pin io6.in, enabled, sensitivity 24.80mm/rev, allow 70% to 130%, check every 3.0mm, no data received

              Any advice is greatly appreciated!

              1 Reply Last reply Reply Quote 0
              • Garfieldundefined
                Garfield
                last edited by Garfield

                You don't need any crossover - at least with version 1.7a all is as per your explanation and is exactly how I wired mine. I do agree that the instruction is confusing, the text reads as though prewired cables are in use. I tested mine before committing to crimping connectors.

                This is my definition

                M591 D0 P3 C"io5.in" S1 R80:120 L25.49 E3.0

                For a filament run out switch wire it only to the filament sensor, the status is available via the sensor communications connection although I don't use it.

                I think that it is all to do with the way the plugs are reversed on the PCB but since you're wiring it all I don't see that the pin numbers matter - just pay heed to the way around the plug goes and make sure ground goes to ground and so on.

                Watch the LED ... this will let you know if it is talking.

                Note - the no data received only changes during a print ...

                TeddyFluffkinsundefined 1 Reply Last reply Reply Quote 0
                • TeddyFluffkinsundefined
                  TeddyFluffkins @Garfield
                  last edited by TeddyFluffkins

                  @Garfield Thanks for the heads up!

                  However, despite being wired correctly (according to your wiring...the only one that really makes any sense shrug) its not working.
                  The LED on the sensor does NOT light up when extruding filament.
                  The print stops after priming with the error message „extruder 0 reports too little movement“ (or something like that)
                  I tried io6, io8 and io5.
                  My wiring again is as follows:

                  Sensor - Duet 3
                  PIN OUT to io5.in
                  PIN 3.3V to 3.3V on io5
                  PING GND to GND on io5

                  The „no data received“ message on M591 D0 stays the same, always. While idle and while priming.
                  I tested my wires, those should be OK. (Give a beep when using a multimeter to test)

                  This is my M591 from config.g

                  code_text
                  ;Filament sensor
                  M591 D0 S1 P3 C"io5.in" R70:130 L24.8 E3.0						; Duet3D magnetic filament sensor cross-connected to io5.in```
                  

                  I‘m out of ideas.```

                  1 Reply Last reply Reply Quote 0
                  • Garfieldundefined
                    Garfield
                    last edited by

                    Not sure what I can add except

                    Red is 3.3, Blue is Gnd

                    IMG_0357[1].png

                    IMG_0358[1].png

                    1 Reply Last reply Reply Quote 0
                    • TeddyFluffkinsundefined
                      TeddyFluffkins
                      last edited by TeddyFluffkins

                      Thats wired the same as my own. However, its not working.
                      Sounds like a defective unit to me, tbh.
                      @dc42 @droftarts any ideas?

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @TeddyFluffkins
                        last edited by

                        @TeddyFluffkins You say the LED does not light when extruding. Does it flash at power up? See https://duet3d.dozuki.com/Wiki/Duet3dFilamentMonitor_RotatingMagnetVersion#Section_Status_indication_LEDs
                        Usually if it's not flashing, the magnet turning is not being sensed. Check that it has been put together correctly; I've seen other threads about getting low or no readings where the magnet is too far from the sensor.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        1 Reply Last reply Reply Quote 0
                        • TeddyFluffkinsundefined
                          TeddyFluffkins
                          last edited by

                          @droftarts thanks for your reply!
                          I checked the assembly and could not find any fault. The bearings turn, the hobbed assembly turns, no blockage or anything.
                          Shall I attach some pictures of the sensor?
                          The LED is NOT flashing at all. Not at start-up. Not in red, nor green.
                          ...looking at the picture from the docs again...is the magnet a separate part or is it included in the hobbed assembly part?
                          I'll edit the post within the next two hours and re-check the magnet - there was no extra part that registered as a magnet to me, so maybe its gone missing?

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @TeddyFluffkins
                            last edited by

                            @TeddyFluffkins if it’s not flashing at all, it’s not getting power. Check the continuity of the wires, and the connections.

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            1 Reply Last reply Reply Quote 0
                            • TeddyFluffkinsundefined
                              TeddyFluffkins
                              last edited by

                              @droftarts yea well, this is sooo embarassing...one crimp was bad, it got no contact on the pin. The front portion of it was flat instead of round ... idk how else to explain this.
                              Its on now, flashing different colors and reporting the angle correctly. Gonna try a print 🙂
                              Thanks for the help! Much appreciated.

                              1 Reply Last reply Reply Quote 0
                              • Garfieldundefined
                                Garfield
                                last edited by

                                Make the limits (R70:130) pretty wide i.e. R40:160 until you get some sampling done and set the L value appropriately - especially if you're using a Raspberry Pi. My experience is that once it pauses on a filament event that you can't resume - of course I'd be really curious if your system can resume.

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