teeth_03
Posts: 284
Joined: Sat Sep 08, 2012 12:02 am

Simple Power On Button?

Thu Jul 04, 2013 1:28 pm

With both Retro-Pie and XBMC, they offer you easily accessible shut down options that will turn your Pi "off" once you are done using them.

I'm just wondering if you could do something like short 2 GPIO pins to have the Pi turn back on, or will that not work?

I'm trying to avoid spending $20 on one of the premade power button options that seem more tuned to shut the Pi off than turn it back on.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Simple Power On Button?

Thu Jul 04, 2013 1:36 pm

See 'Wake from Halt' near the end of this wiki item - http://elinux.org/RPI_safe_mode
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

teeth_03
Posts: 284
Joined: Sat Sep 08, 2012 12:02 am

Re: Simple Power On Button?

Thu Jul 04, 2013 1:40 pm

thanks

MrEngman
Posts: 3917
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Simple Power On Button?

Thu Jul 04, 2013 2:18 pm

The Rev 2 Pi has a reset connection that will restart the Pi after it has been halted.

Look for the two pin connector P6 - between the HDMI connector and the large aluminium capacitor. Unfortunately it doesn't have any pins installed but if you short the two connections together this will reset the Pi and it will power up as normal. It's on page one of the schematic for the Pi. http://www.raspberrypi.org/wp-content/u ... .2_027.pdf

You could solder in two pins and plug on a switch with a cable and two pin connector. Then just push the switch to restart the Pi.

But be careful not to push it while it is on. Depending on what the Pi is doing you might possibly corrupt the SD card by resetting the Pi at the wrong time.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

teeth_03
Posts: 284
Joined: Sat Sep 08, 2012 12:02 am

Re: Simple Power On Button?

Thu Jul 04, 2013 8:21 pm

I'd rather just use the GPIO pins if it works alright, I'm not into soldering.


Return to “General discussion”