Hi Colin,colinmower wrote:Hi,
I want to connect my Sense HAT to my Pi zero, but also add an IR controller. I thought from the pictures of Sense HAT that it already had passthrough GPIO pins, but when I received it I found that it doesn't unfortunately.
I'm not sure how I can do this - there is a Black HAT by Pimoroni which seems to breakout the GPIO onto another board with two sets of GPIO, but is this a sledgehammer to crack a nut? I don't really want all the extra boards and connectors if I can help it.
Any help or advice much appreciated!
The Sense HAT has a surface mounted GPIO header on it, with an 'extension header' already attached (See the bottom of the HAT release blog for an example). The header that is already attached to the Sense HAT can be removed (Remove it from the underside, its quite a tight fit and can be a struggle to get off first time) and then replaced with a GPIO header with extra tall pins so they stick out through the top.colinmower wrote: I want to connect my Sense HAT to my Pi zero, but also add an IR controller. I thought from the pictures of Sense HAT that it already had passthrough GPIO pins, but when I received it I found that it doesn't unfortunately.
You can use a Black HAT to achieve this, but obviously that's a bit bulky and more suited for testing on a desk, as opposed to use in a final product.colinmower wrote: I'm not sure how I can do this - there is a Black HAT by Pimoroni which seems to breakout the GPIO onto another board with two sets of GPIO, but is this a sledgehammer to crack a nut? I don't really want all the extra boards and connectors if I can help it.
The top header is soldered to the PCB, so can't be removed (at least not without breaking the board!). Its the bottom header you need to remove and replace with a header with longer pins.colinmower wrote: Many thanks for the replies, much appreciated.
Leo - I was hoping that I may be able to remove the header but I dared not try and prize it off, but that's fantastic news and solves the problem (but like you say I could get a clash if I try and use both together...that'll be a pain).
Do you know if I can just remove the top header (see photo) to expose the pins and sit my IR receiver onto those, or does the top and bottom header have to come off together leaving no pins, and therefore as you say I would need extra long ones in the zero to push through the HAT and the IR controller.
It took me a little while to work it out too. Especially as the header was stiff enough that I thought it wasn't meant to come out!colinmower wrote:Got it, understood - I see now how it's been put together - the top header was confusing me as it looked like it should come off. Glad I didn't try!
its always nice to have a visual example with this sort of thing!colinmower wrote: The video is perfect, thanks for pointing that out.
That's pretty much what I did, with the proto board looking like the attached.alphanumeric wrote:I have a Pi 2B with a sense hat attached. I plan on adding a Real Time Clock module. And maybe a few other odds and ends. What I am going to do is take one of these, https://www.adafruit.com/products/2310 and solder this to it, https://www.adafruit.com/products/2223 instead of the header that comes with it. I will then solder my RTC breakout board to the proto board and wire it up on the proto board. The proto board will then plug in between the Pi and the sense hat. .