This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Power off the pi.
#3
(2017-01-17, 07:12 PM)Sailoog Wrote:
(2017-01-17, 12:43 PM)dreuf Wrote: Normally when I leave my boat I flip the mainswitch to be shure all my 12v consumers are off.
I dont know how good this is for the ras-pi to be shut off by power and not by SW.

How do you do it? 
Or do you leave ras-pi running all the time? Would the powerconsumption be so low so its better to connect it past the mainswitch?
I also like to view my temperatures and so on from home on the boat, so this winter my pi is running on the 230v..
During the summer I use the boat minimum one time ever week.

Cutting power is the worst thing you can do to your SD card. It will be dead soon. You must shut it off by SW to be sure is not writing and you cut power.

Consumption with no screen and minimal connected devices is really low, you can left connected if your power bank allow this or set some battery reading system to auto-shutting off when power is low.

Hi,

I actually played with this last night so I figured I might share my solution.
In Openplotter, I set up a Switch defined for GPIO27 on pin 13, pull down (as I recall, might have been pull up).
I then set up an Action (shutdown), defined for this new switch.
When I connect pin 13 to pin 17 (3V3), the system performs a graceful shutdown, which takes about 10 seconds. After this, power can be safely cut to the PI.
I plan on connecting a simple push-button (momentary close) to 13/17 and install it next to my power switch for the PI to facilitate easy and safe shutdowns.
For reference, here is the GPIO pinout: https://i.stack.imgur.com/sVvsB.jpg

Cheers,

Otto
Reply


Messages In This Thread
Power off the pi. - by dreuf - 2017-01-17, 12:43 PM
RE: Power off the pi. - by Sailoog - 2017-01-17, 07:12 PM
RE: Power off the pi. - by ottow - 2017-01-19, 09:11 AM
RE: Power off the pi. - by CVL - 2017-01-20, 10:23 AM
RE: Power off the pi. - by seandepagnier - 2017-02-10, 04:48 PM
RE: Power off the pi. - by CVL - 2017-02-13, 12:08 PM
RE: Power off the pi. - by fbeauche - 2017-03-11, 05:14 PM
RE: Power off the pi. - by CVL - 2017-03-18, 11:31 PM
RE: Power off the pi. - by Techstyle - 2020-04-17, 06:04 AM
RE: Power off the pi. - by abarrow - 2020-04-17, 02:29 PM
RE: Power off the pi. - by SkipperEarly - 2017-03-12, 10:59 PM
RE: Power off the pi. - by dreuf - 2017-03-17, 10:10 AM
RE: Power off the pi. - by atsakir - 2017-03-24, 02:31 PM
RE: Power off the pi. - by PaddyB - 2017-03-24, 02:48 PM
RE: Power off the pi. - by Saqqara - 2017-03-24, 06:40 PM
RE: Power off the pi. - by abarrow - 2017-03-27, 03:47 PM
RE: Power off the pi. - by CVL - 2017-03-26, 05:20 PM
RE: Power off the pi. - by abarrow - 2017-03-28, 12:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)