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

    6-30v capacitive sensor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    11
    3.4k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      The new P5 probe type is already implemented in the 1.14 firmware release.

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

        @dc42:

        The new P5 probe type is already implemented in the 1.14 firmware release.

        oh nice.

        I just tried it but it still doesn't works 😞

        M558 P5 X0 Y0 Z1 S0 (s0 since the sensor is open by default)

        If I do m119 I get 'at min stop' when the sensor isn't triggered and 'stopped' when triggered but doesn't stop Z motion

        any hint ?

        Thanks

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

          S0 doesn't work on M558 at present, so a type 5 Z probe needs to have an active high output.

          Is your sensor PNP or NPN output?

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

            David,
            The bad type I guess. so in the moment I don't have the choice to use the E0 stop pins . Any input how I can that working with what I've right now ? I cannot get E0 stop triggered at all. I think it's a voltage/led issue. I even tried to feed the pin with 4.02 volt and the led wasn't bright as the other end stop leds

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

              I can't help unless you tell me what sort of output it has.

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

                David,
                it's a normally open sensor so the logic must be inverted, it looks like that:http://www.aliexpress.com/item/LJC12A3-H-Z-BX-DC-6-36V-1-5mm-Distance-Capacitive-Proximity-Sensor-Switch/1726079980.html

                it's connected on 12v and I was lowering the output voltage using some resistors to bring it at 3.24v to use it on Z endstop pin on the ramps

                Tommy

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

                  According to http://www.mikrocontroller.net/attachment/279364/Condutive_Proximity_Switch_Series.pdf the /BX ones are NPN output and the /BY are PNP output. So if it is a /BX type then instead of resistors, you should use a small signal Schottky diode, connected cathode to sensor output and anode to the STP pin on the E0 endstop connector. A silicon diode such as 1N4148 may work as well, but although that seems to work for some people, the last person I suggested it to found that it pulled the E0 STP pin low enough to light the LED on the Duet at less than full brightness, but not low enough for the Duet to recognise it as triggered.

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

                    Thanks David, it works perfectly with the 1N4148 diode. I was able to got that one at a local store near here.

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

                      I'm glad it worked for you. I'm in the process of completing the documentation pages at https://duet3d.com/wiki/Duet_Wifi_Wiki. I've done the page on endstops, I'm currently doing the page on thermistors, and I'll eventually do the page on Z probes.

                      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
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        I have now documented how to connect several different sorts of Z probe at https://duet3d.com/wiki/Connecting_a_Z_probe.

                        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