Fan port for LED works, does not show up in DWC

  • Hi,

    I have connected an LED strip to FAN2 on my Duet 2 Wifi, and I am able to control it (including dimming using PWM) with M106 P2 S<Value>. Everything in my system runs on 24 volts, including the fans and the LEDs. The LEDs supposedly draw about 550 mA, so power-wise I should be ok.

    FAN2 does not show up in the web GUI though. I was hoping to get a slider like the one for the part cooling fan, but there is none. Do I need to use M950 to get that? I don't have M950 for the part cooling fan either, though:

    M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S255 I0 F100 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0 I0 F500 H-1 ; ADDED: LED strip on FAN2 - copied from FAN0

    That's all there is regarding fans. The config was mostly created by the RepRepFirmware config tool.

    Do I need to add an M950 to get the fan slider in the GUI?

    Thanks and regards

  • administrators

    Which firmware version are you using, and which version of DWC?

    Is there a "Change visibility" link in DWC near to the fan slider(s)?

  • I am using DWC 2.0.4. M115 says

    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later + DueX2 FIRMWARE_DATE: 2019-06-13b2

    The Fan Control part of the GUI just shows FAN0, FAN1 in "fan selection", and the slider with its plus and minus signs.

    Thanks for your reply

  • Moderator

    Both your firmware and DWC versions are a little out of date. Try 2.05.1 firmware and 2.0.7 DWC.

  • @Phaedrux Ok, will do. Thanks!

  • Moderator

    @lapjoint naming the fan with C parameter, eg C”LED”, in M106 may make it show up.


  • Thanks everybody! I upgraded to firmware 2.05.1 and DWC 2.0.7, and now the fan sliders show up and they work.

    Kudos to the Duet team. I have never done a firmware upgrade on any device that was more convenient or less scary :-).


  • @droftarts PS. Yeah, I had tried that. Naming the fans made them show up indeed, but the sliders didn't do anything. Upgrading to the current firmware then did the trick.

Log in to reply