# On/Off switch with ZeroW + Stem

**URL:** <https://forums.pimoroni.com/t/on-off-switch-with-zerow-stem/7497>\
**Category:** Support\
**Created:** [April 6, 2018, 8:28pm UTC](https://forums.pimoroni.com/t/on-off-switch-with-zerow-stem/7497 "2018-04-06T20:28:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pieter](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@Pieter](https://forums.pimoroni.com/u/Pieter)\
**Post date:** [April 6, 2018, 8:28pm UTC](https://forums.pimoroni.com/t/on-off-switch-with-zerow-stem/7497/1 "2018-04-06T20:28:55Z")

</div>

I have a zero running Volumio running with a phatDAC and Zero Stem soldered in. I am not intending to keep the pi running 24/7 so am looking for a solution to quickly, and most importantly safely, power on and off.  
As the pi now gets its power from the usb stem, an On/Off shim is off the table. Is there a way to squeeze in a power button between the board and the DAC?

Ta  
P

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [April 7, 2018, 12:48pm UTC](https://forums.pimoroni.com/t/on-off-switch-with-zerow-stem/7497/2 "2018-04-07T12:48:23Z")

</div>

On/Off SHIM could still function as an _off_ button. With no ability to cut the power from the Zero Stem, though, you’re never going to get proper On/Off functionality, because it’s not possible to shut it completely off. You could possibly use a USB extension cable and splice the power wire with a switch to solve this, but that may be a little convoluted. If you’re plugging directly into a USB port, though, you’re somewhat out of luck.

On/Off SHIM works by using a latching power circuit that a pin toggle from the Pi can latch into the OFF state and completely cut power to the Pi.
