Newbie here, I'm sorry if its a stupid question.

I have a project in which I need both touch input and LED output on my Raspberry Pi zero w.

The LED output (Neopixels) will need the 5V, the GPIO18 and one Ground pin. I got this working and everything is fine.

Additionally I would like to purchase this, which seems to take all the GPIO pins, correct?

How can I go about this? Does the HAT really need all pins? Is there a solution to this problem?

1 Answer 1


You would need to ask Adafruit about which GPIO are available when using that HAT.

https://pinout.xyz/ has details for some HATs.

Some HATs propagate the header pins on the HAT itself. If yours does that will make it easier to get physical access to the GPIO.

  • Thanks. Here are the GPIO pins that the HAT uses. According to that it only takes two GPIO. But as you said, how to get access to the GPIO pins after the HAT is on there? HATs usually gets soldered on and therefore blocking access to all GPIO pins. Is there a workaround for that?
    – marco56
    Commented Feb 3, 2018 at 16:12
  • This HAT has headers included which must be soldered on. You could buy some stacking headers and solder them on instead, which will give you access to the pins from the top of the HAT.
    – NomadMaker
    Commented Feb 3, 2018 at 17:00
  • @NomadMaker So stick the stacking headers on top of the pi, and basically put the HAT on these and the pins will stick out far enough to use something else on it as well?
    – marco56
    Commented Feb 3, 2018 at 17:27
  • Did you look at the headers on the link? You use those headers for the HAT, and when soldered in with the female side down, the pins on top will be about the size of the normal Raspberry Pi pins. You could use these pins just like the normal Raspberry Pi pins.
    – NomadMaker
    Commented Feb 3, 2018 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.