Turning On the Raspberry Pi After Shutting Down
If you really get annoyed of pulling the power cord from the Type-C port of USB and then again plug it in to turn your Pi on, then there are two ways that can make your life easy and those are:
- Using a Power Adopter Having On/Off Switch
- Setting up a power button to turn on and off the raspberry
Using a Power Adopter Having On/Off Switch
The simplest and the easiest solution for such an issue is that you can buy a power adapter that has an on/off button. This way you can cut the supply to the Raspberry Pi once it is shutdown, to turn it on, change the state of the button and Raspberry Pi will be connected to the supply.
The best part of using such a power button is that you do not need to do any sort of programming for it, moreover there will be no space issue for keeping the button as well. Further if you are interested in buying one then do have a look on the power supply by CanaKit which you can check by clicking on this link:
Setting Up a Power Button to Turn on and Off the Raspberry
If you are good at programming and hands on at working in hardware related projects, then this method will be a piece of pie for you. You can find pre-soldered push buttons in the market which you can directly connect to the pin 26 of the Pi and other terminal of the button to the ground pin. Next you need to program the push button and for that use the terminal of the Raspberry Pi and save the code and you are good to go. If you are interested in this method, then click on the link to see how to add a power button to Raspberry Pi.
Conclusion
The one and only thing that Raspberry Pi lacks is power button and pulling out the cable every time to turn it on is not only annoying, but it can jiggle other peripherals attached to it. So, to cater such an issue there are two ways one is using a power supply having a on off button and the second is to set up a power button for the Raspberry Pi manually.
from https://ift.tt/oOUCScL
0 Comments