• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • Automotive
    • Connectivity
    • Consumer Electronics
    • Industrial
    • Medical
    • Security
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Videos
    • TI Microcontroller Videos
  • EE Resources
    • DesignFast
    • eBooks / Tech Tips
    • FAQs
    • LEAP Awards
    • Podcasts
    • Webinars
    • White Papers
  • EE Learning Center

How to accurately measure header/connector pitch

September 20, 2017 By Scott Thornton

Sometimes when you’re working with a microcontroller unit evaluation board, you need to connect a ribbon cable to the board’s header. If the ribbon cable isn’t specified, how do you know what to order that will fit the header on the MCU board? The pitch of a connector refers to the distance between the pins on a connector. If you don’t have a datasheet or a known part number for a connector, determining the pitch of the connector can be difficult, especially if the distance between the pins (pitch) is very small (often the case).

A pin header, often simply called a header, is an electrical connector with one or more rows of exposed male pins set in a plastic base. A header with female connections is referred to as a header connector. A header or header connector is often a main junction or connection point for interfacing one piece of equipment or device to another. Headers are used to connect with a ribbon cable, or as “jumpers” where electrical connections are made from pin-to-pin or where alligator clips can be temporarily attached.

Figure 1: The pitch of a header is measured from the center of one pin to the next (A). For accuracy, one can also measure from outside edge of the first pin to the inside edge of the last pin (B), in which case A = B/(C-1). (Source: KCR)

A jumper can also be called a shunt and is used to quickly connect one pin or terminal to another. Many development boards use a jumper instead of a switch. For example, you might have to set a jumper for boot-up mode and then move the jumper to another position for programming mode. A header with just one pin is a test point. Other names for headers are: board-to-board connectors (for connecting printed circuit boards to each other), terminal strips, pin strip headers (usually a single row of pins set in a plastic base) and board stackers (since they can be used to set a daughter card, for instance, on top of another board). For the newest of newbies, you might want to know that a male connector has pins and a female connector is also called a receptacle and has holes. Putting them together is called mating (I didn’t make this stuff up, folks. But someone has to tell the newbies about the birds and the bees in the electronics world.)

Connector pitch (distance between pins)

The pitch of a header is measured from the center of one pin to the next (Figure 1, measurement A). If that’s difficult to do with accuracy, you can measure pitch another way. Referring to Figure 1, to measure the pitch (A) of a pin header, measure from the outside edge of the first pin to the inside edge of the last pin (B). Then count the number of pins in the row (C). The pitch, equivalent to A, is equal to B/(C-1), or A = B/(C-1).

If there are two or more rows of pins on the header, then you will want to measure the distance between each row as well. The pitch of the connector is not always the same as the pitch of the ribbon cable, however. A two-row connector with pin spacing at 0.1 inches (2.54 mm) will require a ribbon cable pitch at half of the connector mating pitch, or 0.05 inch (1.27 mm, the most common pitch on ribbon cables).

Figure 2: Ribbon cable is usually either gray or rainbow. The red stripe is intended to indicate the pin one conductor of the gray cable. The header on the rainbow cable is an IDC connector header and cuts through cable insulation and somewhat into the conductors in the ribbon cable so as to make a good electrical conductor.  (Source: Wikipedia, User: Heron)

To measure the pitch of a ribbon cable, measure the cable from outside-edge to outside-edge of the cable, then divide by the number of conductors. Ribbon cable conductors are also called “ways.” This means that a ribbon cable with eight conductors would be called 8-way ribbon cable. Most rainbow-hued ribbon cables are colored in order of resistor values. The red stripe of an all-gray ribbon cable usually means that the red conductor is connected to pin 1.

 

Filed Under: FAQ, Featured, microcontroller Tagged With: basics, FAQ

Primary Sidebar

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

EE Training Center Classrooms

EE Classrooms

CURRENT DIGITAL ISSUE

Featuring 15 articles, the 2022 5G Handbook looks at private networks, timing, connectivity, latency, mmWaves, test, and other topics.

Digital Edition Back Issues

Subscribe to our Newsletter

Subscribe to weekly industry news, new product innovations and more.

Subscribe today

RSS Current EDABoard.com discussions

  • USB hub IC heatup
  • Resistor across crystal for biasing the internal op-amp
  • Photovoltaic MOSFET Drivers - Voltage Rating
  • A circuit that can adjust a resistance and probing a voltage node
  • Modeling Parallel Wire Transmission Line

RSS Current Electro-Tech-Online.com Discussions

  • Setting the 18F24K20 to digital.
  • Multistage BJT amplifier
  • Ampro 16mm Stylist projector woes.
  • Need help using a common power supply for two devices
  • NXP i.MX8 board vs Raspberry Pi?

Footer

Microcontroller Tips

EE World Online Network

  • DesignFast
  • EE World Online
  • EDA Board Forums
  • Electro Tech Online Forums
  • Connector Tips
  • Analog IC Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire and Cable Tips
  • 5G Technology World

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on TwitterAdd us on FacebookFollow us on YouTube Follow us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy