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

    NPN inductive endstop 5v to 3.3v

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    15
    1.9k
    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.
    • Styler93gsxundefined
      Styler93gsx
      last edited by

      Ok so I have my new board installed and all the motors move. Haven't even checked if it's,the right direction yet. I did some reading and my 4.75-30v NPN SENSOR (922CL1.5-B4N-Z475) https://www.pepperl-fuchs.com/global/en/classid_143.htm?view=productdetails&prodid=4033#cad thanks a link to a data sheet.

      I found a few links on here that says I can use it. But my sensor says it pulls 5mA and supply's only 100mA out the signal wire. On another post I saw all I need is a 1k resistor on the signal wire if I tap the 5v source off the expansion board PIN number 1. I scared to hook it up and just want to clarify this is what I need on the signal wire.

      I don't think I'm forgetting anything. Thanks in advance.

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

        I suggest the same wiring as for an NPN inductive Z probe, see https://duet3d.com/wiki/Connecting_a_Z_probe#NPN_output_normally-open_inductive_or_capacitive_sensor. However, as your endstops can work on 5V, it should be safe to power them from 5V and connect the output directly to the endstop input without the diode.

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

          You are awesome that worked perfectly!

          I got my x and y axis dialed in Y measurement distance wise.

          1 Reply Last reply Reply Quote 0
          • Styler93gsxundefined
            Styler93gsx
            last edited by

            Ok all axis are working correctly except for Z. I think it is trying to use a probe. I can run and M119 to check the state of the three inductive sensors and they are not triggered the I can move the axis to there end stops to trigger. I run M119 to check the states again and all three change state but but when I try to home the Z it just crashes.

            Should I make a new thread for this question and put it in the firmware section? BTW thank you DC42 for the response.

            On another note I had all 3 axis and my extruder set to 256x with no interpolation and they can't barely move at 300mm a second. If I go in and set them up like my old controller board at 16x microstepping it will dry run at 900mm a second. I'm thinking it my be my stepper driver pulses being sent may have hit a cap. Is there a max pulses that I can be sent if so can it be raised?

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

              You need to set up the homez.g and homeall.g files according to whether you are homing Z with an endstop switch or a Z probe. See https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer#Homing_Z_using_a_Z_probe and the following section.

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

                @dc42:

                I suggest the same wiring as for an NPN inductive Z probe, see https://duet3d.com/wiki/Connecting_a_Z_probe#NPN_output_normally-open_inductive_or_capacitive_sensor. However, as your endstops can work on 5V, it should be safe to power them from 5V and connect the output directly to the endstop input without the diode.

                Hi based on that article would this work? https://za.rs-online.com/mobile/p/rectifier-schottky-diodes/7044013/

                1 Reply Last reply Reply Quote 0
                • eviltoyundefined
                  eviltoy
                  last edited by

                  @eviltoy:

                  @dc42:

                  I suggest the same wiring as for an NPN inductive Z probe, see https://duet3d.com/wiki/Connecting_a_Z_probe#NPN_output_normally-open_inductive_or_capacitive_sensor. However, as your endstops can work on 5V, it should be safe to power them from 5V and connect the output directly to the endstop input without the diode.

                  Hi based on that article would this work? https://za.rs-online.com/mobile/p/rectifier-schottky-diodes/7044013/

                  Anybody?

                  1 Reply Last reply Reply Quote 0
                  • whosrdaddyundefined
                    whosrdaddy
                    last edited by

                    @eviltoy, Use a small-signal Schottky diode such as BAT43 or BAT85

                    1 Reply Last reply Reply Quote 0
                    • eviltoyundefined
                      eviltoy
                      last edited by

                      @whosrdaddy:

                      Use a small-signal Schottky diode such as BAT43 or BAT85

                      I get that but my question was more around whether the diode I linked to would work for the application as I have them in bucket loads

                      1 Reply Last reply Reply Quote 0
                      • whosrdaddyundefined
                        whosrdaddy
                        last edited by

                        Well it's not a Schottky type, but David mentions that you can get away with a normal small signal diode.
                        I would say try it before connecting it to your Duet, measure the voltage you get…

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

                          You can try it, but that's not a Schottky diode so the forward voltage may be too high for it to work.

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

                            Cool will do tonight thanks so much. Its my first duet so dont want to mess it up

                            1 Reply Last reply Reply Quote 0
                            • eviltoyundefined
                              eviltoy
                              last edited by

                              Right so the ones I had were an utter fail and didnt work. So I am getting the right ones. Just to confirm I need to get either one of the following :

                              http://za.rs-online.com/web/p/rectifier-schottky-diodes/2513025/
                              http://za.rs-online.com/web/p/rectifier-schottky-diodes/1038145/

                              1 Reply Last reply Reply Quote 0
                              • whosrdaddyundefined
                                whosrdaddy
                                last edited by

                                @eviltoy:

                                Right so the ones I had were an utter fail and didnt work. So I am getting the right ones. Just to confirm I need to get either one of the following :

                                http://za.rs-online.com/web/p/rectifier-schottky-diodes/2513025/
                                http://za.rs-online.com/web/p/rectifier-schottky-diodes/1038145/

                                Yes that's correct.

                                1 Reply Last reply Reply Quote 0
                                • eviltoyundefined
                                  eviltoy
                                  last edited by

                                  @whosrdaddy:

                                  @eviltoy:

                                  Right so the ones I had were an utter fail and didnt work. So I am getting the right ones. Just to confirm I need to get either one of the following :

                                  http://za.rs-online.com/web/p/rectifier-schottky-diodes/2513025/
                                  http://za.rs-online.com/web/p/rectifier-schottky-diodes/1038145/

                                  Yes that's correct.

                                  Thanks so much will be getting them then

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