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

    extra fan output

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    8
    283
    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.
    • Kevinundefined
      Kevin
      last edited by

      hello

      I am making an enclosure for my printer but I have the following.

      I have printed a voron 2.4 air filter box but I have on my duet 2 (2.05.1) no more free pwm pins for the air filter box to be able to control.
      currently M106 pwm hotend, part cooling, case fan.

      what can i do best use giopins with macros for extra fan, or work with a w1209 with a buck converter for switching air filter fan

      thanks

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

        If you have a free heater pin you could use that as a fan as well.

        RRF3 syntax:

        M950 F3 C"e1heat" ; use e1heat pin as fan3
        M106 P3 S1 H1 T45 ; set fan 3 thermostatic with heater1 at 45c
        

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • DIY-O-Sphereundefined
          DIY-O-Sphere
          last edited by

          @Phaedrux

          on my duet 2 (2.05.1)

          @Kevin
          Example for RRF2 (switch air filter fan on when hotend reaches 150°C)

          M307 H3 A-1 C-1 D-1 ;disable heaters
          M106 P3 S1 H1 T150 ; set fan 3 thermostatic with heater1 at 150c
          

          Fan then has to be connected to heater3 (Pin8) on the extension port

          (UTC+1)

          Kevinundefined 1 Reply Last reply Reply Quote 1
          • Kevinundefined
            Kevin @DIY-O-Sphere
            last edited by Kevin

            @DIY-O-Sphere

            I should use pin 2- and pin 8+ for the fan 24v

            I use M141 H2 for chamber heater value and M305 P2 for themistor

            M307 H3 A-1 C-1 D-1; switch off heaters
            M106 P2 S1 H2 T (temp); set fan 3 thermostatically with heater2 on (temp)

            , if this is correct, then the fan starts to an adjusted value of chamber heater on themistor P2

            1 Reply Last reply Reply Quote 0
            • DIY-O-Sphereundefined
              DIY-O-Sphere
              last edited by DIY-O-Sphere

              @kevin said in extra fan output:

              M106 P2 S1 H2 T (temp)

              M106 P3 S1 H2 T (temp)
              

              P3 is the switched output, H2 the monitored heater channel

              But we have overlooked that this is only a logic channel. You still need a mosfet, relay or Duex to switch the load.
              https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_RepRapFirmware_2_x_and_earlier
              So please do not connect a load directly!

              (UTC+1)

              1 Reply Last reply Reply Quote 0
              • Kevinundefined
                Kevin
                last edited by

                @DIY-O-Sphere
                thanks for the responce,

                I do not have a duex 2/5 and I don't have the experience to work with mosfet or relais to get this working

                I think I will make a consideration to work with a w1209 module set temp and the fan starts

                DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                • DIY-O-Sphereundefined
                  DIY-O-Sphere @Kevin
                  last edited by

                  @kevin
                  PS_ON is capable of switching this. However, I don't know a simple solution for RRF2 how it can be controlled with the fan code.

                  (UTC+1)

                  Kevinundefined 1 Reply Last reply Reply Quote 0
                  • Kevinundefined
                    Kevin @DIY-O-Sphere
                    last edited by

                    @diy-o-sphere
                    thanks for the explanation and the thinking I will continue to see how I am going to solve this

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