OnOffShim wired away


#1

hi all
I’ll jump straight in.
Is it possible to connect the OnOff Shim to a Rpi Zero W with 5cm of cable so that it can be mounted out side of a casing? Also do all 12 pins need to be connected or just pins 1,2,6,7,9 and 11
Ta Muchly


#2

Pin out is here, https://pinout.xyz/pinout/onoff_shim# Looks like its 1,2,6,7,9 and 11 that are used.
You could just wire a button to the two BTN terminals, and have that outside your case. That would only be 2 wires.


#3

thanks for the confirmation, it’s as I thought. but I would like to keep the zero in the pibow unfortunately the onoff shim doesn’t fit to also add other shims (led shim) which I want to turn so can be seen from what is the underneath of the board. It’s for a time lapse cam with count down LEDs and shutdown button mounted on a gopro mount


#4

A ProtoZero https://shop.pimoroni.com/products/protozero may be an option. Or a Proto hat hacker https://shop.pimoroni.com/products/pico-hat-hacker.
Or use a stacking header on your LED shim, https://shop.pimoroni.com/products/2x20-pin-gpio-header-for-raspberry-pi-2-b-a?variant=1132812269 then put the on off shim on top of that.


#5

good options thanks. I’ll let you know how I get on


#6

If your going to order one or more of the above, might want to also get a set or two of these long Pibow extender bolts, https://shop.pimoroni.com/products/pibow-extender-bolt-pack


#7

I think if it was me I’d use the hat hacker. Plug it into the Pi with the stacking header instead of soldering to right to it. Then mount (plug in) the on off shim on top of that. It will be right over the Pi. Like in the picture, just swap the Blinkt with your on off shim. Then mount your LED shim to the other part that extends out in the open. Mount it to the second header in the picture that doesn’t have anything attached. Then put those extender bolts through the other holes in the Pibow case. The ones that line up with the mounting holes in the Pi. I’d order extra packs so you can rob the nuts to use a spacers etc.


#8

I like it. I’m thinking, add the headers and a header booster to the pico HAT as it will be detachable for the onoff shim as the gopro attachment interferes slightly and extend the LED shim around the “front” I’m pretty cool with a soldering iron as for the bolts they allways come in handy. So glad it fathers day tomorrow, I’ve got Pimoroni credit on order (again)


#9

You know better than anybody what you want and how you want it to look.;)
I’d double check you have pin 1 to pin 1 before you solder things in place. It’s easy to get something reversed and end up sending 5V where it should never go. =(