User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

male vs female gpio pins?

Thu May 28, 2015 12:50 pm

From the day i first started using the gpio pins on my pi, one thing bugs me is that why are the gpio headers on the pi male and not female. Up front the male headers are notorious for getting bent and short by random wiers, on the other hand female header prevents that from happening.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

Heater
Posts: 15832
Joined: Tue Jul 17, 2012 3:02 pm

Re: male vs female gpio pins?

Thu May 28, 2015 1:21 pm

Good question, I have no idea, I have have all kind of boards with male headers, it just seems to be the way thing are done.

On a practical front if you are connecting boards and equipment with flat ribbon cables then you don't want the male pins on the ribbon cable where they are likely to get bent and shorted to other things. Think IDE hard drives and all kind of other things.

Perhaps it make a bit less sense if the intended use is for prototyping and poking odd wires into the header where sockets would be more convenient, like on the Arduino.
Memory in C++ is a leaky abstraction .

User avatar
mikronauts
Posts: 2778
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: male vs female gpio pins?

Thu May 28, 2015 1:43 pm

I think the reason is:

male headers tend to be cheaper than female headers
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

User avatar
Forrrge
Posts: 120
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.

Re: male vs female gpio pins?

Thu May 28, 2015 2:00 pm

You could always just get one of these, female connector at both ends.

http://www.amazon.co.uk/PCSL-Brand-Rasp ... GPIO+Cable

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: male vs female gpio pins?

Thu May 28, 2015 2:34 pm

And we have a winner!
mikronauts wrote:I think the reason is:

male headers tend to be cheaper than female headers
Doug.
Building Management Systems Engineer.

Return to “General discussion”