Power Button For RPi V1.02 SKU: EP-0077: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
(Blanked the page)
 
Line 1: Line 1:
=Power Button For RPi V1.02=
 
----
==Description==
As everyone at some point will recognize the Raspberry Pi doesn't include any kind of shutdown button. <br>
So the only way to power it off is by unplugging it from the power supply.<br>
To make sure you get no corruption of your data files on the SD card you should shutdown the Raspberry before powering it off.<br>
So the whole procedure can be a bit annoying especially if you want to use the Raspberry as some kind of embedded PC . <br>
e.g. a media server or an internet radio.<br>
----
==Features==
Power Button provides a small circuit that includes the features:<br>
*Sending a shutdown signal to the Raspberry if the Shutdown Button is pressed
*Waiting for the Raspberry to shut down
*Powering off the Raspberry after save shutdown
*Powering on the Raspberry after the Button is pressed again
*LED light indicating the current state: On / Shutdown / Off
*Easy to setup
----
==How to set it up==
*1. Remove your TF card and connect it to your PC or laptop with TF card adapter.
*2. Modify /boot/config.txt file as following:
<pre>
device_tree=bcm2710-rpi-3-b.dtb
dtoverlay=gpio-poweroff
</pre>
*3. Download shell script:
<pre>
cd ~
git clone https://github.com/yoyojacky/rpi-pwrbtn.git
cd ~/rpi-pwrbtn
chmod +x rpi-psu_client.sh
sudo ./rpi-psu_client.sh
</pre>
*4. Reboot your Raspberry Pi and plug power button on your RPi, press the button to test.
Have fun.
----

Latest revision as of 12:49, 7 February 2017