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

Change Z-probe E0 pin

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
5
1.1k
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
    Cuteberry
    last edited by 6 Dec 2016, 18:43

    Hi! Yet another Duet lover here!

    I've some projects involving E0, E1 and E2 endstops pins in a near future and my Z-probe is currently using E0… It's a capacitive NPN sensor and I'd like to use E3 rather than E0 for example.

    Do you know how to deal with it? I can proceed to minor firmware modification, but I'm a bit lost currently to find where I could tune this.

    Thanks a lot!

    Setup:

    • Duet 0.8.5
    • PanelDue 4.7
    • MakerGear II custom
    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 6 Dec 2016, 20:47

      Why not use the Z probe connector and probe type P5 in your 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
        Cuteberry
        last edited by 7 Dec 2016, 14:00

        Good point! I tried but I realised soon after that this sensor is normally open, so I get 0V when triggered whereas "the input must be active high when triggered" in mode 5. Any chance to invert it (as mode 3 for mode 1)?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 7 Dec 2016, 14:26

          In firmware 1.16 and later you can use the I1 parameter on the M558 command to invert the polarity. I have updated the wiki.

          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
            Cuteberry
            last edited by 8 Dec 2016, 12:45

            Thanks for the hand dc42, I didn't succeeded with P5 but I managed to get it working using P1 (inverted with I1). So I'm now using AD12 for the probe signal and the 3.3V power on the sensor port. All the best!

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