Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use 2.1mm DC Barrel Jack: Examples, Pinouts, and Specs

Image of 2.1mm DC Barrel Jack
Cirkit Designer LogoDesign with 2.1mm DC Barrel Jack in Cirkit Designer

Introduction

The 2.1mm DC barrel jack is a widely used electrical connector designed for power supply connections in electronic devices. It features a cylindrical design with a 2.1mm inner diameter and a 5.5mm outer diameter, making it compatible with standard DC power plugs. This component is commonly used in projects requiring a reliable and secure power connection, such as Arduino-based systems, small appliances, and DIY electronics.

Explore Projects Built with 2.1mm DC Barrel Jack

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Multi-Voltage Supply with Barrel Jack Connectors
Image of Battery Setup: A project utilizing 2.1mm DC Barrel Jack in a practical application
This circuit consists of multiple 9V batteries connected in series and parallel configurations to provide power to three separate 2.1mm barrel jacks. Each barrel jack receives a different combination of series and parallel battery connections to achieve the desired voltage and current levels.
Cirkit Designer LogoOpen Project in Cirkit Designer
Multi-Channel Load Cell Measurement System with JYS60 Amplifiers and DAQ Integration
Image of Load Cell Circuit: A project utilizing 2.1mm DC Barrel Jack in a practical application
This is a multi-channel load cell measurement system with several JYS60 amplifiers connected to load cells for weight or force sensing. The amplified signals are directed to a DAQ system for data capture, and power is supplied through a barrel jack. Grounding is achieved via an AdaGator Side Black component.
Cirkit Designer LogoOpen Project in Cirkit Designer
PWM-Controlled DC Motor Speed Regulator with DC Barrel Jack Power Input
Image of Siren: A project utilizing 2.1mm DC Barrel Jack in a practical application
This circuit controls the speed of a DC motor using a 12V PWM speed controller. Power is supplied to the speed controller through a 2.1mm DC barrel jack, which then modulates the voltage and current to the motor's terminals to adjust its speed. There is no microcontroller code involved, indicating that the speed control is likely adjusted manually via the speed controller's onboard settings.
Cirkit Designer LogoOpen Project in Cirkit Designer
LED Indicator Circuit with Dual Rocker Switches and Resistors
Image of Light panel control - simple: A project utilizing 2.1mm DC Barrel Jack in a practical application
This circuit is a simple LED control system powered by a DC barrel jack. It uses two SPST rocker switches to control the current flow through two resistors and a green LED, allowing the LED to be turned on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 2.1mm DC Barrel Jack

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Battery Setup: A project utilizing 2.1mm DC Barrel Jack in a practical application
Battery-Powered Multi-Voltage Supply with Barrel Jack Connectors
This circuit consists of multiple 9V batteries connected in series and parallel configurations to provide power to three separate 2.1mm barrel jacks. Each barrel jack receives a different combination of series and parallel battery connections to achieve the desired voltage and current levels.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Load Cell Circuit: A project utilizing 2.1mm DC Barrel Jack in a practical application
Multi-Channel Load Cell Measurement System with JYS60 Amplifiers and DAQ Integration
This is a multi-channel load cell measurement system with several JYS60 amplifiers connected to load cells for weight or force sensing. The amplified signals are directed to a DAQ system for data capture, and power is supplied through a barrel jack. Grounding is achieved via an AdaGator Side Black component.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Siren: A project utilizing 2.1mm DC Barrel Jack in a practical application
PWM-Controlled DC Motor Speed Regulator with DC Barrel Jack Power Input
This circuit controls the speed of a DC motor using a 12V PWM speed controller. Power is supplied to the speed controller through a 2.1mm DC barrel jack, which then modulates the voltage and current to the motor's terminals to adjust its speed. There is no microcontroller code involved, indicating that the speed control is likely adjusted manually via the speed controller's onboard settings.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Light panel control - simple: A project utilizing 2.1mm DC Barrel Jack in a practical application
LED Indicator Circuit with Dual Rocker Switches and Resistors
This circuit is a simple LED control system powered by a DC barrel jack. It uses two SPST rocker switches to control the current flow through two resistors and a green LED, allowing the LED to be turned on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Powering Arduino boards and other microcontrollers
  • Supplying power to small electronic devices and modules
  • DIY electronics projects requiring a detachable power source
  • Prototyping circuits with external power supplies

Technical Specifications

