RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. power switch
    Log in to post
    • All categories
    • jigidyjim

      Have to power on/off twice for some reason
      Help and Support • power switch • • jigidyjim

      3
      0
      Votes
      3
      Posts
      170
      Views

      jigidyjim

      @kn4thx thanks for the reply. The pi does have power - red light is on. I’m going to try the config you mention.

    • Melvin.FoX

      Idea how to control PC power using state switch
      Help and Support • arcade 1up desktop linux power switch retropie • • Melvin.FoX

      1
      0
      Votes
      1
      Posts
      100
      Views

      No one has replied

    • VaultDweller

      Argon One Case Power and fan Script.
      Help and Support • power switch fan control argon one script • • VaultDweller

      2
      0
      Votes
      2
      Posts
      558
      Views

      quicksilver

      @VaultDweller did you look at the booklet that came with the case? If you lost yours I remember another post around here with the instructions, if I can find it...

    • ultrakev9

      Control Block upgrades
      General Discussion and Gaming • retropie raspberry pi 4 power switch • • ultrakev9

      1
      0
      Votes
      1
      Posts
      182
      Views

      No one has replied

    • OrehRuoy

      Sega Genesis build questions
      Projects and Themes • sega genesis questions power switch led lights • • OrehRuoy

      14
      0
      Votes
      14
      Posts
      2117
      Views

      MattyL42

      @orehruoy I think what you might of had problems with is the shutdown type button you use with the shutdown script is a single press sprung button to inturpt the signal/make a signal. ( squid button)

      Sounds like the mega drive button is a switch which is why it's changing around each time.

    • sixstring396

      Super Kuma 9000 power issue
      Help and Support • super kuma 9000 power switch • • sixstring396

      3
      0
      Votes
      3
      Posts
      382
      Views

      quicksilver

      @sixstring396 this is normal behavior. The pi should start to boot, then detect that the switch is in the off position and shut back down.

    • ayekaye

      Pi Will not boot with power strip
      Help and Support • power switch power on power problem power strip • • ayekaye

      10
      0
      Votes
      10
      Posts
      804
      Views

      edmaul69

      @jonnykesh you are right. I am an idiot. And i set that every time i set up a pi so i should have remembered that.

    • cmscss

      Reset, shut down and power switches for bar top arcade
      Help and Support • shutdown power switch • • cmscss

      5
      0
      Votes
      5
      Posts
      1039
      Views

      cyperghost

      @cmscss Yes... the multi_switch.sh script always provides safe shutdowns.

      Deepsleep happens if after shutdown the red LED still glows. So you need a power device that cuts power after shutdown. But no script can change the behaviour without the hardware parts.

      But deep sleep is a very cheap alternative to those power devices. You may try it out ;) Just connect any switch to GPIO3 and ground (it's pin 5 and 6 on the Pie header) only this GPIO enables a repowering after shutdown ;)

    • ayekaye

      Power switch without powerblock?
      Projects and Themes • power button power off power help power switch • • ayekaye

      12
      0
      Votes
      12
      Posts
      1450
      Views

      Keltron3030

      @cyperghost

      Just made use of your mult_switch.sh script.

      I'm using it for a momentary switch on a 3B running retropie 4.4.1

      Worked great thanks.

    • MB

      Advise Needed for Wiring Rocker Switch to Power Entire Retropie Arcade
      Help and Support • power switch power supply switch power off power on • • MB

      7
      0
      Votes
      7
      Posts
      2718
      Views

      brendan

      @Lurker thank you for this detail, also super helpful for me. I am considering doing the same thing but using this switch (Pilot Automotive PL-SW26 Performance Toggle Switch with Red Safety Cover https://www.amazon.com/dp/B000GTMUUI/ref=cm_sw_r_cp_api_i_6uZQDbMXHJDGD). I don’t have any electrical experience - can I ask you what the difference would be here given this only has 2 connectors vs the 3 in the other switch?

    • Walsonde

      RPi 1B+ (OSMC) boot and led problem w/power block
      ControlBlock, PowerBlock & Co. • power block power on power switch led • • Walsonde

      5
      0
      Votes
      5
      Posts
      1098
      Views

      petrockblog

      It is important to note that the switch and the optional status LED need to be connected to the 2x2 pins header in any case. The signal break outs S1 and S2 are not meant for the switch and the LED, but rather for the communication between the PowerBlock and The RPi. Here is a summary for the connection between the break outs and the RPi:

      S1: pin 12 S2: pin 11 5V OUT +: pin 2 or pin 4 5V OUT -: pin 6 or pin 9
    • Antoine

      [Advice Request] Discussing Power and Raspberry Pi setup
      Help and Support • portable pi portable screen power switch 4 players battery • • Antoine

      7
      0
      Votes
      7
      Posts
      1389
      Views

      Antoine

      @caver01 That's true, I am also investigating udev and xrender as I was told by a friend that a rule could probably be defined to handle that behavior. Indeed, since the portable screen will be connected internally (inside the box) to the raspberry pi, we can know for certain which HDMI port is associated to the screen and therefore differentiate it from the other one which would be assumed to be an external screen.

      EDIT: Actually, I realize now that contrary to USB ports, HDMI splitters only duplicate the input display to two outputs in an identical way, so I am no longer sure udev understands it is communicating with two different displays.

      @caver01 @rbaker I am also investigating using a USB Power Bank as a UPS (which I read from over at http://raspi-ups.appspot.com/en/index.jsp). Some models have smart charge features and are able to serve while charging and feature two USB ports (which is useful to provide power to both the Raspberry Pi and the portable screen).

      Controlling the power drop seems feasible using a voltage diviser and an analog digital converter bound to the Raspberry Pi GPIO (one reference among others: http://raspi.tv/2013/controlled-shutdown-duration-test-of-pi-model-a-with-2-cell-lipo).

      A quick Amazon search provides results that I believe could do the trick (like http://amzn.eu/fAd5fRV which:

      is pretty cheap (~20 bucks), has a 16.75A capactity, provides 5V outputs, provides 3A max on each of its 2 ports,

      I am guessing this could be used as a UPS.

      Just as a side note I have seen several interesting projects providing UPS boards for the Raspberry Pi. But they seem focused on powering it through the GPIO (as far as I understand) and therefore do not seem very appropriate to me if I want to power a portable screen as well.

      Another side note to say that I don't have any stakes at Amazon (and my links aren't sponsored), it just seems convenient to provide examples :)

      EDIT: changed the example provided for a more suitable USB Power Bank

    • FatWhiteLump

      Any Power Switches immune to Under-voltage?
      Help and Support • power supply power switch undervolt • • FatWhiteLump

      1
      0
      Votes
      1
      Posts
      545
      Views

      No one has replied

    • doctorstork

      Reset Switch for Pi3
      Ideas and Development • power switch pi3 • • doctorstork

      4
      0
      Votes
      4
      Posts
      1371
      Views

      doctorstork

      @Lizard Perfect. Thank You

    • domodan

      ControlBlock not functioning properly
      ControlBlock, PowerBlock & Co. • power switch • • domodan

      21
      0
      Votes
      21
      Posts
      4089
      Views

      happygreens7

      @domodan is there anyother way that you found to identify a "bad" board other than just trying it?
      like I think the WiFi on one of mine is bad but only because it shows no networks available when I look but my other one with the same cards shows them just fine. That means I'm stuck hanging out next to the router to do any work to this one. lol

    • greekgod23

      Pi3 power switch and fan
      Help and Support • power button fan power switch gpio • • greekgod23

      2
      0
      Votes
      2
      Posts
      1309
      Views

      Shockwave

      You need to reverse that. Most fans are going to need 5v to run. You can also use the 3.3v pin (pin escapes me right now), to run fans quieter, but those are the pins to run fans on for the pi. Also recommended are heatsinks for all of the sensitive chips (including the one on the bottom of the board). Use pins 2 and 9 for the power switch but not recommended for corrupting the sd card. I got one of the push button switches that connect to the micro usb port in between the pi and the power supply. It will also clean up your power feed.

    • TheComicCondor

      How can I have both a fan and a power switch?
      Help and Support • power switch fan • • TheComicCondor

      4
      0
      Votes
      4
      Posts
      1746
      Views

      dannybuoy

      Many ways!

      A power supply with a switch on so you can power down the unit after you've done your safe shutdown.

      Power the fan from the USB port so that it goes of with the Pi.

      One of these circuits that will shut off the power to the whole device a couple of minutes after the shutdown is initiated (although you might need a new case):

      https://www.msldigital.com (they have a riser cable to get it away from your fan too)

      http://mausberry-circuits.myshopify.com/collections/frontpage

      https://lowpowerlab.com/shop/product/91

    • TheComicCondor

      Need help installing a fan and power switch to the RP3.
      Ideas and Development • power switch fan • • TheComicCondor

      2
      0
      Votes
      2
      Posts
      844
      Views

      edmaul69

      @TheComicCondor can you tell me why you cant do both