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

    Using FAN Pin as a GPIO in Duet 3

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    4
    305
    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.
    • Saurabhundefined
      Saurabh
      last edited by

      Hi Sir @dc42 , I've Duet 3 6HC V1.0 I want to use FAN out pins(out4, out5, ou6) as a GPIO out pin. Tried configuring the pins using

      ; configuration
      M950 P0 C"out4"
      M950 P1 C"out5"
      M950 P2 C"out6"
      
      ; console
      M42 P0 S1          ;  turn on pin out4 
      M42 P1 S1          ; turn on pin out5
      M42 P2 S1          ; turn on pin out6
      

      But there is no output.
      Tried Inverting pin. Nothing works.

      How can I use this pins as a digital output pins?

      Thank you.

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

        Can you post your full config.g?
        Can you send M122 and M98 P"config.g" and post the response?

        What are you trying to control?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Saurabhundefined
          Saurabh
          last edited by

          Solved the issue, GPIO pin is working when a device is connected to that. Earlier I was checking output on out4 using a multimeter and it was showing almost 0V. Any idea how to detect this pwm signal on out4 using a multimeter or scope?

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

            @Saurabh said in Using FAN Pin as a GPIO in Duet 3:

            Solved the issue, GPIO pin is working when a device is connected to that. Earlier I was checking output on out4 using a multimeter and it was showing almost 0V. Any idea how to detect this pwm signal on out4 using a multimeter or scope?

            Connect a pullup resistor between the OUT- pin and the adjacent positive supply pin.

            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