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

    Inductive sensor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    23
    5.8k
    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.
    • npm1undefined
      npm1
      last edited by

      Ok according to the duet manual i connect a resistor between the ground and signal, then the power to a Vin socket.

      Now, how many ohms resistor should it be.

      I currently have 240ohm spare one laying around.

      Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

        No, the Duet instructions don't say that. See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Connecting_different_types_of_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
        • npm1undefined
          npm1
          last edited by

          Ok so i drew a diagram, which way should i go with connecting the inductive sensor.

          Kind Regards

          Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

            Is it a PNP or an NPN output sensor?

            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
            • npm1undefined
              npm1
              last edited by

              Its NPN

              Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

                Then you don't need resistors, just a small signal Schottky diode as described in the page I linked too.

                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
                • npm1undefined
                  npm1
                  last edited by

                  Would this setup work?

                  Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

                  1 Reply Last reply Reply Quote 0
                  • Kozlowundefined
                    Kozlow
                    last edited by

                    Hey npm1

                    I just hooked a probe similar to this yesterday.
                    dc42 helped me out with a problem that I was having.
                    You should have a read of that thread.
                    https://www.duet3d.com/forum/thread.php?id=4490.

                    Are you planning on using the probe as an end stop too?
                    Because I hooked mine up using E0 endstop pins, I'm not sure that it will work as
                    an endstop if you use the probe pins.

                    Hope this helps
                    Steve

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

                      Yes that diagram looks right. Use probe type P5 in the 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
                      • parovoZZundefined
                        parovoZZ
                        last edited by

                        Port will not burn out?

                        1 Reply Last reply Reply Quote 0
                        • Kozlowundefined
                          Kozlow
                          last edited by

                          @dc42:

                          Yes that diagram looks right. Use probe type P5 in the M558 command.

                          Hey dc42, just so i understand, if you use the probe connector can you still use the probe as an endstop?
                          Is there any difference besides for the firmware settings between using the Z probe pins vs the E0 stop pin?

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

                            Yes there is. See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z.

                            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
                            • npm1undefined
                              npm1
                              last edited by

                              thks for the heads up on the pictures,

                              @kozlow: anything can be used as an endstop as long as the M558 and G31 commands are defined correctly

                              Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

                              1 Reply Last reply Reply Quote 0
                              • Kozlowundefined
                                Kozlow
                                last edited by

                                @npm1:

                                thks for the heads up on the pictures,

                                @kozlow: anything can be used as an endstop as long as the M558 and G31 commands are defined correctly

                                Right, i realize that you can use a probe as an endstop, that's how mine is set up.
                                What i didn't know was if it worked the same when the probe was hooked up to the probe pins. Because when i set up my NPN sensor the wiki said to use the E0 stop pin.
                                The wiki must be out dated. That must be for previous hardware that didn't have probe pins.

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

                                  An NPN-output sensor can be connected to the E0 endstop input, E1 endstop input, Z endstop input (if it is free) or Z probe connector. You choose the P parameter in the M558 command to tell it which one.

                                  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
                                  • Kozlowundefined
                                    Kozlow
                                    last edited by

                                    @dc42:

                                    An NPN-output sensor can be connected to the E0 endstop input, E1 endstop input, Z endstop input (if it is free) or Z probe connector. You choose the P parameter in the M558 command to tell it which one.

                                    Ok, thanks for the clarification. I understand now. Lol

                                    1 Reply Last reply Reply Quote 0
                                    • npm1undefined
                                      npm1
                                      last edited by

                                      Great so I have successfully got the 5v version of this sensor, literally plug and play, the issue i have is the first layer i.e. some of the filament isnt smushed down enough to the point where i could rub my finger against the filament and have it come of the build plate



                                      Isnt bed leveling with a sensor supost to give perfect first layer height.

                                      my bed.g file

                                      [[language]]
                                      ; bed.g
                                      ; called to perform automatic bed compensation via G32
                                      M561				       ;Clear any bed transform
                                      G28 ; home all
                                      G90 				               ; Back to absolute positioning ;G91 ; relative mode
                                      M557 X0:150 Y13:180 S30     ; Define mesh grid
                                      G1 Z4 F200 ; move Z 4mm for clearance
                                      G90 ;absolute mode
                                      ;M280 p3 S160 I1 ; Clear any alarms ;M401 ; In lieu of macro - call GCode for deploy probe
                                      G29 S0; run auto bed mesh level
                                      M374 	; Save Mesh Data
                                      ;M402 ; In lieu of macro - call GCode to retract probe
                                      
                                      

                                      My Home Z file

                                      [[language]]
                                      T0 ; select first hot end
                                      G91 ; Relative coordinates
                                      G1 Z5 F200 ; Lower bed.
                                      G4 P500 ; Dwell for 500ms - to ensure bed is down
                                      G90 ; Absolute positioning
                                      G1 X10 Y15 F300 ; Go to first bed probe point and home the Z axis
                                      ;M401; M280 P3 S10 I1 ; Lower Z probe (BLTouch)
                                      G30; Calibrate Z-axis
                                      ;M402; M280 P3 S10 I1; Retract Probe
                                      ;G92 Z2.5; PLA. higher g92 means that 0 is lower down on the z axis
                                      G92 Z1.55; ABS. higher g92 means that 0 is lower down on the z axis
                                      
                                      

                                      My Heightmap

                                      please help

                                      Excuse the Bltouch comments I removed it from my printer since it was always giving me inconsistent z heights and massive variations in the heightmap.

                                      With the bltouch i had to continues change the G92 height. With the new sensor I barely touch this code.

                                      Please Help

                                      Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

                                      1 Reply Last reply Reply Quote 0
                                      • npm1undefined
                                        npm1
                                        last edited by

                                        I have successfully soldered and added the new sensor to my printer, looking forward to better consistency, how ever this is connected through the endstop connector rather than the probe connector.

                                        What is the difference between the probe connector and the axis endstop connectors

                                        this time i am looking to post more heightmaps.

                                        Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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

                                          @npm1 said in Inductive sensor:

                                          I have successfully soldered and added the new sensor to my printer, looking forward to better consistency, how ever this is connected through the endstop connector rather than the probe connector.

                                          What is the difference between the probe connector and the axis endstop connectors

                                          this time i am looking to post more heightmaps.

                                          An NPN output sensor can be connected to either an endstop connector or the z probe connector. It doesn't matter which as long as you tell that firmware in the M558 command how you have connected it.

                                          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
                                          • npm1undefined
                                            npm1
                                            last edited by

                                            At the moment when i get the sensor connected to the probe pins, the z probe trigger value is alway 1000, when the sensor is touching the aluminium, the reading is still 1000.
                                            The firmware is set as follow:

                                            ; Endstops
                                            M574 X1 Y1 S1 ; Set active low endstops
                                            M574 Z1 S0 ;(S1)
                                            M558 P5 X0 Y0 Z1 H10 F80 I1 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
                                            M557 X0:170 Y13:180 S25; Define mesh grid
                                            G31 P500 X0 Y0 Z0; Set Z probe trigger

                                            m119 is not reporting the probe at its minimum point

                                            please help

                                            Ender 5 pro(LGXextruderddewith e3d revo rapid changer) with fly rrf e3 and a standard prusa mk3, both siting air-tight in a ikea kitchen cabinet.

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