No video

Raspberry Pi Power Switch Button - Safe Shutdown / Start Up

  Рет қаралды 16,741

Colin Hill

Colin Hill

Күн бұрын

Пікірлер: 28
@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!
@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.
@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!!!
@Sa3dawisurf
@Sa3dawisurf 3 ай бұрын
Great video and explanation! question, which rasp OS are you using to boot straight to your application? thank you!
@colinhill
@colinhill 3 ай бұрын
Octoprint
@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 kzfaq.info/get/bejne/m-CGgLpznrLIe6M.html
@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.
@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.
@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?
@robyrey67
@robyrey67 11 ай бұрын
Thanks for this tutorial. Can I ask you how did you power the screen?
@colinhill
@colinhill 11 ай бұрын
It's a DSI screen that connects via thin ribbon cable to one of the Pi ribbon cable outputs.
@robyrey67
@robyrey67 11 ай бұрын
Thank you @@colinhill
@lycan6014
@lycan6014 Жыл бұрын
thank you
@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 2 жыл бұрын
Great video! I have pin6 occuppied with fans... is there any other position where I can connect the button?
@colinhill
@colinhill 2 жыл бұрын
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
@alejandrosamudio7113
@alejandrosamudio7113 Ай бұрын
It works if I want to put an arcade button for the power on ? ./pi-power-button/script/install
Кадр сыртындағы қызықтар | Келінжан
00:16
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 22 МЛН
Using cheap car parts to easily power your 3D printer's Raspberry Pi
11:27
Adding a power on/off button to a Raspberry Pi
6:06
Pater Practicus
Рет қаралды 6 М.
Raspberry Pi Safe Shutdown Button Script
9:38
KM4ACK
Рет қаралды 12 М.
#133 Safe Shutdown for Raspberry Pi with Super Capacitors
8:43
Andreas Spiess
Рет қаралды 75 М.
A Button to Switch your Pi Safe On and Off
3:07
Lutz
Рет қаралды 33 М.
Is Raspberry Pi 5's Power On Button Safe?!
4:52
PC USB Projects
Рет қаралды 6 М.
Кадр сыртындағы қызықтар | Келінжан
00:16