• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    dc42 administrators
    last edited by 18 Feb 2018, 10:44

    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
    • undefined
      npm1
      last edited by 18 Feb 2018, 12:55

      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
      • undefined
        dc42 administrators
        last edited by 18 Feb 2018, 13:51

        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
        • undefined
          npm1
          last edited by 18 Feb 2018, 14:11

          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
          • undefined
            dc42 administrators
            last edited by 18 Feb 2018, 14:42

            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
            • undefined
              npm1
              last edited by 18 Feb 2018, 14:45

              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
              • undefined
                Kozlow
                last edited by 19 Feb 2018, 00:02

                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
                • undefined
                  dc42 administrators
                  last edited by 19 Feb 2018, 08:18

                  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
                  • undefined
                    parovoZZ
                    last edited by 19 Feb 2018, 09:35

                    Port will not burn out?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Kozlow
                      last edited by 19 Feb 2018, 16:49

                      @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
                      • undefined
                        dc42 administrators
                        last edited by 19 Feb 2018, 17:31

                        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
                        • undefined
                          npm1
                          last edited by 20 Feb 2018, 10:49

                          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
                          • undefined
                            Kozlow
                            last edited by 20 Feb 2018, 21:12

                            @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
                            • undefined
                              dc42 administrators
                              last edited by 20 Feb 2018, 22:11

                              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
                              • undefined
                                Kozlow
                                last edited by 21 Feb 2018, 00:28

                                @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
                                • undefined
                                  npm1
                                  last edited by 3 Aug 2018, 21:16 8 Mar 2018, 21:07

                                  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
                                  • undefined
                                    npm1
                                    last edited by 22 Apr 2018, 13:24

                                    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.

                                    undefined 1 Reply Last reply 22 Apr 2018, 13:28 Reply Quote 0
                                    • undefined
                                      dc42 administrators @npm1
                                      last edited by 22 Apr 2018, 13:28

                                      @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
                                      • undefined
                                        npm1
                                        last edited by 22 Apr 2018, 21:08

                                        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
                                        • undefined
                                          dc42 administrators
                                          last edited by 23 Apr 2018, 07:29

                                          That's not right, the reading should be 0 when the sensor is not triggered. Does the reading go to 0 when you disconnect the sensor?

                                          It's possible that the sensor output is leaky. If that's the case, it may work if you connect it to a spare endstop input (e.g. E0, using P4 in the M558 command) instead of to the Z probe input.

                                          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