My Pi Zero is powered by a small ATX PC power supply that is also powering a few other components: projector, audio amplifier. I'm using the gpio-shutdown device tree overlay to add a power button on the BCM pin 3 interrupt.

This works great, except that the Pi initiates the boot sequence when the PC power supply is turned on. This is not what I want; I want the boot sequence to start only after power is applied AND the power button attached to BCM 3 is pressed.

Is there a way to accomplish this - to start the Pi when the power button attached to BCM 3 is pressed?


IBM computers have circuitry to hold the processor in HALT state until voltage is stable.

You could do similar on the Pi by pulling the RUN header low. This will require additional circuitry, but as we don't know what you are using this is up to you.

PS ATX power supplies are a poor choice for the Pi. They are designed to supply large currents, and perform poorly if lightly loaded!

| improve this answer | |
  • May want to include what the Run Header is... and where it might be found on the Pi Zero W {I'm still looking around for a decent source of info on this one} – RubberStamp Sep 16 '18 at 0:22
  • @RubberStamp there are 4 pads near pin 39 (you need to add your own header on all Pi models) and one pin is clearly labeled RUN - _ must admit I haven't used Pi Zero W RUN, but all my Pi models have it - most have reset button soldered on – Milliways Sep 16 '18 at 2:02
  • Now I see it on my Pi Zero ... My soldered on GPIO header was partially obscuring the silkscreen... – RubberStamp Sep 16 '18 at 11:49
  • This doesn't have the effect I'm looking for. Pushing my power button (bringing BCM 3 low) doesn't turn on the device while the RUN header is pulled low. – RyanScottLewis Sep 16 '18 at 21:57
  • @RyanScottLewis The ONLY way to stop the Pi (with standard firmware) from booting when power is applied is to hold the RESET pin low. You need to release this to boot. (Frankly I don't understand why so many Pi users want to control power - unless using batteries there seems little point.) – Milliways Sep 17 '18 at 0:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.