

The 2.1mm DC Barrel Jack is a widely used electrical connector designed for supplying power to electronic devices. It features a cylindrical design with a 2.1mm inner diameter and a 5.5mm outer diameter, making it compatible with many standard power adapters. This component is commonly found in consumer electronics, DIY projects, and prototyping applications where a reliable and easy-to-use power connection is required.








The following are the key technical details of the 2.1mm DC Barrel Jack:
| Parameter | Specification |
|---|---|
| Inner Diameter | 2.1mm |
| Outer Diameter | 5.5mm |
| Voltage Rating | Typically up to 24V DC |
| Current Rating | Typically up to 5A |
| Connector Type | Female (socket) |
| Mounting Style | Panel mount or PCB mount |
| Polarity | Center pin positive (common) |
| Material | Metal contacts with plastic housing |
The 2.1mm DC Barrel Jack typically has three pins:
| Pin | Description |
|---|---|
| Center Pin | Positive terminal (commonly connected to the positive voltage of the power source). |
| Outer Sleeve | Negative terminal (commonly connected to ground). |
| Switch Pin | Optional pin used for detecting plug insertion or switching circuits (if available). |
The 2.1mm DC Barrel Jack is commonly used to power an Arduino UNO. Below is an example of how to connect it:
If you are using the barrel jack to power an Arduino UNO, you can upload the following code to test the board:
// Simple LED Blink Test for Arduino UNO
// Ensure the Arduino is powered via the 2.1mm DC Barrel Jack
const int ledPin = 13; // Built-in LED pin on Arduino UNO
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
No Power to the Circuit
Overheating of the Barrel Jack
Intermittent Power
Switch Pin Not Working
Q: Can I use a 2.5mm plug with a 2.1mm DC Barrel Jack?
A: No, a 2.5mm plug will not make proper contact with a 2.1mm jack, leading to unreliable connections.
Q: What is the maximum voltage I can use with this jack?
A: Most 2.1mm DC Barrel Jacks are rated for up to 24V DC, but always check the specific rating of your component.
Q: How do I identify the polarity of my power adapter?
A: Look for the polarity diagram on the adapter. A center-positive adapter will have a "+" symbol pointing to the center pin.
Q: Can I use this jack for AC power?
A: No, the 2.1mm DC Barrel Jack is designed for DC power only. Using AC power may damage the jack or connected devices.