Thingiverse
Raspberry Pi Rackmount Tray with Shutdown Button
von richwillal
5
Downloads
0
Likes
0
Makes
This is a remix of the Raspberry Pi rack-mount tray that allows inserting a micro-switch and wiring that switch to pins on the Raspberry Pi to create a shutdown button.
I modified this because I always found myself forgetting to shutdown the server remotely and needing to go back and run the shutdown, then come back before unplugging the server from the rack to make a change.
The micro-swtches I used are here: https://www.amazon.com/dp/B07CMZCQS5?ref=ppx_yo2ov_dt_b_product_details
I use pins 39 and 40 which equates to GPIO 21. All that was needed is to add the below line to the config.txt:
dtoverlay=gpio-shutdown,gpio_pin=21
I hope this helps others as it is already saving me multiple trips back and forth to my server rack.
These are the build steps:
1. Print the tray.
2. Clip the leads off the micro-switch leaving enough to solder to on one side
3. Solder the wire jumper to the switch, leaving about 3 inches or 75mm of wire between the solder points and the con
I modified this because I always found myself forgetting to shutdown the server remotely and needing to go back and run the shutdown, then come back before unplugging the server from the rack to make a change.
The micro-swtches I used are here: https://www.amazon.com/dp/B07CMZCQS5?ref=ppx_yo2ov_dt_b_product_details
I use pins 39 and 40 which equates to GPIO 21. All that was needed is to add the below line to the config.txt:
dtoverlay=gpio-shutdown,gpio_pin=21
I hope this helps others as it is already saving me multiple trips back and forth to my server rack.
These are the build steps:
1. Print the tray.
2. Clip the leads off the micro-switch leaving enough to solder to on one side
3. Solder the wire jumper to the switch, leaving about 3 inches or 75mm of wire between the solder points and the con
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!