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.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shutdown button with moitessier hat
I'd like to have the possibility to have a momentary pusch that can shutdown all the program and the raspberry.
In this way before turn off the power, i can shutdown the raspy in a very simple way.

I have set the moitessier hat and i don't know if there is some free GPIO that i can use for this purpose.

Thank you
what I understand, from the users guide of the moitessier hat, is that the gpio 5 and 6 of the rspi is not used by moitessier hat, so I can use one.

I found a modification of the config.txt file, that should be ok for my purpose:


So I have to connect (soldering?) the temporary switch to gpio 5 and ground, modifing the config.txt file, and everything should work correcly.

Anyone can tell me if this is going to work or not?

Forum Jump:

Users browsing this thread: 1 Guest(s)