Description
Here is an easy solution for extending your Raspberry Pi's GPIO capabilities. This is a 40-pin FPC to Right Angle 2x20 IDC Female Socket Header Adapter.
Use this adapter to extend all 40 pins for flexibility. Simply plug the socket side into your Raspberry Pi. Then, keeping an eye on Pin 1, insert your FPC ribbon cable into the 40-pin flex connector.
You can use any 40-pin wide, 0.5mm pitch, 0.3mm thick connector, FPC with 'A-B' connections. If you want to extend the FPC, a 40-pin extender can be snapped on. Finally, you can use a matching adapter board to connect your HAT or bonnet of choice on the other end.
Note that some HATs, like the Sense HAT or Bonnets with a slim connector on the bottom, may need or benefit from adding a socket 'riser' or 'lifter' to give the cable more connector body to grip onto. If there isn't a chunky connector on the bottom of the HAT, pick up a riser!
Technical Details: