Skip to content

Instantly share code, notes, and snippets.

View mariliahoshino's full-sized avatar
🎯
Focusing

Marília Zeniti Hoshino mariliahoshino

🎯
Focusing
View GitHub Profile
@traumverloren
traumverloren / rpi_shutdown.md
Last active June 9, 2024 12:53
Raspberry Pi GPIO Shutdown button

Create a safe way to shutdown a headless raspberry pi with a tiny button.

1. Make the button:

  • Cut a female-female jumper cable in half.
  • Strip the ends and solder each to one pin on one side of the button.
  • Clip off the pins on the other side of the button.
  • Plug ends into 1 ground and 1 GPIO pin on your pi. I used GPIO #12 & the ground next to it.