Lately I have been quiet on my blog since I have been working on a quite commissioned challenging project involving a Raspberry Pi. ?Anyhow, I needed to properly turn off the Raspberry Pi since I had to run it on batteries and I found this little “Intelligent” switch to successfully shutdown the Raspberry Pi and turn off supply completely. ?It is a very well designed piece of circuit and is also very easy to assemble and get it to run in no time. ?In fact, the total assembly time took about 10 minutes and was soon powering my Raspberry Pi. ?It features 3 switches which are ON, OFF and Soft Off. ?There is also an LED to show that power is on/off.
You can follow the instructions here:http://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/?which are mostly pictures (a picture says a thousand words). ?There are also code examples of how one can use 1 of the GPIO pins to issue the shutdown command from the Soft Off button.