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

How to Use Barrel Jack: Examples, Pinouts, and Specs

Image of Barrel Jack
Cirkit Designer LogoDesign with Barrel Jack in Cirkit Designer

Introduction

The barrel jack is a cylindrical connector commonly used for supplying power to electronic devices. It features a center pin for positive voltage and an outer sleeve for ground, making it a reliable and straightforward solution for powering circuits. Barrel jacks are widely used in consumer electronics, development boards (e.g., Arduino), and DIY projects due to their ease of use and compatibility with standard power adapters.

Explore Projects Built with 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 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 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
LED Indicator Circuit with Dual Rocker Switches and Resistors
Image of Light panel control - simple: A project utilizing 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
ESP32-Controlled DC Motor with Dual Relay System
Image of LED Show v2: A project utilizing Barrel Jack in a practical application
This circuit controls a DC motor using two 12V relays, which are powered by a 12V supply through a barrel jack. The relays are configured to switch the motor's connections, allowing for control over its operation.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 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 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 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 Light panel control - simple: A project utilizing 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
Image of LED Show v2: A project utilizing Barrel Jack in a practical application
ESP32-Controlled DC Motor with Dual Relay System
This circuit controls a DC motor using two 12V relays, which are powered by a 12V supply through a barrel jack. The relays are configured to switch the motor's connections, allowing for control over its operation.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Powering development boards like Arduino and Raspberry Pi (via adapters)
  • Supplying power to small electronic devices and appliances
  • DIY electronics projects requiring a stable DC power source
  • Prototyping circuits with external power supplies

Technical Specifications

Below are the general specifications for a standard barrel jack. Note that variations may exist depending on the specific model or manufacturer.

Key Technical Details

  • Voltage Rating: Typically 5V to 24V DC (check specific model for limits)
  • Current Rating: Up to 5A (varies by model)
  • Connector Dimensions: Common sizes include 5.5mm outer diameter / 2.1mm inner diameter or 5.5mm outer diameter / 2.5mm inner diameter
  • Polarity: Center pin is positive (+), outer sleeve is ground (-)
  • Mounting Style: Panel mount or PCB mount
  • Material: Metal and plastic construction for durability

Pin Configuration and Descriptions

The barrel jack typically has three pins for connection. Below is a table describing each pin:

Pin Name Description
Center Pin Connects to the positive voltage terminal of the power supply.
Outer Sleeve Connects to the ground (negative terminal) of the power supply.
Switch Pin Optional pin used to detect if a plug is inserted or to disconnect a circuit.

Usage Instructions

How to Use the Barrel Jack in a Circuit

  1. Identify the Polarity: Ensure the power adapter or supply matches the barrel jack's polarity (center positive, outer ground).
  2. Mounting: If using a panel-mount barrel jack, secure it to the enclosure using the provided nut. For PCB-mount jacks, solder the pins to the PCB.
  3. Wiring:
    • Connect the center pin to the positive voltage rail of your circuit.
    • Connect the outer sleeve to the ground rail of your circuit.
    • If using the switch pin, connect it to the circuit you want to control (optional).
  4. Verify Connections: Double-check all connections with a multimeter to ensure proper polarity and continuity.
  5. Power On: Plug in the power adapter and verify that the circuit is functioning as expected.

Important Considerations and Best Practices

  • Voltage and Current Ratings: Always ensure the barrel jack can handle the voltage and current requirements of your circuit.
  • Polarity Check: Incorrect polarity can damage your circuit. Use a multimeter to confirm the adapter's polarity before connecting.
  • Secure Connections: Ensure all solder joints are solid and free of shorts.
  • Heat Dissipation: For high-current applications, ensure proper ventilation or heat dissipation to prevent overheating.

Example: Connecting a Barrel Jack to an Arduino UNO

The Arduino UNO features a barrel jack for external power input. Below is an example of powering the Arduino UNO with a 9V adapter:

// No code is required for basic power input via the barrel jack.
// Simply plug in a 9V DC adapter with center-positive polarity.
// Ensure the adapter's voltage is within the Arduino UNO's input range (7-12V).

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Power to the Circuit

    • Cause: Incorrect polarity or loose connections.
    • Solution: Verify the adapter's polarity and ensure all connections are secure.
  2. Overheating Barrel Jack

    • Cause: Exceeding the current rating of the barrel jack.
    • Solution: Use a barrel jack rated for higher current or reduce the circuit's power consumption.
  3. Intermittent Power

    • Cause: Poor solder joints or a loose plug.
    • Solution: Re-solder the connections or replace the barrel jack if the plug is worn out.
  4. Circuit Not Powering On

    • Cause: Adapter voltage is too low or too high.
    • Solution: Use an adapter with the correct voltage range for your circuit.

FAQs

Q: Can I use a barrel jack for AC power?
A: No, barrel jacks are designed for DC power only. Using AC power can damage your circuit and the barrel jack.

Q: How do I determine the size of my barrel jack?
A: Measure the outer diameter and inner diameter of the connector. Common sizes are 5.5mm/2.1mm and 5.5mm/2.5mm.

Q: What happens if I reverse the polarity?
A: Reversing the polarity can damage your circuit. Always verify the polarity with a multimeter before connecting.

Q: Can I use a higher voltage adapter than specified?
A: No, using a higher voltage adapter can damage your circuit. Always use an adapter within the specified voltage range.

By following this documentation, you can effectively use a barrel jack in your electronic projects while avoiding common pitfalls.