Page 1 of 1

How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 7:19 pm
by theMusicMan
OK, so a really noooobie question I guess.

On my new Pi3B+ there is no switch supplied connected inline with the power cable, so when I shutdown after I have finished using the Pi, the only way I can figure - without installing some additional hardware switch setup - to turn the Pi back on, is to unplug the power cable either from the Pi or mains, then put it back in again.

Seems a bit of an exercise...!

So, how do I turn my Pi back on after a shutdown? Is this the correct way to do it?

I have seen a few inline switches that I could use to insert between the PSU output and Pi that contain a neat switch, but wanted to find out if there were a better way to do this.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 7:28 pm
by DougieLawson
theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
On my new Pi3B+ there is no switch supplied connected inline with the power cable, so when I shutdown after I have finished using the Pi, the only way I can figure - without installing some additional hardware switch setup - to turn the Pi back on, is to unplug the power cable either from the Pi or mains, then put it back in again.
That's the recommended way. If you run your Raspberries 24/365.25 then it's not a big deal.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 7:38 pm
by wh7qq
The 3B+ power consumption is negligible so leaving it on 24/7 is not much of a hit and has the advantage of keeping your work alive. If you are using an older monitor, it might draw considerably more than the RPi and it won't turn off when you turn off the RPi. I just turn off the monitor and leave the 3B running so my desktop is just as I left it when I return.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 8:38 pm
by alphanumeric
I have one Pi I leave the power on after I shut it down. I have a momentary push button switch wired to the two RUN terminals. When I want to use that Pi I just press the button and it boots up.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 9:05 pm
by HawaiianPi
theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
OK, so a really noooobie question I guess.

On my new Pi3B+ there is no switch supplied connected inline with the power cable, so when I shutdown after I have finished using the Pi, the only way I can figure - without installing some additional hardware switch setup - to turn the Pi back on, is to unplug the power cable either from the Pi or mains, then put it back in again.

Seems a bit of an exercise...!
Exercise is good for you... ;)

theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
So, how do I turn my Pi back on after a shutdown? Is this the correct way to do it?
Yes, the default way to do it is to cut and reapply the power in some way (unplug, switch, etc.). The assumption is that someone who doesn't want their Pi on 24/7 would unplug the power after shutting it down.

theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
I have seen a few inline switches that I could use to insert between the PSU output and Pi that contain a neat switch, but wanted to find out if there were a better way to do this.
In my experience those inline USB switches cause too much voltage loss and aren't suitable for a Pi3B (okay for a Pi Zero or other single core model). An alternative solution would be to use a switch such as this Leviton 1470-W 15 Amp, 125-Volt AC 3-Wire Grounded Switch to cut power to the PSU. That would also save some energy that the idle PSU would use when the Pi is shutdown.

alphanumeric wrote:
Sun Apr 29, 2018 8:38 pm
I have one Pi I leave the power on after I shut it down. I have a momentary push button switch wired to the two RUN terminals. When I want to use that Pi I just press the button and it boots up.
This is another option, but it won't stop the parasitic load of the PSU when the Pi is shutdown (if you care about such things).

wh7qq wrote:
Sun Apr 29, 2018 7:38 pm
The 3B+ power consumption is negligible so leaving it on 24/7 is not much of a hit and has the advantage of keeping your work alive. If you are using an older monitor, it might draw considerably more than the RPi and it won't turn off when you turn off the RPi. I just turn off the monitor and leave the 3B running so my desktop is just as I left it when I return.
Try adding "hdmi_blanking=1" to config.txt, which should let your monitor go into standby mode when the screen blanks (assuming your monitor has its own low power standby mode).

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 9:38 pm
by RonR
theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
So, how do I turn my Pi back on after a shutdown?

Simply connect a SPST NO momentary pushbutton switch brtween GPIO header pins 5 and 6 and add the following line to /boot/config.txt:

Code: Select all

dtoverlay=gpio-shutdown
Pressing the button on a running system will initiate a graceful shutdown (shutdown -h now).

