theMusicMan
Posts: 114
Joined: Tue May 23, 2017 8:41 pm

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

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...!

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.

User avatar
DougieLawson
Posts: 39126
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

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

Sun Apr 29, 2018 7:28 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

wh7qq
Posts: 1448
Joined: Thu Oct 09, 2014 2:50 am

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

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.

alphanumeric
Posts: 2547
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

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

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.

User avatar
HawaiianPi
Posts: 5840
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

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

Sun Apr 29, 2018 9:05 pm

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).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

RonR
Posts: 1199
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

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

Sun Apr 29, 2018 9:38 pm

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.

hippy
Posts: 7739
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

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

Sun Apr 29, 2018 11:34 pm

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).

alphanumeric
Posts: 2547
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

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

Sun Apr 29, 2018 11:52 pm

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?

ejolson
Posts: 5377
Joined: Tue Mar 18, 2014 11:47 am

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

Mon Apr 30, 2018 12:53 am

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

User avatar
davidcoton
Posts: 5028
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

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

Mon Apr 30, 2018 12:20 pm

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.
Signature retired

hippy
Posts: 7739
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

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

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.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

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

Mon Apr 30, 2018 11:55 pm

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.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Return to “Beginners”