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

    Use PWM Output as Thermostatic / slider controlled Fan

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    645
    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.
    • kuhnikuehnastundefined
      kuhnikuehnast
      last edited by

      Hi there,
      by the use of:
      M307 H2 A-1 C-1 D-1
      M42 P2 S1

      you are able to use e. g. a Heater output as a PWM- output to control Fans / dimmable LEDs etc. But is there a chance to use these outputs as Fans by the M106 command? I'd really like to use the slider in the web- control to dimm my LEDs.

      Greetings kuhni

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

        In firmware 2.02RC2 there is a temporary A parameter added to the M106 command to specify which output pin to use.

        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

        kuhnikuehnastundefined 1 Reply Last reply Reply Quote 0
        • kuhnikuehnastundefined
          kuhnikuehnast @dc42
          last edited by

          @dc42 said in Use PWM Output as Thermostatic / slider controlled Fan:

          temporary A parameter

          Really tried to find something about this A- Parameter on the forum, but couldn't... Which parameter do I have to use if I want to e.g. convert the Heater 2 into a PWM-Fan? As the Fans already have P0, P1 and P2, is it just M106 A2 instead of P2?

          greetings kuhni

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

            You need to allocate a fan number, e.g. 3 if you don't have a DueX board. So try:

            M307 P2 A-1 C-1 D-1 ; disable heater 2 to make it free
            M106 P3 A2 ; use heater 2 output for fan 3

            then you can do e.g.:

            M106 P3 S0.5 ; set fan 3 to 50%

            Please note, this is a temporary solution and the mechanism will change in a future firmware version.

            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
            • kuhnikuehnastundefined
              kuhnikuehnast
              last edited by

              Thanks a lot! This works fine! 🙂

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