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

Possible to use other pins? #16

Closed
janis-ax opened this issue Mar 5, 2020 · 3 comments
Closed

Possible to use other pins? #16

janis-ax opened this issue Mar 5, 2020 · 3 comments

Comments

@janis-ax
Copy link

janis-ax commented Mar 5, 2020

Is it possible to use another pin rather Pin5 ?

@ZLevine
Copy link
Contributor

ZLevine commented Mar 5, 2020

Unfortunately not for full functionality. There are two main features of the power button here:

  1. Shut the Pi down on press (the Pi now consumes zero power)
  2. Turn the Pi on (wake the Pi) on press

The wake functionality (#2) requires the SCL pin, pin 5. So if you don't care about turning the Pi back on using the power button, you could use a different GPIO pin for #1 above. Then, to turn the Pi back on, you'd need to disconnect and reconnect the power cord (or use a cord with a physical switch in it).

Note: Of course, for the other connection, you can use any ground pin you want.

I hope this was helpful. Let me know if you have any other questions.

@ZLevine ZLevine closed this as completed Mar 5, 2020
@seltix5
Copy link

seltix5 commented Sep 22, 2020

Unfortunately not for full functionality. There are two main features of the power button here:

  1. Shut the Pi down on press (the Pi now consumes zero power)
  2. Turn the Pi on (wake the Pi) on press

The wake functionality (#2) requires the SCL pin, pin 5. So if you don't care about turning the Pi back on using the power button, you could use a different GPIO pin for #1 above. Then, to turn the Pi back on, you'd need to disconnect and reconnect the power cord (or use a cord with a physical switch in it).

Note: Of course, for the other connection, you can use any ground pin you want.

I hope this was helpful. Let me know if you have any other questions.

this info should be on the README.md, thanks !

@ZLevine
Copy link
Contributor

ZLevine commented Sep 22, 2020

@seltix5 thanks for the suggestion—I'll add it now. :)

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

3 participants