Slicer Discord
Safe Shutdown, Relay DIN Mount – 3D printable model from Thingiverse Thingiverse

Safe Shutdown, Relay DIN Mount

3 Downloads
1 Likes
0 Makes
Go to Model
SAFE SHUTDOWN CIRCUIT

Add “Shutdown” Macro to Klipper printer.cfg

[output_pin PS_ON]
pin: PE11
value: 1

[gcode_macro POWER_OFF]
gcode:SET_PIN PIN=PS_ON VALUE=0

Add GPIO functions to RPI; sudo nano /boot/firmware/config.txt (or sudo nano /boot/config.txt)
dtoverlay=gpio-poweroff,gpiopin=26,active_low=1
dtoverlay=gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up=gpio-shutdown

Set timer relay to “F4” 25 seconds.

OPERATION / LOGIC

Front panel momentary push button switch, provides 5vdc from Mains Relay to the Timer Relay which starts the supply of power for 25 seconds.

RPI boots, and closes the Hi/Lo Relay which is connected to the Mains Relay, which latches the power “ON” while the RPI is booted. The 25 second timer allows for rebooting of the RPI by ssh.

Second Hi/Lo Relay provides a safe shutdown of the RPI. PE11 provides 3.3v to the second relay and opens the GPIO 17 connection to ground. The “Power_OFF” macro allows the relay to close, RPI starts safe
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
TPU, Carbon Fiber
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection