Easily Add A Shutdown Switch To A Raspberry Pi

Easily Add A Shutdown Switch To A Raspberry Pi

The Raspberry Pi doesn’t have a power switch, which means you have to remember to actually properly shut it down every time you want to turn it off. If you don’t feel like running those extra commands, Instructables user AndrewH7 shows you how to easily add a shutdown switch.

Basically, you’ll just add a small wire to a GPIO and wrap a piece of electrical tape around it. Then, you’ll install a bit of software so that when you tap the switch, it will run the proper shut down commands for the Pi. This isn’t the most elegant-looking solution in the world, but it’s easy to do. It’s especially handy if you’re using the Pi as a headless machine but still want to safely shut it down now and then.

Simple Raspberry Pi Shutdown Button [Instructables]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


Leave a Reply