Using FAN Pin as a GPIO in Duet 3



  • 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.


  • Moderator

    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?



  • 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?


  • administrators

    @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.


Log in to reply