Once shut down, pressing the button will restart the system.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 11:34 pm
by hippy
alphanumeric wrote:
Sun Apr 29, 2018 8:38 pm
I have a momentary push button switch wired to the two RUN terminals.
Note that on the Pi 3B+ it is no longer RUN and 0V on that two-pin header. It is RUN plus GLOBAL_EN (3V3).

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Sun Apr 29, 2018 11:52 pm
by alphanumeric
Ok, I don't have a 3B+, yet, its on its way. On the 3B (non +) you just short the two run pins. So what is it now with the 3B+? Do you just ground the one pin marked RUN?

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Mon Apr 30, 2018 12:53 am
by ejolson
theMusicMan wrote:
Sun Apr 29, 2018 7:19 pm
On my new Pi3B+ there is no switch supplied connected inline with the power cable, so when I shutdown after I have finished using the Pi, the only way I can figure - without installing some additional hardware switch setup - to turn the Pi back on, is to unplug the power cable either from the Pi or mains, then put it back in again.
In countries which follow the BS 1363 standard, it is common for every mains plug to have a built-in fuse and for every outlet to have associated with it a rocker switch for turning the power on and off to each socket.
Image
Having another power switch on the Pi is redundant and costly. In a recent interview the creator of the Pi
Eben Upton wrote:We have this neat way of figuring out what features to include by default: we divide through the fraction of people who want it. If you have a 20 cent component that’s going to be used by a fifth of people, we treat that as if it’s a $1 component.
I suspect the reason many Pi users don't want a power switch is because they've already got one.

If you live where electrical standards are more relaxed, the solution is to get a power strip with a switch.
Image

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Mon Apr 30, 2018 12:20 pm
by davidcoton
ejolson wrote:
Mon Apr 30, 2018 12:53 am
In countries which follow the BS 1363 standard, it is common for every mains plug to have a built-in fuse and for every outlet to have associated with it a rocker switch for turning the power on and off to each socket.
BS1361 does not require a switch on sockets -- such switched sockets are common, but unswitched sockets are also not rare. Outside the areas of UK influence, switched sockets are far less common. And it is not always easy to reach the socket.

In the absence of a switched socket or adapter, one of the two methods available on the Pi itself and mentioned above should be suitable. Switches in the 5V supply are a last resort, because of the potential problem with voltage drop.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Mon Apr 30, 2018 1:04 pm
by hippy
alphanumeric wrote:
Sun Apr 29, 2018 11:52 pm
On the 3B (non +) you just short the two run pins. So what is it now with the 3B+? Do you just ground the one pin marked RUN?
I also don't have a 3B+ but believe so. Same as before, just not so easy to do, requires an alternative 0V connection.

It seems a PITA for anyone who has a two-pin connection expecting RUN plus 0V, for a button or other circuitry, as what works for other Pi cannot be used with a 3B+ without modification.

I would have kept it as it was and add another connection for GLOBAL_EN but I presume RPT had some rationale for doing it how they have. Most people not needing or using it would probably play it's part.

Re: How to turn on Pi3B+ with no power switch after shutdown

Posted: Mon Apr 30, 2018 11:55 pm
by klricks
hippy wrote:
Mon Apr 30, 2018 1:04 pm
alphanumeric wrote:
Sun Apr 29, 2018 11:52 pm
On the 3B (non +) you just short the two run pins. So what is it now with the 3B+? Do you just ground the one pin marked RUN?
I also don't have a 3B+ but believe so. Same as before, just not so easy to do, requires an alternative 0V connection.

It seems a PITA for anyone who has a two-pin connection expecting RUN plus 0V, for a button or other circuitry, as what works for other Pi cannot be used with a 3B+ without modification.

I would have kept it as it was and add another connection for GLOBAL_EN but I presume RPT had some rationale for doing it how they have. Most people not needing or using it would probably play it's part.
Boot-up by shorting pin 5 & 6 still works for a adjacent 2 pin switch connection. Unlike RUN however, shorting pin 5 & 6 on a running OS will not force a hard reset.
Shorting pin 5 & 6 will do nothing on a running system unless the special shutdown dtoverlay is enabled as mentioned above.