# ON / OFF Shim + Justboom DAC pHAT

**URL:** <https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842>\
**Category:** Support\
**Created:** [May 9, 2020, 11:15am UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842 "2020-05-09T11:15:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtj](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gtj](https://forums.pimoroni.com/u/gtj)\
**Post date:** [May 9, 2020, 11:15am UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/1 "2020-05-09T11:15:10Z")

</div>

Guys, can you clarify whether the on / off shim can be used in conjunction with Justboom DAC pHAT?  
My OS is Max2Play.

Any help will be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 9, 2020, 11:45am UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/2 "2020-05-09T11:45:36Z")

</div>

The on off shim pinout is here

> **[OnOff SHIM at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/onoff_shim)**
>
> A power switch for the Raspberry Pi

It requires a software install to be fully functional which is written to work with Raspbian.  
I couldn’t find a pinout for the Justboom DAC pHat. It likely uses i2s.  
Best I could come up with.

---

<div class="post-metadata">

**Author:** ![gtj](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gtj](https://forums.pimoroni.com/u/gtj)\
**Post date:** [May 9, 2020, 12:02pm UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/3 "2020-05-09T12:02:14Z")

</div>

Thank you so much for this.  
I know I have to install a script which I did in the past with projects that didn’t occupy any GPIO pins.

The pinout of the Justboom DAC pHAT is:

 ![Annotation 2020-05-09 043959](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/5/5d3dbfe7f28652f3e734834b87511995153607f2.jpeg)

so from what I understand, the pins are different - those used by the shim are different than those of the DAC. Is this right?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 9, 2020, 12:24pm UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/4 "2020-05-09T12:24:52Z")

</div>

I don’t see any pin conflicts. Is Max2Play based on Raspbian? If not the on off shim installer will likely just error out when run.

---

<div class="post-metadata">

**Author:** ![gtj](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gtj](https://forums.pimoroni.com/u/gtj)\
**Post date:** [May 9, 2020, 12:26pm UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/5 "2020-05-09T12:26:57Z")

</div>

It is indeed! I guess it’s perfectly doable.  
Thank you so much for all your help!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [May 9, 2020, 12:28pm UTC](https://forums.pimoroni.com/t/on-off-shim-justboom-dac-phat/13842/6 "2020-05-09T12:28:16Z")

</div>

Good luck then…
