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

    hc6 with rasberry pi 4 fan control

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    177
    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.
    • scottcowenundefined
      scottcowen
      last edited by

      basically i want a temp controlled fan for the pi using the temp from the pi but with the ribbon cable attached how do i go about finding and using the pid from the pi and controlling a fan out put for it on the 6hc?

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @scottcowen
        last edited by

        @scottcowen one for @chrishamm to see if it would be possible to add a sensor that was reported from the Pi to allow the 6HC fan to be set to work thermostatically from it.

        In the meantime you can have it always running, the fan on my pi 5 is always running and it's not that loud

        www.duet3d.com

        scottcowenundefined 2 Replies Last reply Reply Quote 0
        • scottcowenundefined
          scottcowen @T3P3Tony
          last edited by

          @T3P3Tony i can definitely do it that way and it not so much the noise its more the ability to know its warm, secondarily is there a way to display pi temp on dwc?

          1 Reply Last reply Reply Quote 0
          • scottcowenundefined
            scottcowen @T3P3Tony
            last edited by

            @T3P3Tony i appreciate the help first time running this configuration

            chrishammundefined 1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @scottcowen
              last edited by

              @scottcowen You can query the object model value sbc.cpu.temperature to get the Pi's CPU temperature. It isn't directly possible to assign a thermostatic fan to that sensor reading, but you could create a daemon.g file and check it every few seconds. For example:

              if sbc.cpu.temperature > 50
                M106 P3 S1
              else
                M106 P3 S0
              

              Duet software engineer

              scottcowenundefined 1 Reply Last reply Reply Quote 1
              • scottcowenundefined
                scottcowen @chrishamm
                last edited by

                @chrishamm nice i will give that a shot thank you

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