Skip to content

Standby Module

Maschine2501 edited this page Feb 23, 2021 · 3 revisions

Why Standby?

For my Project i'm using a 75W (2*9V Trafo) with two 5V/5A Low Noise PSU's. As we all now, the pi does not shutdown like a computer. So I needed a way to cut the supply Voltage of my trafo. So i ordered an ATTiny85 and an 5V/1A Smartphone charger. Additionaly i used some connectors, two 10K Resistors, one 1n4001 Diode, an BC548 transistor and an 5V Relay. On the Attiny runs a little code which signals my pi, if the powerbutton was pushed (and the pi shut shutdown) and also listens if the pi is running. You can see the logic here. If you wan't to solder the circuit by yourself, you can use this schematic

To Programm the Attiny:

Important!

My Code expects a "HIGH" signal at GPIO 26 (physical pin 37) -> If input @ this pin is not "HIGH", the Pi will shutdown. Workaround: Put +3.3V on that pin. Instructions how to change it in the code will follow.

Alternative Standby Module:

source from rudiratlos But remeber this: My Code expects a "HIGH" signal at GPIO 26 (physical pin 37)if "Standby-Circuit" is activated during Setup....

Schematic

Clone this wiki locally