Does the Raspberry Pi have its own connectors for the 26 GPIO pins? If not what connectors do Pi users typically use for connecting these pins to peripherals?
You have a couple of options:
- Female to male jumper wires (for use with a breadboard),
- Alternatively you can add a set of female headers to the Pi and use the more common male to male jumper wires,
- You can use a floppy drive ribbon cable (because the cable has more pins than the Pi it will hang over the edge and prevent it from being used with a case/enclosure),
- You can make your own ribbon cable,
- Adafruit (and most other Pi suppliers) has a ribbon cable (also available in white though not linked) specifically made to fit the Pi that works with many of the available cases.
- They also offer a product called the Pi Cobbler which includes a cable, PCB and headers which make protoyping with a breadboard a breeze (this too is available in two styles)
For a more permanent installation I might use a ribbon cable and etch a custom PCB.
In the end which method you choose comes down to price, convenience, and how much you will be modifying your circuit.
The pins are standard 0.1 inch spacing pins, so you have a lot of options including
- ribbon cable with IDC connectors. Good option if you want to bring all the pins to another board using a single cable. Downside is that the IDC connectors have wide sides which means you must use one that completely covers the header.
- single pin crimp sockets. These are commonly found on jumper wires and often used for prototyping. Not a great soloution for final systems though as connecting and disconnecting the Pi is a pain.
- crimp pins in larger housings. These are readilly available from large electronics suppliers but the crimp tools can be a bit pricy. You can also sometimes salvage them with wires always attatched from scrap PC cases. These can be a good soloution if you want to connect to a group of pins but not the whole header or if you need wires going off from the header to a variety of places.
- various styles of board to board connector including ones with long square pins that allow stacking.
Unfortunately every brand has it's own names for these things, so finding them in supplier catalogues can be a bit tricky.
The connector types you may be looking for are called dupont connectors and have a pitch of 2.54mm. Searching for "dupont connector kits" should yield good results.
Otherwise, rectangular connectors can be found on the common electronics supply sites, such as Digi-Key or Mouser. You'd need to pull up rectangular connectors and narrow it down to the ones that have 2.54mm pitch.