# Fan shim & button shim together?

**URL:** <https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639>\
**Category:** Support\
**Created:** [January 4, 2020, 11:20am UTC](https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639 "2020-01-04T11:20:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBlake](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@JBlake](https://forums.pimoroni.com/u/JBlake)\
**Post date:** [January 4, 2020, 11:20am UTC](https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639/1 "2020-01-04T11:20:03Z")

</div>

Hey folks, was wondering how I’d go about adding a fan shim and then soldering some wires so I can remote mount a button shim.  
Both the fan and button shims share pin 5 so I imagine it’s a case of changing the code for the button shim to use another pin. Trouble is I have no idea how to do that…

Any advice would 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:** [January 4, 2020, 11:47am UTC](https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639/2 "2020-01-04T11:47:21Z")

</div>

The +5V, +3.3V and ground pins on the GPIO header can be used by multiple devices. It’s just power and ground. i2c can be shared to as long as no two i2c devices have the same i2c address.  
Button shim pinout is here.

> **[Button SHIM at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/button_shim#)**
>
> 5 tacile switches and one RGB LED for the Raspberry Pi

  
And the Fan Shim pinout is here.  

> **[Fan SHIM at Raspberry Pi GPIO Pinout](https://pinout.xyz/pinout/fan_shim#)**
>
> Mini cooling fan shim for Raspberry Pi

Does the button shim need to be mounted remotely? If not, put the fan shim on the GPIO and then plug the button shim in on top of it.

---

<div class="post-metadata">

**Author:** ![JBlake](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@JBlake](https://forums.pimoroni.com/u/JBlake)\
**Post date:** [January 4, 2020, 11:51am UTC](https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639/3 "2020-01-04T11:51:42Z")

</div>

Ahh ok that’s great news!

Buttons won’t be accessible if mounted straight into the pi so yes unfortunately not as simple as just dropping it on top.

Thanks

---

<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:** [January 4, 2020, 12:02pm UTC](https://forums.pimoroni.com/t/fan-shim-button-shim-together/12639/4 "2020-01-04T12:02:30Z")

</div>

One way to do it is as follows.  
Get one of these

> **[Pico HAT Hacker – Pimoroni Store](https://shop.pimoroni.com/products/pico-hat-hacker)**
>
> The Black HAT Hacker in bijou form. It's Pico HAT Hacker!

  
and a female header  

> **[2x20 pin Female GPIO Header for Raspberry Pi – Pimoroni Store](https://shop.pimoroni.com/products/2x20-pin-gpio-header-for-raspberry-pi-2-b-a?variant=1132812261)**
>
> Connect your project directly to your Pi with these 2x20 pin GPIO headers!

  
Solder it up and plug it in onto of the fan shim.  
Then solder on the wires you need for your button shim on the second set of GPIO solder pads.  
It can be removed and or moved to another Pi without affecting the Pi GPIO’s.

You could also just get a female header, plug that in on top of the Fan Shim, and solder your button shim wires right to its pins. You just have to be really careful not to short any pins together.
