Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Induktive Endstops

    Duet Hardware and wiring
    4
    5
    893
    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.
    • schpongo
      schpongo last edited by

      I would like to use these as end stops because i I had access to them.
      http://www.alliedelec.com/m/d/c61f20ff7bb9a41df9bd3bd6cbfa7ae7.pdf

      But i'm not sure how to wire them.
      I don't suppose I can simply connect the sensor to the 24V of the duet and then run the Signal wire of the sensor to the output wire of the end stop, as I would be feeding 24V into the signal pin.

      Please correct me if I'm wrong, but don't I need to use a voltage divider to get to 3,3V or use another transistor to to switch the 3,3V of the duet with the output of the sensor to the signal pin of the duet.

      Thanks for the help
      Daniel

      1 Reply Last reply Reply Quote 0
      • TLAS
        TLAS last edited by

        I use inductive sensors on my build - I remember DC42 recommending a transistor or something while using them, although I don't on mine. I connect brown to 24v, black to the ground and blue to the sensor pin. Off of memory here though, could be wrong.

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

          Those sensors have a PNP output, which makes it difficult (NPN output sensors would just need a diode). You need to sink a little over 1mA of current from each endstop input, so a voltage divider isn't really suitable. I suggest you use a small signal NPN transistor and a couple of resistors, like this:

          47K resistor from sensor output to transistor base
          4.7K resistor from transistor base to ground (ground pin on endstop connector)
          Transistor emitter to ground (ground pin on endstop connector)
          Transistor collector to endstop STP pin

          This will give a low signal when triggered, so use parameter S0 in your M574 command.

          The sensors that TLAS is using must be NPN-output sensors.

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

            Thanks for the quick reply.
            Worked like a charm.

            Would have posted a picture but i don't think that is possible/

            1 Reply Last reply Reply Quote 0
            • T3P3Tony
              T3P3Tony administrators last edited by

              You can post an image up uploading it to postimg or similar the using the img tags to include it.

              www.duet3d.com

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