vectraboyv6
Posts: 43
Joined: Fri Aug 17, 2012 11:28 am

Using gpio pin to shutdown a consol

Mon Jun 08, 2015 9:54 am

Hi,

I'm currently running a chrome console and I belive by just turning it off at nights it will/maybe eventually corrupt the sd card etc...

So the thinking is could I use a gpio pin on a momental push to make switch and a python script to turn off the pi safely

Thanks stuart

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Using gpio pin to shutdown a consol

Mon Jun 08, 2015 10:19 am

Do a search for "Raspberry Pi shutdown button" and you'll find plenty of wiring info and scripts you can use.

Return to “Beginners”