I am planning to use raspberry pi in an embedded design. Is there any way i can prevent the pi from automatically turning on when plugged in?

  • Add a mosfet/relay/power-transistor to the power input.
    – Gerben
    Nov 25, 2013 at 19:08

2 Answers 2


If you have a Rev 2 Raspberry Pi you should have a P6 header, which is intended for a reset switch.

I would imagine if you held the board in reset from before powering up (the pins shorted) it should prevent it from booting up until you release it from reset (disconnect the pins).

This will require a small amount of electronics, I assume this is not a problem if it is for an embedded application.

eLinux - P6 header

  • Can anyone confirm this, don't want to damage my pi.
    – Hassan
    Nov 26, 2013 at 15:17
  • Good idea - just the implications... Nearly everywhere I look gives the indication that only momentarily shorting the pins are a good idea - Have you tried this yourself @PiBorg?
    – Wilf
    Nov 26, 2013 at 23:05
  • I have not, usually with other devices this is connecting a reset line (with a weak pull-up) to ground, which will prevent the chips starting. In the event the chip has started this reset line going low triggers an internal reset which would then wait of the line to go high again (remove the short) before starting.
    – PiBorg
    Nov 27, 2013 at 10:04

keeping that pin shorted is a bad idea for the Pi and the power supply(it puts a load on it causing heat).

you need to build a software switch for power on if your intent is to use it with other devices that would turn it on (done by a relay to control power to the main port) or hard wire a actual switch for the power.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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