Hi to all,
I'm completing my C172 homebuilt cockpit drived by an RPI and just prior to finish cable routing I've a doubt...
In many web page articles I've read that is dangerous for internal RPI SD card, interrupt power by pulling or pushing the plug for shutdown!
My RPI power cable has a switch that I using for powering on/off. Now my question is: is this a correct way to handle RPI shutdown or is it necessary to use GPIO pins with a proper Python code to deal with a switch ?
Thanks.
RPI Power off
Re: RPI Power off
You can either turn it off from Air Manager or use this:
http://siminnovations.com/wiki/index.ph ... =Shut_down
http://siminnovations.com/wiki/index.ph ... =Shut_down
-
- Posts: 26
- Joined: Wed Jan 06, 2021 7:12 pm
Re: RPI Power off
Yes Ralph, I know this option, my question is oriented to know if the switch that is present on the power cable that now I'm using for powering on/off could be dangerous for RPI SD card.Ralph wrote: ↑Sat Mar 27, 2021 7:40 pm You can either turn it off from Air Manager or use this:
http://siminnovations.com/wiki/index.ph ... =Shut_down
Re: RPI Power off
It’s been discussed on the forums a few times. Search is your friend.Deltasierra wrote: ↑Sat Mar 27, 2021 8:12 pmYes Ralph, I know this option, my question is oriented to know if the switch that is present on the power cable that now I'm using for powering on/off could be dangerous for RPI SD card.Ralph wrote: ↑Sat Mar 27, 2021 7:40 pm You can either turn it off from Air Manager or use this:
http://siminnovations.com/wiki/index.ph ... =Shut_down
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: RPI Power off
That's my point It's not the proper way to shut down the Pi. It'll probably be alright for most of the time, but you'll always have the risk of corrupting the SD card.
-
- Posts: 26
- Joined: Wed Jan 06, 2021 7:12 pm
Re: RPI Power off
Ok, I'll follow your suggestion Ralph, and will try to add a dedicated hardware switch for shutting down RPI from Air Manager.
Thanks.