Raspberry Pi Power Switch Button - Safe Shutdown / Start Up

  Рет қаралды 17,480

Colin Hill

Colin Hill

Күн бұрын

Пікірлер: 28
@PierreVanGucht
@PierreVanGucht 3 жыл бұрын
As usual, a very informative video! I'm really curious to see the full integration into the PrinterBox/PrusaBox! Thank you and keep going ;-) !
@colinhill
@colinhill 3 жыл бұрын
Thanks. I plan to add the modular front imminently.
@neoYAKER
@neoYAKER Жыл бұрын
I just wanted to say thanks for the great how to! I was using this on my octoprint, and recently switched to Prusa Link/Connect. The switch and script still work great!!!! Thank you Colin!
@Sa3dawisurf
@Sa3dawisurf 4 ай бұрын
Great video and explanation! question, which rasp OS are you using to boot straight to your application? thank you!
@colinhill
@colinhill 4 ай бұрын
Octoprint
@whitneydesignlabs8738
@whitneydesignlabs8738 Жыл бұрын
Awesome!! Thanks so much for your video and the link to the howchoo write up. I just wired and installed on my Pi4 which is in vehicular use. Now, so much easier to shut down gracefully, with a physical button, instead of the GUI (or worse, turning off ignition key and hard-crashing the pi). I was prepared to copy and paste the code, run it at boot up etc etc. But the script did all the heavy lifting. Cheers!!!
@iljacoveliers5834
@iljacoveliers5834 2 жыл бұрын
Thanks for the video !! What happens if you disconnect it from the power and then reconnect it ? Does the Pi start up, or do you have to push the button first ? Or does it only work when it's connected to power all the the time ?
@colinhill
@colinhill 2 жыл бұрын
It you pull the power then reconnect then the pi starts up. The button is a momentary push switch not an on off switch. The action of the switch runs a script to put the pi into a standby state.
@iljacoveliers5834
@iljacoveliers5834 2 жыл бұрын
@@colinhill ok. Thanks for the info.
@robyrey67
@robyrey67 Жыл бұрын
Thanks for this tutorial. Can I ask you how did you power the screen?
@colinhill
@colinhill Жыл бұрын
It's a DSI screen that connects via thin ribbon cable to one of the Pi ribbon cable outputs.
@robyrey67
@robyrey67 Жыл бұрын
Thank you @@colinhill
@maksym3d
@maksym3d Жыл бұрын
I see you are using the TX GPIO pin to power LED as described in Howchoo's manual. This unfortunately won't work if you connect Einsy to the Raspberry through the GPIO port. Instead, you can add this line to the end of /boot/config.txt to power the LED with an arbitrary GPIO pin (e.g. GPIO 24): dtoverlay=gpio-led,gpio=24,trigger=default-on,label=statusled0
@colinhill
@colinhill Жыл бұрын
Thanks for that. Currently having issues with the newer shutdown option which doesnt play well when also using Octodash kzbin.info/www/bejne/m6u5fop4brGXgdE
@KaoticFdr1
@KaoticFdr1 2 жыл бұрын
Great video! Does this work with RockPi boards running armbian via docker? (I'm a complete Linux noob that was only able to install octoprint by following Print'n'Play's OrangePi guide) I'd like to do this and the PSU Relay plugin, but the plugin for the PSU doesn't work either. Any chance you could make a video on making the plugin work too?
@stefanmerk5750
@stefanmerk5750 2 жыл бұрын
hi, thanks for showing. I have a question, can you do this with a touch (capacitive) button? By touching the button for 3 seconds? that would work and if so, how?
@colinhill
@colinhill 2 жыл бұрын
Stefan, i have no idea :)
@leglessinoz
@leglessinoz Жыл бұрын
If all the touch switch does is short 2 connections then yes it'll work fine.
@rubensevillano5707
@rubensevillano5707 3 жыл бұрын
Hi Colin, can you share or update the prusabox files? Modular panel for waveshare 5" with led hole and switch for start/stop Pi. And can you share the switch that you used? Thanks a lot!
@colinhill
@colinhill 3 жыл бұрын
Hi. The STL should be on the main modular front video, in description. www.thingiverse.com/thing:4942168 I'm not part of PrinterBox, so cannot add files to their website. I just post my mods on Thingiverse. Which country are you in? Someone asked me about switches in one of the recent video comments and I provided a link to Amazon.de or here is my Amazon UK link amzn.to/2WWy5bO.
@anubis_3d
@anubis_3d 3 жыл бұрын
Hi Colin, I'm from Spain, I asked you about red switch to start/stop Raspberry Pi, thanks for answer me and for your work.
@colinhill
@colinhill 3 жыл бұрын
@@anubis_3d hi, switch is Momentary Push Button Switches SPST Normally Open Contacts, with 10mm hole required. I got it from eBay.
@hugorobson4233
@hugorobson4233 3 жыл бұрын
Great video! I have pin6 occuppied with fans... is there any other position where I can connect the button?
@colinhill
@colinhill 3 жыл бұрын
Unfortunately i'm unsure, as i followed the video from howchoo. Are you able to use any of the other power pins (5v or 3.3v)
@alwins1993
@alwins1993 3 жыл бұрын
Wich display did you buy?
@colinhill
@colinhill 3 жыл бұрын
Waveshare 5". I will add a link in the modular front video when I fit everything together
@lycan6014
@lycan6014 Жыл бұрын
thank you
@alejandrosamudio7113
@alejandrosamudio7113 3 ай бұрын
It works if I want to put an arcade button for the power on ? ./pi-power-button/script/install
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 204 М.
Adding a power on/off button to a Raspberry Pi
6:06
Pater Practicus
Рет қаралды 7 М.
Botón de encendido en una Raspberry Pi 3.
5:47
Juegos Robótica
Рет қаралды 38 М.
Raspberry Pi Safe Shutdown Button Script
9:38
KM4ACK
Рет қаралды 13 М.
How to turn your 3D printer on/off using Octoprint
5:58
Octoprint plugins for better and safer printing - PSU relay control
12:12
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 2,1 МЛН
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,4 МЛН
Raspberry Pi Battery Power
20:34
ExplainingComputers
Рет қаралды 344 М.