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

    Sunx Gl-8H endstop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    4
    1.3k
    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.
    • Divi76undefined
      Divi76
      last edited by

      Hi,

      Can I use the Sunx GL-8H sensor which is an no type on the duet ethernet board ?
      Or should I replace them with an nc type ?

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

        I answered a related question at https://www.duet3d.com/forum/thread.php?pid=6622#p6622. Does that help?

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

          Thanks that made alot more sense after I read that post .

          So assuming the following I found in the link.

          PNP output normally-open inductive or capacitive sensor
          Connect the sensor output wire to one end of a resistor (call this R1), and connect one end of another resistor (call this R2) to GND on the corresponding Endstop connector. Connect the free ends of R1 and R2 together and to the Sense pin of the corresponding Endstop connector. Also connect the sensor ground wire to corresponding endstop ground, and the sensor's + power wire to a suitable voltage (typically to VIN because these sensors usually need between 6 and 30V).

          The values of R1 and R2 should be chosen so that about +3V appears at their junction when triggered. If R2 is 10K, then suitable values of R1 are 30K if the sensor is powered from +12V, and 68K if it is powered from +24V.

          Then it should work without replacing the endstops with another type of endstop ?

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

            That will only work for a Z probe. It won't work for an endstop switch because the endstop circuit includes an LED and pullup resistor. You need either NPN output sensors, or you could use a small N-channel mosfet or NPN BJT and a few resistors to convert the PNP output to NPN output. (I am assuming you have identified them correctly as PNP, I haven't checked.)

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA