# DIY USB Cable Aviation Connector Retro-Fit

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/104/645/medium800/hacks_aviat-2800.jpg?1631716828)

Add some locking, quick-connection points to a USB cable for fun and style! These can be useful in cases where access to USB ports is difficult or connections are delicate, but who are we kidding -- these are especially great for making your keeb or cyberdeck rig look rad!

You can also create multiple "device side" cable halves with different connectors, such as USB micro-B, USB C, and USB mini, so that you can plug in a variety of devices without needing to unplug fragile USB plugs - just use your highly beefy YC-8 connectors!

![](https://cdn-learn.adafruit.com/assets/assets/000/104/643/medium800/hacks_aviat-2801.jpg?1631716786)

Warning: Note: introducing a bunch of stuff in the middle of a USB cable isn't great for keeping things to USB spec, and it makes the USB cable not hot-swappable. Don't use them on USB 3 cables, high speed external drives, or mission critical medical device etc.

Best for mechanical keyboards and the like!

![](https://cdn-learn.adafruit.com/assets/assets/000/104/644/medium800/hacks_aviat-2803.jpg?1631716802)

## Parts
Featured
### Fully Reversible Pink/Purple USB A to micro B Cable - 1m long

[Fully Reversible Pink/Purple USB A to micro B Cable - 1m long](https://www.adafruit.com/product/4111)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also fully reversible! That's right, you will save _seconds_ a day by not having to flip the cable around.

First let's talk about the cover and over-molding. We got these...

In Stock
[Buy Now](https://www.adafruit.com/product/4111)
[Related Guides to the Product](https://learn.adafruit.com/products/4111/guides)
![Fully Reversible Pink/Purple USB A to micro B Cable](https://cdn-shop.adafruit.com/640x480/4111-02.jpg)

Featured
### Pink and Purple Woven USB A to USB C Cable - 1 meter long

[Pink and Purple Woven USB A to USB C Cable - 1 meter long](https://www.adafruit.com/product/5153)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also made for USB C for our modernized breakout boards, Feathers, and more.&nbsp;&nbsp;[If you want something just like it but for Micro B, we...](https://www.adafruit.com/product/4111)

Out of Stock
[Buy Now](https://www.adafruit.com/product/5153)
[Related Guides to the Product](https://learn.adafruit.com/products/5153/guides)
![Angled shot of coiled pink and purple USB cable with USB A and USB C connectors.](https://cdn-shop.adafruit.com/640x480/5153-02.jpg)

Featured
### Pre-Cut Multi-Colored Heat Shrink Pack Kit - 280 pcs

[Pre-Cut Multi-Colored Heat Shrink Pack Kit - 280 pcs](https://www.adafruit.com/product/4559)
Heat shrink is the duct tape of electronics which we guess makes this heat shrink the colorful and exciting duct tape they sell&nbsp;at craft stores. &nbsp;This pack contains heat shrink tubes&nbsp;in five different colors - red, blue, aqua, yellow, and the classic Adafruit black.

Each...

In Stock
[Buy Now](https://www.adafruit.com/product/4559)
[Related Guides to the Product](https://learn.adafruit.com/products/4559/guides)
![Opened box full of short lengths of multi color heat shrink](https://cdn-shop.adafruit.com/640x480/4559-01.jpg)

Featured
### High Temperature Polyimide Tape - 1cm wide x 33 meter roll

[High Temperature Polyimide Tape - 1cm wide x 33 meter roll](https://www.adafruit.com/product/3057)
 **Polyimide Tape** (sometimes referred to by the brand name **Kapton Tape** ) is an interesting addition to your toolbox! Polyimide Tape remains stable across a wide range of temperatures&nbsp;from about −269°C to +400°C.&nbsp;Along with aircraft,...

In Stock
[Buy Now](https://www.adafruit.com/product/3057)
[Related Guides to the Product](https://learn.adafruit.com/products/3057/guides)
![High Temperature Polyimide Tape - 1cm wide](https://cdn-shop.adafruit.com/640x480/3057-01.jpg)

## Tools
Featured
### Multi-size wire stripper & cutter

[Multi-size wire stripper & cutter](https://www.adafruit.com/product/147)
We've upgraded our basic 'adjustable' wire strippers to these multi-sized wire strippers. They include: 20-30 AWG strippers, wire cutters, 'plier' tips, and a wire loop. Ground blades for precision cutting. Spring return, comfy molded handles and a closing-lock.  
<br...></br...>

In Stock
[Buy Now](https://www.adafruit.com/product/147)
[Related Guides to the Product](https://learn.adafruit.com/products/147/guides)
![Closed Multi-size wire stripper  and wire cutter](https://cdn-shop.adafruit.com/640x480/147-05.jpg)

You'll also need:

- Soldering iron and solder
- Scissors
- Heat source for heat shrink tubing

# DIY USB Cable Aviation Connector Retro-Fit

## Wiring

## Wiring Chart

There are four conductors in a USB 1.1/2.0 cable to wire up in the cable connectors:

- **Red** (positive voltage)&nbsp; **VCC** 
- **White** (negative data)&nbsp; **D-**
- **Green** (positive data) &nbsp; **D+**
- **Black** (ground) **GND**

![hacks_wiring.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/624/medium640/hacks_wiring.jpg?1631714815)

## Connector Numbering

The aviation connectors have solder lugs with the pin numbers labeled in the plastic molding. They are pretty tiny and have the numbers spaced confusingly (why are the numbers evenly/ambiguously spaced between the pins?!), so we've created these diagrams and photos to help.

The connectors are keyed with a notch at the top to aid in orientation, as well. This is important because the connectors can only be coupled one way.

![](https://cdn-learn.adafruit.com/assets/assets/000/104/627/medium800/hacks_solder2.jpg?1631715069)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/639/medium800/hacks_aviat-2928.jpg?1631715840 Socket Front)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/640/medium800/hacks_aviat-2926.jpg?1631715853 Socket Back (solder side))

![](https://cdn-learn.adafruit.com/assets/assets/000/104/625/medium800/hacks_solder1.jpg?1631715010)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/641/medium800/hacks_aviat-2930.jpg?1631715897 Pins Front)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/642/medium800/hacks_aviat-2929.jpg?1631715916 Pins Back (solder side))

# DIY USB Cable Aviation Connector Retro-Fit

## Assembly

## Cable Thickness

Getting the proper cable thickness is the key to a strong connection. The YC-8 connectors grip the cable when they are screwed down tightly.

You'll use heat shrink tubing to bulk up the woven fabric USB cable shown here and give it a better grip.

The connector housing's grip flanges can accommodate a cable thickness of 4.5mm to 5mm.

Note here how the inside diameter of the housing crimps from ~5mm down to 4.25mm when it is properly tightened.

![hacks_aviat-2940.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/654/medium640/hacks_aviat-2940.jpg?1631726627)

![hacks_aviat-2941.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/655/medium640/hacks_aviat-2941.jpg?1631726634)

![hacks_aviat-2942.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/656/medium640/hacks_aviat-2942.jpg?1631726641)

We can see the cable's outside diameter is about 3.5mm.

One layer of the heat shrink tubing brings it to about 4.2mm.

Two layers gets us to a nearly idea 4.54mm!

![hacks_aviat-2937.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/657/medium640/hacks_aviat-2937.jpg?1631726740)

![hacks_aviat-2939.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/658/medium640/hacks_aviat-2939.jpg?1631726752)

![hacks_aviat-2938.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/659/medium640/hacks_aviat-2938.jpg?1631726760)

## Cut the Cable

First, cut your USB cable with some sharp diagonal cutters about 1/3rd of the way from the device end of the cable (the non USB A side).

Wrap some Kapton tape around the fabric to prevent it from bunching up when adding heat shrink later.

Strip away the outer sheath to expose the conductors.

![hacks_aviat-2772.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/427/medium640/hacks_aviat-2772.jpg?1631135784)

![hacks_aviat-2773.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/429/medium640/hacks_aviat-2773.jpg?1631136075)

## Slide on the Connector

Disassemble one connector and slide the parts over the cable as shown.

Repeat for both sides.

![hacks_aviat-2775.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/430/medium640/hacks_aviat-2775.jpg?1631136151)

## Add Heat Shrink Tubing

Cut two lengths of 4.5/2.25 heat shrink tubing, about 40mm in length.

Slide one piece over the cable and heat it, then repeat with the second piece.

This will give us the diameter needed for the cable assembly to tighten down properly.

![hacks_aviat-2778.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/431/medium640/hacks_aviat-2778.jpg?1631136552)

![hacks_aviat-2781.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/432/medium640/hacks_aviat-2781.jpg?1631136560)

![hacks_aviat-2782.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/433/medium640/hacks_aviat-2782.jpg?1631136569)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/463/medium800/hacks_aviat-2761.jpg?1631323639)

## Strip Conductor Wires

Strip about 1mm of insulation from each of the four conductor wires.

![hacks_aviat-2783.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/461/medium640/hacks_aviat-2783.jpg?1631323591)

## Solder the Wires

Follow the pin diagram from the Wiring page of this guide and carefully solder each conductor to the associated solder lug.

Be mindful of which connector corresponds to which housing, they are not identical.

![hacks_aviat-2762.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/464/medium640/hacks_aviat-2762.jpg?1631323741)

![hacks_aviat-2763.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/466/medium640/hacks_aviat-2763.jpg?1631323850)

![hacks_aviat-2764.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/467/medium640/hacks_aviat-2764.jpg?1631323860)

## Insulate

Use Kapton tape to insulate the soldered lugs before screwing on the housing.

![hacks_aviat-2765.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/468/medium640/hacks_aviat-2765.jpg?1631323884)

![hacks_aviat-2793.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/469/medium640/hacks_aviat-2793.jpg?1631323924)

## Screw Together the Connector Housing

Holding the soldered connector in place so it does not twist and place strain on the soldered wiring, thread the housing on.

You may want to use small wrenches or pliers to get this on tight, which is what causes the connector to grip the heat shrink tubing and wire sheathing.

![hacks_aviat-2766.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/470/medium640/hacks_aviat-2766.jpg?1631323977)

![hacks_aviat-2768.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/471/medium640/hacks_aviat-2768.jpg?1631323995)

![hacks_aviat-2770.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/472/medium640/hacks_aviat-2770.jpg?1631324007)

![](https://cdn-learn.adafruit.com/assets/assets/000/104/477/medium800/hacks_aviat-2771.jpg?1631324030)

## Repeat

Repeat the entire soldering process for the other cable half, and then insulate the wiring.

Holding the soldered connector in place so it does not twist and place strain on the soldered wiring, thread the housing on.

You may want to use small wrenches or pliers to get this on tight, which is what causes the connector to grip the heat shrink tubing and wire sheathing.

![hacks_aviat-2794.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/484/medium640/hacks_aviat-2794.jpg?1631324056)

![hacks_aviat-2795.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/485/medium640/hacks_aviat-2795.jpg?1631324064)

![hacks_aviat-2796.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/486/medium640/hacks_aviat-2796.jpg?1631324071)

![hacks_aviat-2797.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/487/medium640/hacks_aviat-2797.jpg?1631324080)

![hacks_aviat-2799.jpg](https://cdn-learn.adafruit.com/assets/assets/000/104/488/medium640/hacks_aviat-2799.jpg?1631324104)

## Connection!

You can now plug the cable halves together and use your USB cable. To separate the YC-8 connectors, retract the spring loaded collar and then pull the halves apart.

![](https://cdn-learn.adafruit.com/assets/assets/000/104/646/medium800/hacks_aviat-2803.jpg?1631717280)


## Guide Products

### YC-8 Quick Release 4 Pin Connector Matching Pair

[YC-8 Quick Release 4 Pin Connector Matching Pair](https://www.adafruit.com/product/5144)
If you want the look and feel of aeronautical style quick-release connectors, this **YC-8 4-pin Connector Matching Pair** is an elegant and inexpensive alternative. Sure, they're not mil-spec but they do work and look great for DIY projects, keyboard builds, robotics,...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/5144)
[Related Guides to the Product](https://learn.adafruit.com/products/5144/guides)
### Fully Reversible Pink/Purple USB A to micro B Cable - 1m long

[Fully Reversible Pink/Purple USB A to micro B Cable - 1m long](https://www.adafruit.com/product/4111)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also fully reversible! That's right, you will save _seconds_ a day by not having to flip the cable around.

First let's talk about the cover and over-molding. We got these...

In Stock
[Buy Now](https://www.adafruit.com/product/4111)
[Related Guides to the Product](https://learn.adafruit.com/products/4111/guides)
### Pink and Purple Woven USB A to USB C Cable - 1 meter long

[Pink and Purple Woven USB A to USB C Cable - 1 meter long](https://www.adafruit.com/product/5153)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also made for USB C for our modernized breakout boards, Feathers, and more.&nbsp;&nbsp;[If you want something just like it but for Micro B, we...](https://www.adafruit.com/product/4111)

Out of Stock
[Buy Now](https://www.adafruit.com/product/5153)
[Related Guides to the Product](https://learn.adafruit.com/products/5153/guides)
### Pre-Cut Multi-Colored Heat Shrink Pack Kit - 280 pcs

[Pre-Cut Multi-Colored Heat Shrink Pack Kit - 280 pcs](https://www.adafruit.com/product/4559)
Heat shrink is the duct tape of electronics which we guess makes this heat shrink the colorful and exciting duct tape they sell&nbsp;at craft stores. &nbsp;This pack contains heat shrink tubes&nbsp;in five different colors - red, blue, aqua, yellow, and the classic Adafruit black.

Each...

In Stock
[Buy Now](https://www.adafruit.com/product/4559)
[Related Guides to the Product](https://learn.adafruit.com/products/4559/guides)
### High Temperature Polyimide Tape - 1cm wide x 33 meter roll

[High Temperature Polyimide Tape - 1cm wide x 33 meter roll](https://www.adafruit.com/product/3057)
 **Polyimide Tape** (sometimes referred to by the brand name **Kapton Tape** ) is an interesting addition to your toolbox! Polyimide Tape remains stable across a wide range of temperatures&nbsp;from about −269°C to +400°C.&nbsp;Along with aircraft,...

In Stock
[Buy Now](https://www.adafruit.com/product/3057)
[Related Guides to the Product](https://learn.adafruit.com/products/3057/guides)
### Multi-size wire stripper & cutter

[Multi-size wire stripper & cutter](https://www.adafruit.com/product/147)
We've upgraded our basic 'adjustable' wire strippers to these multi-sized wire strippers. They include: 20-30 AWG strippers, wire cutters, 'plier' tips, and a wire loop. Ground blades for precision cutting. Spring return, comfy molded handles and a closing-lock.  
<br...></br...>

In Stock
[Buy Now](https://www.adafruit.com/product/147)
[Related Guides to the Product](https://learn.adafruit.com/products/147/guides)

## Related Guides

- [Qualia 3D Printed Cases](https://learn.adafruit.com/qualia-3d-printed-cases.md)
- [SNES Mouse to USB HID with CircuitPython](https://learn.adafruit.com/snes-mouse-to-usb-hid-with-circuitpython.md)
- [PyPortal 2FA TOTP Authentication Friend](https://learn.adafruit.com/pyportal-2fa-totp-authentication-friend.md)
- [Color Remote with Circuit Playground Bluefruit](https://learn.adafruit.com/color-remote-with-circuit-playground-bluefruit.md)
- [MIDI Solenoid Drum Kit](https://learn.adafruit.com/midi-solenoid-drum-kit.md)
- [Qualia S3 Space Clock](https://learn.adafruit.com/qualia-s3-space-clock.md)
- [PyLeap ESP32-S3 TFT Boxing Glove Tracker w/ Adafruit IO](https://learn.adafruit.com/esp32-s2-tft-boxing-glove-tracker-w-adafruit-io.md)
- [A Floppy Thumb Drive with a Color File Icon Display](https://learn.adafruit.com/a-floppy-thumb-drive-with-a-color-file-icon-display.md)
- [Circle of Fifths Euclidean Synth with synthio and CircuitPython](https://learn.adafruit.com/circle-of-fifths-euclidean-synth-with-synthio-and-circuitpython.md)
- [Getting Started with Microsoft Azure and CircuitPython](https://learn.adafruit.com/getting-started-with-microsoft-azure-and-circuitpython.md)
- [MIDI for Makers](https://learn.adafruit.com/midi-for-makers.md)
- [Case for Feather RP2040 USB Host](https://learn.adafruit.com/case-for-feather-rp2040-usb-host.md)
- [Blurry Analog Clock](https://learn.adafruit.com/blurry-analog-clock.md)
- [CircuitPython Day 2020 Countdown Clock](https://learn.adafruit.com/circuitpython-day-2020-countdown-clock.md)
- [Breadboards for Beginners](https://learn.adafruit.com/breadboards-for-beginners.md)
