How to turn on & off your raspberry pi safely with the push of a button! Headless Pi on/off button!
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-46-led-linkable-shop-light-with-motion-sensor-and-remote-lm030008?variant=32293548556348
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-shutdown-and-startup-switch-the-easy-way
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 https://www.instagram.com/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.youtube.com/watch?v=Mjo56... for episode#1.
Music for this very special episode by :
Royalty Free Planet:
GLITCHUNTER – Neon Road: https://youtu.be/SAn7eoQK4FE
INTL.CMD – Coastline: https://youtu.be/fZI1uNmhXi8
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.youtube.com/watch?v=WNDvO...
Outro music is Sythwave E https://www.youtube.com/watch?v=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.
Видео How to turn on & off your raspberry pi safely with the push of a button! Headless Pi on/off button! канала Way of the Wrench
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-46-led-linkable-shop-light-with-motion-sensor-and-remote-lm030008?variant=32293548556348
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-shutdown-and-startup-switch-the-easy-way
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 https://www.instagram.com/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.youtube.com/watch?v=Mjo56... for episode#1.
Music for this very special episode by :
Royalty Free Planet:
GLITCHUNTER – Neon Road: https://youtu.be/SAn7eoQK4FE
INTL.CMD – Coastline: https://youtu.be/fZI1uNmhXi8
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.youtube.com/watch?v=WNDvO...
Outro music is Sythwave E https://www.youtube.com/watch?v=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.
Видео How to turn on & off your raspberry pi safely with the push of a button! Headless Pi on/off button! канала Way of the Wrench
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How to install vinyl, t molding, buttons, and joysticks on a Raspberry Pi Arcade Cabinet Ep#11 Pt# 2RetroPie Add A Power Button / Switch Raspberry Pi 1 2 3#273 Raspberry Pi safe shutdown switch, more swap space, faster InfluxDB, and headless setupArcade Cabinet build - Part 1 // How-To | I Like To Make StuffHow to Add a Power Button to Your Raspberry Pi (+ FLIRC Case Install!)Custom Raspberry Pi Arcade Cabinet- Constructing the Cabinet Part 2. Episode #7Raspberry Pi: Why No Power Button? And Simple Solutions!How to Add a Power LED to Your Raspberry Pi Project!Bar Top Arcade Cabinet with a Raspberry Pi (from a single sheet of plywood)// How-ToShutdown your Headless Raspberry PiFlirc Case How To Install/Mount A Led Button Raspberry Pi On Off SwitchArcade Players Dream! Arcade1UP Raspberry Pi Install with EXISTING BUTTONS and POWER SWITCH! TeamCCHow to install vinyl, t molding, buttons, and joysticks on a Raspberry Pi Arcade Cabinet Ep#9 Part 1Arcade1UP Raspberry Pi Install Tutorial - RetroPie in an Arcade1UPUsing a 16x2 LCD Display with a Raspberry PiMaking an Arcade Cabinet for Mortal Kombat 11 | I Like To Make StuffBartop Arcade w/ Raspberry PiRaspberry Pi RetroPie Shutdown ButtonMulticade arcade cabinet buildHow to paint an arcade cabinet! Raspberry Pi Arcade Cabinet Episode #8 What are you getting into?