1

I have a blinkt pHat that covers the entire GPIO pin array and I'm trying to trigger changes to the LED array after an external prompt. I expected to use a momentary switch connected to the GPIO pins, but the blinkt covers all of the GPIO pins ... is there another set of contacts I can solder some pins to and create an additional spot for a switch, or is there a way to stack headers in such a way that I can "tee" into two pins, or otherwise access two of the GPIO pins?

This is on a pi zero w if it matters.

tlfong01
  • 4,847
  • 3
  • 12
  • 24
user3.1415927
  • 303
  • 1
  • 3
  • 15

1 Answers1

3

Question

How to access the GPIO pins blocked by a HAT?


Answer

There are many ways to access the GPIO pins blocked by the HAT, each with pros and cons, as summarized below.

(1) Small foot print double breakout, space saving, but rather expensive (Suggestion 1, 3).

(2) Ribbon cable, easy to access GPIO pins, but needs more space (Suggestion 2).

(3) Replace the built in adapter from HAT by DIY one. Easy and flexible, but might have poor contact problem. (Suggestion 4)

(4) Extend the connecting pins between Rpi PCB and HAT, and use DIY 2 wire to one pin wire, or solder / AWG30 wire wrapping. This needs middle level DIY skills (wire wrapping is very reliable, but needs skills and professional tools) (Suggestions 5 to 9).


Suggestion 1

40 pin header breakout


Suggestion 2

ribbon cable


Suggestion 3

header breakout


Suggestion 4

header breakout


Suggestion 5

forked pin


Suggestion 6

header 6


Suggestion 7

stackble header


Suggestion 8

long pin


Suggestion 9

header 8


Suggestion 10 - DIY or AliExpress/Amazon available stackable HAT

enter image description here


Suggestion 11 - Use Mini PCIe Update 2020jan14hkt0924

Mini PCI-e

Suggestion 12 - Hacking a ribbon cable update 2020jan14hkt1936

(1) Aligning and Crimping Ribbon Connectors

(2) Custom Cables & Guide to Crimping Dupont PCB Interconnect Cables

ribbon cable hacking


Suggestion 13 - WaveShare SIM7600 4G HAT

waveshare sim7600 hat


Suggestion 14 - AdaFruit PermaPro HAT

adafruit permapro hat

/ to continue, ...


References

(1) AliExpress Rpi GPIO stackable extra long 20 pin x 2 header - US$2

(2) AliExpress Ugeek Rpi 20x2 GPIO Header, stackable, double male, right angle male, female header - US$3

(3) AB Electronics Stackable Rpi HATs

(4) I2C Multiple Pin Wiring Discussion

(5) Adafruit Perma-Proto HAT for Rpi (No EEPROM)

(6) Rpi HAT Shopping Tips - Les Pounder 2020jun24

/ to continue, ...


Appendices

Appendix A - What is the difference between "HAT", "pHAT", and "bonnet" ?

pHAT usually referred to "partial" HAT, a small size HAT for RpiZero/W. Lady Ada calls it a "bonnet".

/ to continue, ...


End of answer

tlfong01
  • 4,847
  • 3
  • 12
  • 24