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

    Reed switch endstops. Anybody else using them?

    Scheduled Pinned Locked Moved
    General Discussion
    10
    32
    2.2k
    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.
    • EasyTargetundefined
      EasyTarget
      last edited by EasyTarget

      I was going to post this on @bartolomeus 'delta experts' thread but thought it could stand on it's own, I do not see any real prior discussion here/generally about this.

      As I upgraded my Delta I wanted to get rid of the 45cent microswitches it used (although they were working just fine, and now do endstop duties very reliably in my CNC, nothing 'wrong' with them) .

      After some thought and inconclusive research I ended up fitting three of these:
      IMG_20191018_112751.jpg
      They are pre-wired encapsulated reed switches, the little neodymium bar magnet next to it triggers at approx 9mm range, reliably and repeatably. Together with the magnets they cost more than I'd paid for the 3 aliexpress hall-effect sensors I didnt fit. You can see how small they are!

      Fitting being the nicest part of this:

      IMG_20190910_165102.jpg
      Looking at this I'm reminded I could shave 10mm off those tpu bumpstops/mounts with minimal effort.

      I soldered extensions to the wires, and they run down the front of each 2020 axis rail under a clip-in slot cover. Utterly invisible (which is important to me) and I had no need to mess around with 3 wires and bulky/vulnerable mounts.

      Crucially; the limited research I did suggests that these have excellent repeatability, and my experience bears this out. Sunflower (my Delta) keeps calibration when the PSU is off between prints; and an informal 10 second power outage test(*) picked up the resumed layer almost perfectly despite re-homing. Config/wiring identical to a NO endstop, if doing this again I might try and find NC reedswitches if they exist.

      To put it bluntly: I'm very happy with this choice, but I'd love to hear thoughts and experience from people here.(**)

      (*) In 22 years at my place I've had 3 power outages, so this is not something I'm guarding against anyway. My informal test involved a bottle of port and bravado.
      (**) Maybe not so many opinions though.. I prefer thoughts.

      Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
      PrintPy2024 to the rescue!
      MicroPython based; with simple wiring and and no custom PCB.

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

        Only concern is that magnets are temperature sensitive, if enough to affect your setup I do not know.

        But thinking about it for 2 seconds, at higher temperatures the magnet should be weaker and the first layer height should increase making it a safe failure; if however during winter your ambient temperature drops you may find the opposite to be true.

        Curious to hear how you get on with different temperatures.

        EasyTargetundefined 1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt
          last edited by

          Hi,

          It it makes you happy that is all that matters.

          As you observed, micro-switches work just fine, so a person's preference then depends on other things, such as esthetics.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          EasyTargetundefined 1 Reply Last reply Reply Quote 0
          • EasyTargetundefined
            EasyTarget @A Former User
            last edited by

            @bearer said in Reed switch endstops. Anybody else using them?:

            Curious to hear how you get on with different temperatures.

            Interesting point, I've also got expansion in the 2020 columns to consider, never given that much attention. I guess the Delta grows fractionally as she heats, could be worth setting a dial gauge up above a column and seeing what happens. My printroom is dry, fan ventilated and stable in temperature.

            Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
            PrintPy2024 to the rescue!
            MicroPython based; with simple wiring and and no custom PCB.

            A Former User? 1 Reply Last reply Reply Quote 0
            • EasyTargetundefined
              EasyTarget @fcwilt
              last edited by

              For reference (since there is fluff on my photo, sorry) the unit is a ms-213-3-1-0500, shows up like a rash in searches.
              I just discovered this, from the manufacturers website. In particular:

              How to achieve highest switching accuracy

              • Magnetic field should be "spot focussed" towards the contact area of the Reed Switch. Providing single pole actuation, smallest possible switching difference is the result.
              • Lowest hysteresis of Reed Switch is recommended since difference in switching distance between ON and OFF is very small for this type
              • The less tolerances for the magnet and Reed Switch, the better

              I'm at a loss over the last line.. but the rest makes me think I need to redesign my carriage brackets with the magnets mounted vertically, I got the maximum range in this parallel configuration but seeing their argument about 1 pole vs both makes me think I should change the magnet orientation.

              @fcwilt said in Reed switch endstops. Anybody else using them?:

              As you observed, micro-switches work just fine, so a person's preference then depends on other things, such as esthetics.

              Very much agree, I can also see the attraction of something complex, the hall effect sensors have bi-colour leds on them, which is also cool (I quite like flashing lights on futuristic things, too much SciFi in my youth).

              Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
              PrintPy2024 to the rescue!
              MicroPython based; with simple wiring and and no custom PCB.

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @EasyTarget
                last edited by

                @EasyTarget said in Reed switch endstops. Anybody else using them?:

                @bearer said in Reed switch endstops. Anybody else using them?:

                Curious to hear how you get on with different temperatures.

                Interesting point, I've also got expansion in the 2020 columns to consider, never given that much attention. I guess the Delta grows fractionally as she heats, could be worth setting a dial gauge up above a column and seeing what happens. My printroom is dry, fan ventilated and stable in temperature.

                oh, just in case youre thinking of taking a heatgun to your printer to test; don't . magnets will permanently demagnetize if heated above their Curie temperature, which is usually somewhere between 80 to 150C.

                EasyTargetundefined 1 Reply Last reply Reply Quote 0
                • EasyTargetundefined
                  EasyTarget @A Former User
                  last edited by

                  @bearer said in Reed switch endstops. Anybody else using them?:

                  oh, just in case youre thinking of taking a heatgun to your printer to test; don't

                  I was thinking of positioning the dial gauge on a convenient shelf so it is touching the column top, and then putting my printbed to 70C and leaving it for half an hour to see how the needle shifts from the index. Eg seeing what happens in realistic scenarios, applying direct heat would be silly, and unrepresentative.

                  Im not worried about Curie temperatures; in this case it is 400C, though field strength will decrease well before that of course.. It should be acceptable over the temperature range I can expect.

                  Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                  PrintPy2024 to the rescue!
                  MicroPython based; with simple wiring and and no custom PCB.

                  1 Reply Last reply Reply Quote 0
                  • monsterundefined
                    monster @EasyTarget
                    last edited by

                    @EasyTarget said in Reed switch endstops. Anybody else using them?:
                    The printer which I'm working on has end switches that looks exactly same.
                    They are triggered by magnets. When magnet is away switch is open (infinite resistance). Magnet close - switch is closed (resistance under 1 ohm)
                    But how exactly did you plug them in the board?
                    I plugged mine to +3.3V and to io.in of IO_0, IO_1, IO_2 but somehow when I'm in "Machine specific" page Endstops table doesn't show Yes when it should...

                    monsterundefined 1 Reply Last reply Reply Quote 0
                    • Danalundefined
                      Danal
                      last edited by Danal

                      I would expect snap microswitches to be a LOT more repeatable than reed switches.

                      Sorry, I think you took a big step backwards.

                      If your preferences lean toward magnetic, sealed, etc. Hall effect sensors are the way to go.

                      Delta / Kossel printer fanatic

                      1 Reply Last reply Reply Quote 0
                      • tekstyleundefined
                        tekstyle
                        last edited by

                        I never had any luck with Reed switches. They aren't very reliable from experience

                        1 Reply Last reply Reply Quote 0
                        • mrehorstdmdundefined
                          mrehorstdmd
                          last edited by

                          I have a 3DS Cubex Duo that came with reed switch endstops installed.

                          https://drmrehorst.blogspot.com/

                          1 Reply Last reply Reply Quote 0
                          • monsterundefined
                            monster @monster
                            last edited by monster

                            @monster said in Reed switch endstops. Anybody else using them?:

                            @EasyTarget said in Reed switch endstops. Anybody else using them?:
                            The printer which I'm working on has end switches that looks exactly same.
                            They are triggered by magnets. When magnet is away switch is open (infinite resistance). Magnet close - switch is closed (resistance under 1 ohm)
                            But how exactly did you plug them in the board?
                            I plugged mine to +3.3V and to io.in of IO_0, IO_1, IO_2 but somehow when I'm in "Machine specific" page Endstops table doesn't show Yes when it should...

                            I mean end switches on my BFB are exactly as on this topic picture:
                            alt text

                            Quite frankly I'm not sure is it reed or Hall effect, I just thought if that would be a Hall then it wouldn't be sharp step from indefinite resistance to almost zero. But anyway those switches were functioning very well under original BFB controller. And they look cool 😁 hehe and very nicely integrated into construction.
                            So I got to go with those at least for now.
                            My problem for the moment is I can't get Duet 3 to see them. I'm sure I did not right connection 😞
                            I did plug them in IO_0, IO_1, IO_2
                            1 wire to 3.3 another wire to io.in - that seemed logical (to me πŸ™‚ ) as switch closes --> 3.3 volts comes to io.in and controller can sense that end point reached.
                            Though :
                            endstops.PNG
                            Or is there an additional configuration needed before it can be seen in here?
                            Or should that be not 3.3 but rather 5v pin?

                            A Former User? monsterundefined 2 Replies Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by dc42

                              Hall effect sensors have 3 wires, not 2.

                              Reed switches are normally-open so when using RRF3 you will need to use S1 and invert the pin name in the M574 command.

                              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

                              monsterundefined 1 Reply Last reply Reply Quote 0
                              • monsterundefined
                                monster @dc42
                                last edited by

                                @dc42 said in Reed switch endstops. Anybody else using them?:

                                Hall effect sensors have 3 wires, not 2.

                                Ups πŸ™‚
                                Good to know πŸ˜‡

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @monster
                                  last edited by

                                  @monster said in Reed switch endstops. Anybody else using them?:

                                  My problem for the moment is I can't get Duet 3 to see them. I'm sure I did not right connection
                                  I did plug them in IO_0, IO_1, IO_2
                                  1 wire to 3.3 another wire to io.in - that seemed logical (to me ) as switch closes 3.3 volts comes to io.in and controller can sense that end point reached.

                                  firstly you'll need to know what type of switch it is; but if i goes "indefinite resistance to almost zero" lets assume it functions as an normally open* switch. in that case you need to connect it between ground and the input pin.

                                  *)suppose it could be normally closed, depends on the state your description started off in

                                  monsterundefined 1 Reply Last reply Reply Quote 0
                                  • monsterundefined
                                    monster @A Former User
                                    last edited by monster

                                    @bearer said in Reed switch endstops. Anybody else using them?:

                                    @monster said in Reed switch endstops. Anybody else using them?:

                                    My problem for the moment is I can't get Duet 3 to see them. I'm sure I did not right connection
                                    I did plug them in IO_0, IO_1, IO_2
                                    1 wire to 3.3 another wire to io.in - that seemed logical (to me ) as switch closes 3.3 volts comes to io.in and controller can sense that end point reached.

                                    firstly you'll need to know what type of switch it is; but if i goes "indefinite resistance to almost zero" lets assume it functions as an normally open* switch. in that case you need to connect it between ground and the input pin.

                                    *)suppose it could be normally closed, depends on the state your description started off in

                                    Ah! It is ground and input pin!?
                                    Well that might explain everything!!! I didn't know it works that way!
                                    You see how bad am I 😭

                                    A Former User? 1 Reply Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @monster
                                      last edited by

                                      @monster said in Reed switch endstops. Anybody else using them?:

                                      Ah! It is ground and input pin!?

                                      for swithces, yes. (inputs uses a pull up resistance so it is normally 3.3v, as such connecting the other end to 3.3v never has any effect)

                                      1 Reply Last reply Reply Quote 0
                                      • monsterundefined
                                        monster
                                        last edited by

                                        Wooohooo! Got it!
                                        End stops are working now!

                                        1. I did reconnect as @bearer said πŸ‘
                                        2. I did some googling/reading and find out that "M574 X1 Y1 Z1 S1 " is depricated. Added separate lines for each.
                                        3. UI was replying that pins need names and then I found an example on forum with names like P"xstop" - used it
                                        4. Then UI was replying that names are wrong. I was banging my head for a bit πŸ€•
                                          And then found: https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_Num_3

                                        Here is how it looks

                                        ; Endstops
                                        ;M574 X1 Y1 Z1 S1                                ; set active low and disabled endstops
                                        M574 X1 S1 P"!io0.in"
                                        M574 Y1 S1 P"!io1.in"
                                        M574 Z1 S1 P"!io2.in"
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • NitroFreakundefined
                                          NitroFreak
                                          last edited by NitroFreak

                                          I found this repeatability test

                                          https://bbs.homeshopmachinist.net/forum/general/29522-reed-switch-repeatability-test-for-cnc

                                          which suggests a repeatability of +0.01-0.03 mm.
                                          However, using stronger magnets absolutely does NOT improve the repeatability because the switch just triggers farther away. The magnetic field isnΒ΄t any more "defined" at the triggering distance.
                                          IΒ΄d like to know how differing environmental influences affect the triggering distance, i could imagine EMI could drastically change that.
                                          All in all it would be too much of a risk for my liking only to get the novel factor.

                                          mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                                          • mrehorstdmdundefined
                                            mrehorstdmd @NitroFreak
                                            last edited by

                                            I think it would be interesting to see how it behaves when it's mounted close to a stepper that is actively stepping. You'd think the motor design would contain the field from the coils/magnets fairly well, but it probably doesn't take too much "leakage" to close a reed switch.

                                            https://drmrehorst.blogspot.com/

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