How to turn on & off your raspberry pi safely with the push of a button! Headless Pi on/off button!
25 هزار بار بازدید -
4 سال پیش
-
In this very special episode,
In this very special episode, I show you how to safely turn your Raspberry Pi on or off with the simple push of a button! This is a must for any headless Pi where you do not have easy access or just do not want to attach a keyboard or connect through SSH to just turn it off.
This works with any Raspberry Pi and worked great for my digital marquee (headless Raspberry Pi Zero W) and my Retropie Raspberry Pi 3B+. It also comes in handy when your Pi just glitches/freezes and you have no way of communicating/interacting with it and you have no choice but to hard unplug the power to reset it, which can cause corrupt sd cards. DOH!
When you buy a Raspberry Pi Zero W, it comes with the header strip (GPIO) not soldered on, so in this video I will teach you how to solder in the header strip as well. Sweet!
I also show you what you have to do in terminal on your pi in order to load the safe shutdown script whenever the number 5 and 6 pinouts on the header strip are connected due to a momentary push button being pressed (on/off button).
Quick links to parts of the video!
00:36 Intro to the project
05:33 Soldering header strip tips and tricks
14:06 commands to enter into terminal and where to get it
Special thanks to Koda for the amazing LED linkable shop lights, I am SOOO glad I bought them! If you haven't seen their LED linkable shop lights yet, they are an amazing new feature to my garage and bring a smile to my face every time I step into the garage!
https://kodabuilt.com/products/koda-4...
Special thanks to the team at 8bit junkie as this is not my own invention or coding and without them, this would not be possible. Thanks!
https://pie.8bitjunkie.net/retropie-s...
Items required for a Raspberry Pi zero W:
- computer or tv to watch this video and pause as you do the process
- another computer and Putty to SSH into terminal (remote entry) or a keyboard to access terminal directly on your pi
- Raspberry Pi Zero W (or any pi you want to easy start up/shut off)
- header strip (comes with Raspberry Pi Zero W)
- momentary On button
- insulated wires (to connect button terminals to pi GPIO pinouts 5 & 6
- soldering gun (electronics pencil type)
- electronics solder with rosin core
- wet paper towel/serviette
- safety glasses
- desoldering tool (optional until you make a mistake...lol)
- electronics third hand (not required but would help)
- power supply and hdmi cable for pi
- sd card with Retropie already installed/configured
- internet (duh)
- 15 uninterrupted minutes to complete
Have any questions about the build? Please feel free to comment and I will get back to you as soon as possible. I like to help people....it's my job.
If you would like to keep up with behind the scenes info, pictures, and videos, follow us at Instagram: way_of_the_wrench
If you would like a PDF of my Sketchup plans and dimensions, smack that subscribe button and go to the link below to collect your free plans: https://sdssautomotive.wordpress.com/
If you enjoyed the video, learned some cool tech tips, or would like to use my plans, I would appreciate a like, a subscribe, and a share so I can be inspired to create more videos and continue to make better content for you guys! Thanks for watching and if you hit the post notification bell, you will know when our next videos are out!
If you missed the earlier videos, start here https://www.seevid.ir/fa/w/Mjo56... for episode#1.
Music for this very special episode by :
Royalty Free Planet:
GLITCHUNTER – Neon Road: GLITCHUNTER – Neon Road [Synthwave] 🎵...
INTL.CMD – Coastline: INTRNLCMD – Coastline [Synthwave] 🎵 f...
Thanks to Teknoaxe for his royality free music for our intro/outro music.
Please check out all of Teknoaxe's sweet music tracks!
http://www.teknoaxe.com
Intro music is Synthwave D https://www.seevid.ir/fa/w/WNDvO...
Outro music is Sythwave E https://www.seevid.ir/fa/w/RBxnY...
Way of the Wrench is looking for a collaboration with any Youtubers out there hard at work making royalty free music, just send me a message with your link for consideration.
Disclaimer: These videos are intended for entertainment and inspiration. Working in a woodshop, metalshop, or autoshop is dangerous without proper safety and experience. Always seek professional advice and training before using any power tools/machinery. If you have any uncertainty before performing any shop procedure, stop and learn a safe method/technique. Do not attempt anything simply because you saw it in one of my videos. Be smart, use common sense, respect your power tools/machines, use safety glasses/guards and be safe.
This works with any Raspberry Pi and worked great for my digital marquee (headless Raspberry Pi Zero W) and my Retropie Raspberry Pi 3B+. It also comes in handy when your Pi just glitches/freezes and you have no way of communicating/interacting with it and you have no choice but to hard unplug the power to reset it, which can cause corrupt sd cards. DOH!
When you buy a Raspberry Pi Zero W, it comes with the header strip (GPIO) not soldered on, so in this video I will teach you how to solder in the header strip as well. Sweet!
I also show you what you have to do in terminal on your pi in order to load the safe shutdown script whenever the number 5 and 6 pinouts on the header strip are connected due to a momentary push button being pressed (on/off button).
Quick links to parts of the video!
00:36 Intro to the project
05:33 Soldering header strip tips and tricks
14:06 commands to enter into terminal and where to get it
Special thanks to Koda for the amazing LED linkable shop lights, I am SOOO glad I bought them! If you haven't seen their LED linkable shop lights yet, they are an amazing new feature to my garage and bring a smile to my face every time I step into the garage!
https://kodabuilt.com/products/koda-4...
Special thanks to the team at 8bit junkie as this is not my own invention or coding and without them, this would not be possible. Thanks!
https://pie.8bitjunkie.net/retropie-s...
Items required for a Raspberry Pi zero W:
- computer or tv to watch this video and pause as you do the process
- another computer and Putty to SSH into terminal (remote entry) or a keyboard to access terminal directly on your pi
- Raspberry Pi Zero W (or any pi you want to easy start up/shut off)
- header strip (comes with Raspberry Pi Zero W)
- momentary On button
- insulated wires (to connect button terminals to pi GPIO pinouts 5 & 6
- soldering gun (electronics pencil type)
- electronics solder with rosin core
- wet paper towel/serviette
- safety glasses
- desoldering tool (optional until you make a mistake...lol)
- electronics third hand (not required but would help)
- power supply and hdmi cable for pi
- sd card with Retropie already installed/configured
- internet (duh)
- 15 uninterrupted minutes to complete
Have any questions about the build? Please feel free to comment and I will get back to you as soon as possible. I like to help people....it's my job.
If you would like to keep up with behind the scenes info, pictures, and videos, follow us at Instagram: way_of_the_wrench
If you would like a PDF of my Sketchup plans and dimensions, smack that subscribe button and go to the link below to collect your free plans: https://sdssautomotive.wordpress.com/
If you enjoyed the video, learned some cool tech tips, or would like to use my plans, I would appreciate a like, a subscribe, and a share so I can be inspired to create more videos and continue to make better content for you guys! Thanks for watching and if you hit the post notification bell, you will know when our next videos are out!
If you missed the earlier videos, start here https://www.seevid.ir/fa/w/Mjo56... for episode#1.
Music for this very special episode by :
Royalty Free Planet:
GLITCHUNTER – Neon Road: GLITCHUNTER – Neon Road [Synthwave] 🎵...
INTL.CMD – Coastline: INTRNLCMD – Coastline [Synthwave] 🎵 f...
Thanks to Teknoaxe for his royality free music for our intro/outro music.
Please check out all of Teknoaxe's sweet music tracks!
http://www.teknoaxe.com
Intro music is Synthwave D https://www.seevid.ir/fa/w/WNDvO...
Outro music is Sythwave E https://www.seevid.ir/fa/w/RBxnY...
Way of the Wrench is looking for a collaboration with any Youtubers out there hard at work making royalty free music, just send me a message with your link for consideration.
Disclaimer: These videos are intended for entertainment and inspiration. Working in a woodshop, metalshop, or autoshop is dangerous without proper safety and experience. Always seek professional advice and training before using any power tools/machinery. If you have any uncertainty before performing any shop procedure, stop and learn a safe method/technique. Do not attempt anything simply because you saw it in one of my videos. Be smart, use common sense, respect your power tools/machines, use safety glasses/guards and be safe.
4 سال پیش
در تاریخ 1399/07/03 منتشر شده
است.
25,082
بـار بازدید شده