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

    The nth attempt to add a TronXY XY-08N Inductive Sensor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    8
    521
    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.
    • nynundefined
      nyn
      last edited by

      Hi,
      as far as I can see no one could get the XY-08N inductive sensor running with an duet 2 wifi bord.
      Someone managed it with an ramps-board, but all other (I could find) bought another sensor... just like me ...

      Until I get my delivery in about a month has someone an idea what's wrong with the duet board/gcode?
      sth with the voltage-delta?
      sth wrong with M574(what is this good for)??/M558?... ?

      here three videos I made - just to remember me...
      0) PLAYLIST: Duet 2 Wifi does not work with inductive Tronxy XY-08N z-sensor, https://youtube.com/playlist?list=PLBxzfpPUPWFU7aYaVmTpudPiexaha1XtM

      1. Duet 2 Wifi does not work with inductive Tronxy XY-08N z-sensor / 24V sensor test and Z-Probe gcode
        , https://youtu.be/Cyz0kyei7dg
      2. Duet 2 Wifi does not work with inductive Tronxy XY-08N z-sensor / 24V sensor test and multimeter, https://youtu.be/8XAUbGO_yQw
      3. Duet 2 Wifi does not work with inductive Tronxy XY-08N z-sensor / 5V sensor test and multimeter, https://youtu.be/wF8idlzNP7c

      current gcode (It changes almost minute by minute;)
      --- cut ---
      M574 Z1 S1 P"!^zstop" ;??? ^!???; Zn Position: 0=none, 1=lowend, 2=highend
      ; Sn switch-type: 1=(eg microswitch), 2=Zprobe(when used to home an axis other than Z) , 3=single motor load, 4=multiple motor...
      M558 P5 C"^zprobe.in" H5 F120 T6000
      G31 P500 X0 Y0 Z2.5 ; set Z
      ---n paste ---

      Stephen6309undefined 1 Reply Last reply Reply Quote 0
      • Stephen6309undefined
        Stephen6309 @nyn
        last edited by

        @nyn When I used an inductive sensor. I use a relay module. Wired the sensor to trip the relay and used the relay output as a switch type endstop.

        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk
          last edited by

          I use a roko SN-04 probe on my FLSun cube, the same one that comes with the anet A8 and it looks similar to the one you've listed.
          Works perfectly fine.
          Here is my config code

          M558 P1 C"!io3.in" H2 A5 F120 T20000 S0.02
          

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 0
          • nynundefined
            nyn
            last edited by

            The solution was to avoid the Signal pin of the Z_PROBE and use the Z_STOP pin. So the cabeling is from:

            ;### "inductive sensor" -> "duet wifi" ###
            ;*S*ignal -> Z_STOP
            ; +       -> JUMPER: EXT 5V EN    \+5V
            ; -       -> GND (currently Z_POBE)
            

            Z-probe_PINs.jpg
            and is working with the code:

            ;;; INDUCTIVE ;;;
            M558 P5 C"!zstop" H6 A5 F120 T20000 S0.07
            

            Took me a long time to understand that "nothing worked(TM)" because of the H argument. It has to be "high" enough to get rid of an G30-"Error: Z probe already triggered at start of probing move"
            A F and S are too cryptic documented and have also some side effects to other "self-made commands" ... Just use "trial and error" (1000 times G28/29/30) or googeling for "cut n paste"
            BTW the "M558 P1" analog signal mode is at Z_STOP no longer possible use P5 ... "Error: M558: Pin 'zstop' does not support mode analog read"

            And do not use any M574 Z1 (Set endstop configuration)
            ----
            Probably the Z_PROBE_IN input on this board is broken ... I already got my (undocumented(like all other 3D printer stuff)) piezo sensor stuff and after endless tests, measuring and prototyping I got it only running with the usage of the Z_STOP pin.

            Maybe it's possible to do a fuction test of Z_PROBE_IN - but who knows...

            Phaedruxundefined 1 Reply Last reply Reply Quote 1
            • Phaedruxundefined
              Phaedrux Moderator @nyn
              last edited by

              @nyn You may need to enable the pullup resistor of the zprobe input with ^ in front of the pin name in some cases in RFF3.

              M558 c"^zprobe.in"

              Not sure if that would help here, but might explain it not working as expected.

              Z-Bot CoreXY Build | Thingiverse Profile

              nynundefined 1 Reply Last reply Reply Quote 0
              • nynundefined
                nyn @Phaedrux
                last edited by

                @Phaedrux
                Hi , thanks for your help. I already permuted all (I don't know what a "pull...resistor" is here for) combinations of [ !^] without any success
                But I tested it again ... funny thing - with still correct blinkig/recognizing LEDs on the Universal Piezo bla
                I get a constant Z-Probe=2 with C"!^zprobe.in" and constant 1000 with C"^zprobe.in"
                all in all "P1" with zprobe.in: " "=1000 "!"=0 "!^"=2 "^"=1000
                ... whatever ... without any kind of technical information about the duet wifi board it's pointless...

                I still use P5 C"!zstop" and it works ... now bed leveling does not work ... just another construction...

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Post your entire M558 and G31 lines.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    connect the signal to zprobe.in.

                    that is better because it has a higher tolerance.

                    at the moment you have 5v connected. that might not be enough to power the probe

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