Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add header for external shutdown button + halted led #45

Open
garlick opened this issue Nov 13, 2020 · 0 comments
Open

add header for external shutdown button + halted led #45

garlick opened this issue Nov 13, 2020 · 0 comments

Comments

@garlick
Copy link
Collaborator

garlick commented Nov 13, 2020

It would be nice for embedded projects to have the ability to shutdown the pi without a keyboard.

It's possible to make a switch closure on one of the GPIO lines look like someone pressed the poweroff button. There is also a device tree overlay shipped in raspbian that lets a GPIO change state when the pi is halted. The idea is you press the shutdown button, the OS shuts down, and when it enters the "poweroff" state, the halted LED glows (or reverse logic on the LED and make it a "running" button).

If we think we might be producing a version of the board with a real time clock (#43) that changes the parport wiring, we might consider adding this as well.

I wrote this feature up in a different project in a slightly different context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant