The barrel jack connector — also called a DC barrel connector or DC power jack — is one of the most common power connectors in electronics. Used on everything from Arduino boards to routers, LED drivers, and CCTV cameras, these cylindrical connectors come in several sizes that are easily confused. This guide covers all barrel jack sizes, the critical 5.5mm vs 3.5mm distinction, inner pin diameters, current ratings, and how to select the right one for your project.
Table of Contents
- Barrel Jack Connector Basics
- Standard Barrel Jack Sizes
- 5.5mm Outer Diameter Connectors (Most Common)
- 3.5mm Outer Diameter Connectors
- Polarity: Centre Positive vs Centre Negative
- Current Ratings and Wire Gauge
- Barrel Jack on Arduino and Raspberry Pi
- Frequently Asked Questions
Barrel Jack Connector Basics
A barrel jack connector has two contact surfaces: an outer cylindrical sleeve (negative in most consumer electronics) and a central pin (positive in most consumer electronics). The connector mates with a barrel plug on the cable or power adapter. The key dimension is the outer diameter of the socket, but the inner pin diameter is equally important for compatibility.
The most confusing aspect: two connectors with the same outer diameter but different inner pin diameters look nearly identical but will not mate properly (a smaller pin fits loosely in a larger socket, making intermittent contact).
Standard Barrel Jack Sizes
| Outer Diameter | Inner Pin Diameter | Common Notation | Typical Application |
|---|---|---|---|
| 2.5mm OD | 0.7mm ID | 2.5/0.7 | Very small devices, old mobile chargers |
| 3.5mm OD | 1.35mm ID | 3.5/1.35 | Small electronics, Raspberry Pi accessories |
| 4.0mm OD | 1.7mm ID | 4.0/1.7 | Some laptops, CCTV cameras |
| 5.5mm OD | 2.1mm ID | 5.5/2.1 | Arduino, most 12V adapters, LED drivers |
| 5.5mm OD | 2.5mm ID | 5.5/2.5 | Higher-power adapters, some CCTV systems |
| 6.3mm OD | 3.0mm ID | 6.3/3.0 | High-power adapters, older laptops |
5.5mm Outer Diameter Connectors (Most Common)
The 5.5mm outer diameter barrel connector is by far the most common size in electronics, used for power adapters from 5V to 24V. Within this outer diameter, there are two inner pin sizes you must distinguish:
5.5mm / 2.1mm (Most Common)
- The global standard for 12V power adapters and electronics
- Used on Arduino UNO, Arduino Mega, Arduino GIGA, and most Arduino-compatible boards
- Used on most 12V CCTV camera power supplies in India
- 12V LED driver adapters, router power adapters
- Current capacity: up to 5.5A depending on connector quality
5.5mm / 2.5mm
- Slightly larger pin than 2.1mm — a 2.1mm plug fits loosely in a 2.5mm socket
- Common on older Lenovo laptop chargers, some industrial power supplies
- Harder to find in India — most shops only stock the 2.1mm variant
- Higher current capability (up to 7A for quality connectors)
3.5mm Outer Diameter Connectors
Do not confuse the 3.5mm DC barrel connector with the 3.5mm audio jack (TRS connector) — they look similar but are for completely different purposes and will not mate.
3.5mm / 1.35mm
- Common on 5V and 9V wall adapters for smaller devices
- Adafruit accessories, some Raspberry Pi HATs, small IoT sensors
- Current capacity: up to 2A
- Not commonly stocked in Indian local electronics shops — order online
Polarity: Centre Positive vs Centre Negative
The vast majority of modern consumer electronics and all Arduino-compatible boards use centre-positive polarity (inner pin = positive, outer sleeve = negative). This is the IEC standard for class II equipment and virtually all Indian power adapters.
However, some specialised equipment uses centre-negative polarity. The universal symbol for polarity on power adapters:
Centre Positive (standard):
The adapter label shows: [- ( +] or [- (C+] or (+) in centre
Centre Negative (rare):
The adapter label shows: [+ ( -] or [+ (C-] or (-) in centre
Used in centre-negative applications:
- Some Boss guitar effects pedals (9V, 200mA)
- Some vintage Casio keyboards
- Certain industrial sensors
Connecting reverse polarity = immediate damage to most electronics!
Always check adapter polarity BEFORE connecting to your device.
Current Ratings and Wire Gauge
Barrel jack connectors have a maximum current rating based on contact area and plating quality:
- Standard 5.5/2.1mm (brass, tin-plated): 2.5A maximum
- Premium 5.5/2.1mm (brass, nickel-plated): 5.5A maximum
- High-current 5.5/2.5mm: 7A maximum
- 3.5/1.35mm: 2A maximum
For currents above 5A, consider upgrading to XT60, EC5, or M12 circular connectors. Many Indian electronics shops sell cheap barrel jack connectors rated only to 2A even though labelled for 5.5/2.1mm — always buy from reputable sources for power-critical applications.
Recommended Wire Gauge for Barrel Jack Connections
- Up to 2A: 22 AWG (0.5mm²)
- 2A to 5A: 20 AWG (0.75mm²) to 18 AWG (1.0mm²)
- 5A to 7A: 16 AWG (1.5mm²)
Barrel Jack on Arduino and Raspberry Pi
Arduino UNO, Mega, and compatible boards use a 5.5mm/2.1mm centre-positive barrel jack. The onboard voltage regulator (NCP1117 or AMS1117) accepts 7-12V DC. Do not use more than 12V — the regulator dissipates excess voltage as heat.
Raspberry Pi 4 uses a USB-C power input, not a barrel jack. Raspberry Pi 3 and 3B+ use Micro-USB. Only older Raspberry Pi models (1 and 2) use the Micro-USB barrel-style connector.
Common power supply connections for Indian makers:
- 12V 2A adapter with 5.5/2.1mm jack: Rs 150-250 at local shops or online — works perfectly for Arduino
- USB-C to 5.5/2.1mm converter cable: Available for Rs 100-200 to power 5V Arduino from USB-C power bank
- 9V battery snap to 5.5/2.1mm: Rs 30-50, common for portable Arduino projects
Frequently Asked Questions
How do I measure which barrel jack size I need?
Use a digital caliper to measure the outer diameter of the plug (not the socket). Then carefully measure the inner pin diameter. Alternatively, take the existing adapter or device to a local electronics shop and physically test fit options.
Why does my 12V adapter get hot with a 5.5/2.5mm plug in a 5.5/2.1mm socket?
When a 2.5mm pin is inserted in a 2.1mm socket, the fit is loose, causing high contact resistance (arcing). This resistance generates heat and can be a fire hazard. Always match pin diameter to socket diameter exactly.
Can I use a 9V battery to power Arduino via barrel jack?
Yes, 9V batteries (PP3/6F22 type) with a snap-to-barrel-jack adapter work fine for Arduino UNO. The onboard regulator converts 9V to 5V. However, 9V PP3 batteries drain fast (200-500mAh capacity vs 2000mAh for a 2500mAh 18650 cell) — use only for testing and short-duration projects.
Where can I buy a 5.5/2.1mm panel mount socket in India?
Panel mount barrel jack sockets are available at SP Road (Bengaluru), Lamington Road (Mumbai), Nehru Place (Delhi), and online from Robu.in, Amazon India, and Sunrom Technologies. They cost Rs 10-30 each for standard through-hole PCB mount and Rs 20-50 for panel mount versions.
Add comment