6

I got a Speaker pHAT for my Pi Zero. According to the pinout, it only uses 5 GPIO pins, so plenty of room to add something else.

The problem is, I'm not sure what's the best way to physically attach something after the hat is attached.

Two solutions come to mind:

  1. Soldiering a wire directly to the pin on the other side of either the Pi or the hat. The downside here is that it would be permanent.

  2. Wire wrapping around the male header between the Pi and the HAT. The 11mm header seems useful here as an extension of sorts, as it leaves plenty of room to wire wrap when attached:

hat with 11mm header

However, wire wrapping sounds flimsy at best.

Is there an elegant alternative to wire wrapping or perhaps some other means of attaching something to one of the unused pins when the HAT is on? Something like a ring tongue terminal that I could put on a single GPIO pin perhaps?

If not, what's the best way to go ahead with wire wrapping (i.e. any tips and tricks)?

fstanis
  • 206
  • 2
  • 4

2 Answers2

1

How about using a header that has extra long pins so that they stick as far past the speaker pHat as pins would normally stick? I'm thinking something like this: https://www.adafruit.com/product/2223

honi
  • 175
  • 5
0

You could check on https://pinout.xyz/ which pins are actually needed by the HAT and use jumper wires to connect them, leaving the remaining ones accessible.

aleb
  • 173
  • 5