The 2.1mm DC barrel jack is designed to handle low-voltage DC power connections. Below are its key technical details:

Key Technical Details

  • Inner Diameter: 2.1mm
  • Outer Diameter: 5.5mm
  • Voltage Rating: Typically up to 24V DC
  • Current Rating: Up to 5A (depending on the specific model)
  • Mounting Style: Panel mount or PCB mount
  • Polarity: Center pin positive (in most cases, verify with your power supply)
  • Material: Metal contacts with plastic or metal housing

Pin Configuration and Descriptions

The 2.1mm DC barrel jack typically has three pins for connection. The table below describes each pin:

Pin Name Description
Center Pin Connects to the positive terminal of the DC power supply (center-positive).
Outer Sleeve Connects to the negative terminal of the DC power supply (ground).
Switch Pin Optional pin that disconnects a circuit when a plug is inserted (used for switching).

Note: The switch pin is not always present in all models. Check the datasheet of your specific barrel jack.

Usage Instructions

How to Use the 2.1mm DC Barrel Jack in a Circuit

  1. Mounting the Jack:

    • For panel-mount jacks, drill a hole in your enclosure to fit the jack and secure it with the provided nut.
    • For PCB-mount jacks, solder the pins to the appropriate pads on your circuit board.
  2. Connecting Power:

    • Identify the polarity of your DC power supply. Most barrel jacks are center-positive, meaning the center pin is connected to the positive terminal.
    • Solder the center pin to the positive rail of your circuit and the outer sleeve to the ground rail.
  3. Using the Switch Pin (if available):

    • The switch pin can be used to disconnect a battery or secondary power source when a DC plug is inserted.
    • Connect the switch pin to the secondary power source, ensuring proper polarity.

Important Considerations and Best Practices

  • Verify Polarity: Always confirm the polarity of your DC power supply before connecting it to the barrel jack. Reversed polarity can damage your circuit.
  • Current Rating: Ensure the barrel jack can handle the current required by your circuit. Exceeding the current rating may cause overheating or failure.
  • Secure Connections: Use heat shrink tubing or electrical tape to insulate soldered connections and prevent short circuits.
  • Test Before Use: After wiring the barrel jack, test the voltage and polarity with a multimeter before connecting it to your circuit.

Example: Connecting to an Arduino UNO

The Arduino UNO has a 2.1mm DC barrel jack for external power. To power the Arduino using this jack:

  1. Use a DC power adapter with a 2.1mm plug, providing 7-12V DC.
  2. Plug the adapter into the barrel jack on the Arduino UNO.
  3. Ensure the adapter is center-positive to avoid damaging the board.

Here’s an example Arduino sketch to test the power connection:

// Simple LED blink test to verify power connection
// Connect an LED to pin 13 with a 220-ohm resistor

void setup() {
  pinMode(13, OUTPUT); // Set pin 13 as an output
}

void loop() {
  digitalWrite(13, HIGH); // Turn the LED on
  delay(1000);            // Wait for 1 second
  digitalWrite(13, LOW);  // Turn the LED off
  delay(1000);            // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Power to the Circuit:

    • Cause: Incorrect polarity or loose connections.
    • Solution: Verify the polarity of the power supply and check all connections for proper soldering or tightness.
  2. Overheating Barrel Jack:

    • Cause: Exceeding the current rating of the jack.
    • Solution: Use a barrel jack with a higher current rating or reduce the load on your circuit.
  3. Intermittent Power Loss:

    • Cause: Poor contact between the plug and jack.
    • Solution: Ensure the plug is fully inserted and check for dirt or debris in the jack.
  4. Switch Pin Not Working:

    • Cause: Incorrect wiring or incompatible jack model.
    • Solution: Verify the wiring and ensure your jack has a functional switch pin.

FAQs

Q: Can I use a 2.5mm plug with a 2.1mm barrel jack?
A: No, a 2.5mm plug will not make proper contact with a 2.1mm barrel jack, leading to unreliable connections.

Q: Is the center pin always positive?
A: Most 2.1mm barrel jacks are center-positive, but you should always verify the polarity of your power supply and jack.

Q: Can I use the barrel jack for AC power?
A: No, the 2.1mm DC barrel jack is designed for DC power only. Using it with AC power can damage your circuit and pose safety risks.

Q: How do I know if my barrel jack is rated for my circuit?
A: Check the voltage and current ratings of the barrel jack in its datasheet and ensure they meet or exceed the requirements of your circuit.