MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    A fan script for a beginner

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 3 Posters 3.3k Views 3 Watching
    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.
    • P Offline
      Peter
      last edited by

      https://hackernoon.com/how-to-control-a-fan-to-cool-the-cpu-of-your-raspberrypi-3313b6e7f92c
      I use this.
      It works fine, even wit a Google AIY Hat on top of the RPI.
      I hope it works for you too.
      Peter

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Peter
        last edited by

        @peter so, you made a transistor based relay… cool…

        but that doesn’t help his speed control question…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @CyruS1337
          last edited by

          @cyrus1337 the specs do not say how the yellow wire is used to control the fan.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • CyruS1337C Offline
            CyruS1337 Project Sponsor
            last edited by

            Maybe you misunderstand me. I just want to turn on the fan and turn it off when the CPU has more than 50 °. I have 3 wires on my fan as shown above.

            1 Reply Last reply Reply Quote 0
            • P Offline
              Peter
              last edited by

              That is exactly what I told you before.
              Read the article and you will see how to connect the 3 wires.
              And you can change the temperature of the fan to start.
              My fan starts at 65 and runs for 30 seconds to cool the cpu.
              Peter

              1 Reply Last reply Reply Quote 0
              • CyruS1337C Offline
                CyruS1337 Project Sponsor
                last edited by

                Thanks, I want to try it

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy