RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Help with my power supply

    Scheduled Pinned Locked Moved Help and Support
    fancooling
    9 Posts 4 Posters 1.6k Views
    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.
    • Drakaen391D
      Drakaen391
      last edited by

      My current game system (RPi3) uses a 12v 120mm fan for cooling, which does wonders for keeping the system cool...

      Is there a way to have my fan shut off when the Pi is shutdown?

      Tried looking into GPIO solutions, but nothing seems to work because of it being a 12v fan

      RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
      Retropie (Latest Stable)
      PiBox with Wind Tunnel Cooling System

      rbakerR 1 Reply Last reply Reply Quote 0
      • rbakerR
        rbaker @Drakaen391
        last edited by

        @drakaen391 You need to supply way more detail. Are you using a separate power supply for the fan? There are many ways to do this for example use GPIO to a simple microcontroller that could be used to drive the fan - does it have to be 12V? Why not get a fan that works off 5V and power it from the GPIO?

        1 Reply Last reply Reply Quote 0
        • Drakaen391D
          Drakaen391
          last edited by

          Currently the fan is powered by a 120vac to 12vdc transformer separately.

          I don’t currently have a 5v fan big enough, which would be useful, but the 5v fan couldn’t keep it cool enough for the CPU intensity...

          I’ll take a picture of the current setup to give an idea of it

          RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
          Retropie (Latest Stable)
          PiBox with Wind Tunnel Cooling System

          caver01C 1 Reply Last reply Reply Quote 0
          • caver01C
            caver01 @Drakaen391
            last edited by caver01

            @drakaen391 You could setup a relay, something like an opto-coupler solid-state relay that you trigger with GPIO during startup/shutdown. The relay could in turn switch off the 12v power.

            I am thinking of a component that is normally open, at boot, you set your GPIO to HIGH, which triggers the relay switch on the fan. When the Pi shuts down, the GPIO that was high will drop and the relay should cut power to the fan.

            It can be done.

            My 4-player cocktail style cabinet built as a custom "roadcase"

            caver01C 1 Reply Last reply Reply Quote 0
            • caver01C
              caver01 @caver01
              last edited by caver01

              Or better yet you wire the relay to 3.3v pin which goes on when the pi goes on, drops off when Pi goes off. No GPIO script needed.

              I am no electronics wiz--far from it--so you would need someone to provide the finer details, specific components, whether you need to clean up my idea with resistors or diodes or whatever. Maybe a transistor would work, or a MOSFET instead of a relay. Basically, a switch that is triggered electronically. That is what you are building.

              My 4-player cocktail style cabinet built as a custom "roadcase"

              1 Reply Last reply Reply Quote 0
              • SanoS
                Sano
                last edited by

                Here is a nice thread with lots of ideas : https://www.raspberrypi.org/forums/viewtopic.php?t=14624

                1 Reply Last reply Reply Quote 0
                • Drakaen391D
                  Drakaen391
                  last edited by

                  Thanks.... gives much to look at...

                  RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                  Retropie (Latest Stable)
                  PiBox with Wind Tunnel Cooling System

                  caver01C 1 Reply Last reply Reply Quote 0
                  • caver01C
                    caver01 @Drakaen391
                    last edited by

                    @drakaen391 Just got a notice that this article was recently posted. Gives a bunch of background on triggering relays:

                    https://makezine.com/2018/03/19/control-electronic-relays/

                    My 4-player cocktail style cabinet built as a custom "roadcase"

                    Drakaen391D 1 Reply Last reply Reply Quote 0
                    • Drakaen391D
                      Drakaen391 @caver01
                      last edited by

                      @caver01 thanks man....

                      You just saved me a lot of time

                      RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                      Retropie (Latest Stable)
                      PiBox with Wind Tunnel Cooling System

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.