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

Clear Instructions On Setting Up Proximity Sensor

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
7
4.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.
  • undefined
    P3D
    last edited by 26 Apr 2019, 02:12

    I have a NPN-NO proximity sensor. I attached the wiring diagram. I presume I can just connect this directly to the Z probe pins on the board but how should I connect based on my wiring diagram. Also in the firmware it asks for me to select a Mode with the following options; No Z probe, Switch, Unmodulated or smart IR probe, Simple modulated IR probe, Ultrasonic probe, Smart Effector, and BLTouch… Do I use Switch Mode? Does this have any bearing on how I wire it?

    Thank you very much to anyone who can show me a clear path to configuring this. -P3D

    0_1556244695233_WIRING DIAGRAM (2).png

    1 Reply Last reply Reply Quote 0
    • undefined
      Veti
      last edited by 26 Apr 2019, 07:47

      have you read https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe?

      1 Reply Last reply Reply Quote 0
      • undefined
        P3D
        last edited by 26 Apr 2019, 23:27

        Yeah and that is why I am asking this question...

        ---From The Manual--

        NPN output normally-open inductive or capacitive sensor
        Duet 2 Maestro, or revision 1.04 or later of Duet 2 WiFi or Duet 2 Ethernet: you can connect the output of the sensor directly to the Z-probe IN pin.
        Other Duets: Connect the output wire of the sensor to the cathode of a diode, and the anode of the diode to the Z probe IN pin. The diode should preferably be a small-signal Schottky diode such as BAT43 or BAT85, but a small signal silicon diode such as 1N4148 works for some people.

        All Duets: Connect the sensor ground wire to a ground pin on the Duet, and the sensor's + power wire to a suitable voltage (typically to VIN because these sensors usually need between 6 and 30V power).
        Select mode 5 (P5) in the M558 command, also include parameter I1 in the M558 command.


        So where does this tell me the mode to use in the configurator?

        Where do I connect the +V and 0 V are those pins directly beside where the output plugs in? This is unclear to me.

        Again any help would be appreciated, as I have reviewed this information but I am still unsure.

        -P3D

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 27 Apr 2019, 06:19

          You can get the + and ground from an always-on fan output, unless you have set the VFAN jumper to 5V and your sensor needs more than 5V.

          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
            Damien
            last edited by 27 May 2020, 13:18

            I just updated to latest firmware on my Duet 2 Maestro (3.1.1). I also purchased a NPN NO proximity sensor, but having a hard time understanding how to make it work on the board and what options to select. I’m trying to figure out what options I should select on the online config tool. Its not very clear and uses terminology that doesn't match/hint the sensor type.

            @P3D , did you figure our what options to use?

            1 Reply Last reply Reply Quote 1
            • undefined
              aidar
              last edited by 27 May 2020, 13:58

              https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_NPN_output_normally_open_inductive_or_capacitive_sensor

              1 Reply Last reply Reply Quote 1
              • undefined
                toy4x4
                last edited by 10 Aug 2020, 19:57

                Command M558 Reference link:

                https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_in_RepRapFirmware_Num_3

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