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

Set Fan0 to an I/O pin

Scheduled Pinned Locked Moved
Using Duet Controllers
3
9
271
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.
  • undefined
    dportero
    last edited by 3 Aug 2022, 18:44

    My part cooling fan control no longer works after a bad print failure and subsequent short that occurred. I have an open I/O port that I would like to substitute for Fan0 that is currently used to control a chamber fan. The I/O pin is P42. I have been unable to locate a way to map this to Fan0. Is this something that is possible?

    Thanks!

    Duet 2 clone (vivedino)
    Running Firmware 2.05 (unable to upgrade to 3.XX for a variety of reasons)

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 3 Aug 2022, 18:55

      This becomes easy in RRF3. I think the vivedino boards work on the latest firmware versions. Have you tried recently?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 3 Aug 2022, 19:02 Reply Quote 0
      • undefined
        dportero @Phaedrux
        last edited by 3 Aug 2022, 19:02

        @phaedrux

        They can support it. But at this moment I am doing this for a printer that is past of a fleet of printers running 2.0. To keep all the printers the same we are staying on 2.0.

        Is this not possible to do with rrf2.0?

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 3 Aug 2022, 19:05

          I'm not familiar with that board. Does it not have any remaining open fan headers?

          RRF2 is rather rigid and pre-defined with pins. Part of the reason for RRF3 was greater flexibility.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 3 Aug 2022, 19:31 Reply Quote 0
          • undefined
            dportero @Phaedrux
            last edited by 3 Aug 2022, 19:31

            @phaedrux

            There are 3 fan ports (0,1,2). I could use Fan2 and wire the current fan to an always on port, which would free it up for being used as the part cooling fan if that’s possible.

            How would I program fan 2 to be used as fan0?

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 3 Aug 2022, 19:35

              https://docs.duet3d.com/en/User_manual/Connecting_hardware/Fans_connecting#configuring-fans

              See the RRF2 tab

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 3 Aug 2022, 19:51 Reply Quote 0
              • undefined
                dportero @Phaedrux
                last edited by 3 Aug 2022, 19:51

                @phaedrux

                Awesome! Thanks a bunch.

                I do actually remember seeing that now, but it slipped my mind. Apologies for not googling it again

                undefined 1 Reply Last reply 3 Aug 2022, 22:54 Reply Quote 1
                • undefined
                  droftarts administrators @dportero
                  last edited by 3 Aug 2022, 22:54

                  @dportero if you need to change the pin for fan 0, use M106 with the A parameter:

                  The A parameter can be used to assign a fan to a different output pin, for example a spare heater output (use a M307 command to disable the heater and free up the pin first).

                  For a list of RRF 2 pin assignments, see the ‘ Logical pin (RRF 2.x)‘ column in https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_2_WiFi_Ethernet_Hardware_Overview#inputoutput

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  undefined 1 Reply Last reply 4 Aug 2022, 02:53 Reply Quote 1
                  • undefined
                    dportero @droftarts
                    last edited by 4 Aug 2022, 02:53

                    @droftarts

                    That might be exactly what I’m looking for. I’ll try it out. Thanks!

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