IN DEVELOPMENT BigBox Dual X Carriages with Duet Wifi (and Duex)

Discussion in 'Guides, Mods, and Upgrades' started by T3P3Tony, Oct 20, 2016.

  1. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    97
    Likes Received:
    51
    I'll re-test the support for fan PWM on the DueX5 fan connectors, in case something broke between versions 1.16 and 1.17.
     
    #61 dc42, Jan 9, 2017
    Last edited: Jan 11, 2017
  2. AndyVirus

    AndyVirus Well-Known Member

    Joined:
    Apr 10, 2016
    Messages:
    122
    Likes Received:
    17
    OK so i just did a quick test of swapping the cooling fans around and the problem does seem to follow the port. either fan connected to FAN3 only reliably works on 0 or 100%. So both fans I have can been control as normal from FAN0. Im a bit stuck. For now ill go back to powering them both from FAN0 but is my config wrong or could it be a firmware bug?
     
  3. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    97
    Likes Received:
    51
    It does sound like a firmware bug to me. I hope I will have time to re-test it today.
     
  4. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    97
    Likes Received:
    51
    I just tested using Fan0 and Fan3 with firmware 1.17b and it is working for me. I sent M563 P0 H1 D0 F0:1, then T0. Then if I send e.g. M106 S0.1 it sets both fans to a slow speed.

    If you try to control fan 3 directly by sending e.g. M106 P3 S0.5, do you get the same behaviour i.e. fan stays off unless you set full speed?

    I wonder if your fan could be objecting to the PWM frequency. Fan0 is variable frequency with a default of 250Hz. Fan3 is a fixed frequency with a default of 500Hz. If you set Fan0 to 500Hz by sending M106 P0 F500, does it still work properly?
     
  5. AndyVirus

    AndyVirus Well-Known Member

    Joined:
    Apr 10, 2016
    Messages:
    122
    Likes Received:
    17
    Ok so if i set Fan0 to 500Hz it behaves like Fan3, i.e. it does not allow me to control the speed anymore, just full speed or off so it does look like the PWM frequency possibly.

    Tried setting Fan0 to 250hz using M106 P0 F250 still on or off, no variable control. Also tried 300, 350 and 400, 500, 600, 700, 800, 900, all no dice. On or off.

    Tried setting FAN3 to 250 using M106 P3 F250, same, on or off only.
     
  6. dc42

    dc42 Well-Known Member

    Joined:
    Aug 16, 2016
    Messages:
    97
    Likes Received:
    51
    So your fans don't like the fixed 500Hz PWM frequency of the fan outputs on the DueX. Are you using fans 1 and 2 as thermostatic hot end fans? If so, they are always either on or off, so you could swap one of them with fan 3.

    Or try a different make of fan. The ones I use came from WeDo3DPrinting and work fine with 500Hz PWM.
     
    #66 dc42, Jan 14, 2017 at 10:58 PM
    Last edited: Jan 14, 2017 at 11:03 PM
  7. AndyVirus

    AndyVirus Well-Known Member

    Joined:
    Apr 10, 2016
    Messages:
    122
    Likes Received:
    17
    ill give swapping the fans about so one of the hot end fans os on the DueX and both print cooling fans are on the DuetWifi. I am using 1 and 2 for the Hot-end fans yes. Thanks! ill give that a go shortly.
     

Share This Page