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

    DUET 3 6HC - Using Inductive proximity sensor as endstop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    8
    19
    1.9k
    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.
    • weed2allundefined
      weed2all @dc42
      last edited by

      @dc42 yes definitely

      https://www.thingiverse.com/weed2all/designs

      1 Reply Last reply Reply Quote 0
      • DigiDundefined
        DigiD @reFlexlab
        last edited by DigiD

        @reFlexlab

        opto isolator x 4 on my Delta , allows you to use what ever voltage the sensor works best with ( in my case 24volts) , isolates the high voltage from the low , decouples any kind of line noise from steppers etc and doesn't toast the board if you plug it in backwards

        in config file use

        M574 X2 S1 P"!xstop" ; configure active low endstop for high end on X via pin xstop !prefix

        Opto for inductive sens.JPG

        opto isolate.jpg

        JoergS5undefined fcwiltundefined reFlexlabundefined 3 Replies Last reply Reply Quote 2
        • JoergS5undefined
          JoergS5 @DigiD
          last edited by

          @DigiD using optocoupler is a great idea and using a LED for added signal is it also!

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

            @DigiD

            Clever.

            What is the brand and part number of the inductive sensor you are using?

            I will have to re-test the sensors I tested to see if they would work with such a circuit.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            DigiDundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @dc42
              last edited by fcwilt

              @dc42 said in DUET 3 6HC - Using Inductive proximity sensor as endstop:

              Would there be any interest in Duet3D manufacturing and selling a small inductive sensor that runs from 3.3V or 5V?

              Yes if it could be as small as the 8mm cylindrical inductive sensor I use now.

              And the switching frequency should be 2 kHz or better.

              Most of the existing sensors advertised as being 5V appears to be 6 to 36V sensors sold as 5V.

              Perhaps that is why the two models I tested didn't work as well as those rated 10-30 volts.


              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                @fcwilt said in DUET 3 6HC - Using Inductive proximity sensor as endstop:

                Yes if it could be as small as the 8mm cylindrical inductive sensor I use now.

                We're looking at using a 6mm diameter sense coil. We would supply the PCB and the sense coil, leaving you to print an enclosure for it (we would publish a sample design). It would be designed to work well with non-magnetic surfaces, but would work with magnetic surfaces too. We would aim for 1ms response time.

                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

                fcwiltundefined pkosundefined 2 Replies Last reply Reply Quote 2
                • fcwiltundefined
                  fcwilt @dc42
                  last edited by

                  @dc42 said in DUET 3 6HC - Using Inductive proximity sensor as endstop:

                  We're looking at using a 6mm diameter sense coil. We would supply the PCB and the sense coil, leaving you to print an enclosure for it (we would publish a sample design). It would be designed to work well with non-magnetic surfaces, but would work with magnetic surfaces too. We would aim for 1ms response time.

                  That all sounds reasonable.

                  Send me a couple and I will test them and add them to my list. 😉

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 1
                  • DigiDundefined
                    DigiD @fcwilt
                    last edited by DigiD

                    @fcwilt

                    LJ12A3-4-Z/BX Inductive Proximity sensor NPN (OMRON and no name brands seem to work equally well) , very common on Ebay about $3-4 AUD each

                    4mm sensing distance , best results using mild steel as a target that is close to the diameter of the sensor . derate sense distance for stainless .7 and Aluminium .4

                    been in the printer for a few years now with out any issues

                    I use first pass fast coarse and second pass slower accurate for homing

                    fcwiltundefined 1 Reply Last reply Reply Quote 1
                    • pkosundefined
                      pkos @dc42
                      last edited by

                      @dc42 I would definitely be interesting in something like that! 🙂

                      Voron 2.4 (Duet 3 6HC + 3HC standalone), Voron SW (Duet 3 mini 5+ standalone), Voron Trident (Duet 3 mini 5+ standalone), Voron 0.1

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

                        @DigiD said in [DUET 3 6HC - Using Inductive proximity sensor as endstop]> LJ12A3-4-Z/BX Inductive Proximity sensor NPN (OMRON and no name brands seem to work equally well) , very common on Ebay about $3-4 AUD each

                        Interesting.

                        The number looked familiar.

                        I had ordered one of each variety (-AX -AY -BX -BY -BX-5V) under the TWIDEC brand but they do not appear in my list of tested devices.

                        I need to find them and finish testing.

                        Frederick

                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                        1 Reply Last reply Reply Quote 0
                        • reFlexlabundefined
                          reFlexlab @DigiD
                          last edited by

                          @DigiD Thank you for your help, how should I select the OptoCoupler and the resistor based on the model of inductive endstop that I used ?

                          @ reFlexLab Paris # MMMM project
                          Modular Multimaterial Multiprocess Manufacturing

                          1 Reply Last reply Reply Quote 0
                          • reFlexlabundefined
                            reFlexlab @fcwilt
                            last edited by

                            @fcwilt

                            Hello Thank you for your help,

                            How do I test that the logic levels are correct and how should I correct if they are not ?

                            Thank you,
                            Tom

                            @ reFlexLab Paris # MMMM project
                            Modular Multimaterial Multiprocess Manufacturing

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

                              @reFlexlab said in DUET 3 6HC - Using Inductive proximity sensor as endstop:

                              @fcwilt

                              Hello Thank you for your help,

                              How do I test that the logic levels are correct and how should I correct if they are not ?

                              Thank you,
                              Tom

                              I have an oscilloscope that I use but any device capable of measuring DC voltages in the 0 to 24 volt range would work.

                              Here is an example of the small low cost oscilloscopes available today. This one is half the cost of the older unit I have and five times as fast.

                              Oscilloscope

                              The OptoCoupler used is a 4N25 which is quite common.

                              The 1K resistor should be good for most inductive sensors IF they source current which is usually the case for PNP types of sensors.

                              NPN types of sensors usually sink current in which case the cathode end of L1 would connect to the sensor output and the J1 end of the resistor would connect to power source, labeled V1+ in the diagram above.

                              Yet I have found PNP and NPN types that both source and sink current.

                              I wish manufactures would stick to pure open-emitter (PNP) or open-collector (NPN) designs. Sigh... 😉

                              You can start with just R1 and L1 connected to sensor output and ground OR sensor power and output. If L1 goes on and off with the sensor then you have found the correct setup and can finish the wiring adding the 4N25, etc.

                              Frederick

                              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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