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

PL- 08N sensor and Duet 1.04

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
9
512
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.
  • undefined
    pd
    last edited by 14 Mar 2020, 18:24

    I have been trying to connect a PL- 08n proximity sensor to my duet to use it as a Z probe on a Voron. My printer has a 24 V power supply which I have used to power the sensor. However although the sensor triggers it then seems to latch on. I managed to find a reference to this problem elsewhere the solution being to reduce the input voltage to 5V. This seems to work for me also although I cannot see why especially as according to the data sheet the sensor needs a minimum of 6V. Has anyone managed to get this sensor to work with 24V?

    undefined 1 Reply Last reply 14 Mar 2020, 18:26 Reply Quote 0
    • undefined
      dc42 administrators @pd
      last edited by 14 Mar 2020, 18:26

      Need more information. How have you connected the sensor to the Duet, and how have you configured it in config.g?

      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
      • undefined
        pd
        last edited by 14 Mar 2020, 18:49

        Yes the sensor is connected to the Z - probe connector. The sense output to the in pin. I initially used 24 V from a fan pin to power the sensor. Although the sensor responded to metal it stayed on when I removed the metal I had used as a trigger. I subsequently replaced the 24v with 5v from the panel due connector and it seem to work OK. I haven’t tried homing it yet.

        The config line is

        M558 P5 I0 T18000 F1200 H30

        ? 1 Reply Last reply 15 Mar 2020, 13:48 Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 15 Mar 2020, 13:44

          Check the Z probe reading, it should be 1000 when triggered and 0 when not triggered. You probably need to change i0 to i1 in your M558 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

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @pd
            last edited by A Former User 15 Mar 2020, 13:48

            @pd said in PL- 08N sensor and Duet 1.04:

            I subsequently replaced the 24v with 5v

            Sensor isn't rated for 5v is it? Some are rated down to 6v and some of those work with 5v however not neccecarily reliable. As far as a quick google suggests yours is rated for 10-30v?

            (I've used them both at 5v and 24v, found them more reliable and having greater detection range with 24v. But they're probably not all created equal.)

            undefined 1 Reply Last reply 17 Mar 2020, 17:32 Reply Quote 0
            • undefined
              pd @A Former User
              last edited by 17 Mar 2020, 17:32

              @bearer @dc42 Thanks for your responses and apologies for the delay in coming back to you but the printer is a work in progress.

              @dc42 I did need to change the I0 to I1 but I had thought I'd already tried that with the 24V supply. Anyway its next on the list to try again!

              @bearer My sensor was supposed to go down to 6V but the probing is unreliable. When you used one did you connect the sensor directly to the board as I have done as its a v1.04.

              ? 1 Reply Last reply 17 Mar 2020, 18:04 Reply Quote 0
              • undefined
                pd
                last edited by 17 Mar 2020, 17:59

                Further update - changing to 24v causes the sensor to be triggered all the time. I will try 12V if I can find it on the due5 board

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @pd
                  last edited by 17 Mar 2020, 18:04

                  @pd said in PL- 08N sensor and Duet 1.04:

                  When you used one did you connect the sensor directly to the board as I have done as its a v1.04.

                  only used them as endstops, and npn version only briefly but yes, direct connection of signal to duet (and using duets internal pull ups).

                  @pd said in PL- 08N sensor and Duet 1.04:

                  Further update - changing to 24v causes the sensor to be triggered all the time. I will try 12V if I can find it on the due5 board

                  sounds like sensor is bad tbh, or mislabeled at best.

                  undefined 1 Reply Last reply 17 Mar 2020, 18:23 Reply Quote 0
                  • undefined
                    pd @A Former User
                    last edited by 17 Mar 2020, 18:23

                    but it does seem OK with 12V so I'll stick with that until the new one comes.

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