Merge pull request #15 from Howchoo/feature/documentation

Feature/documentation
This commit is contained in:
Zach Levine 2020-02-18 16:14:10 -05:00 committed by GitHub
commit 14fa0aee36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -13,3 +13,11 @@ Scripts used in our official [Raspberry Pi power button guide](https://howchoo.c
If you need to uninstall the power button script in order to use GPIO3 for another project or something: If you need to uninstall the power button script in order to use GPIO3 for another project or something:
1. Run the uninstall script: `./pi-power-button/script/uninstall` 1. Run the uninstall script: `./pi-power-button/script/uninstall`
## Hardware
A full list of what you'll need can be found [here](https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi#parts-list). At a minimum, you'll need a normally-open (NO) power button, some jumper wires, and a soldering iron. If you _don't_ have a soldering iron or don't feel like breaking it out, you can use [this prebuilt button](https://howchoo.com/shop/product/prebuilt-raspberry-pi-power-button) instead.
Connect the power button to Pin 5 (SCL) and Pi 6 (GND) as shown in this diagram:
![Connection Diagram](https://raw.githubusercontent.com/Howchoo/pi-power-button/master/diagrams/pinout.png)

BIN
diagrams/pinout.fzz Normal file

Binary file not shown.

BIN
diagrams/pinout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB