

A DC power jack is a connector used to supply direct current (DC) power to electronic devices. It typically features a cylindrical shape and is designed to accept a matching DC power plug, allowing for easy connection and disconnection of power. DC power jacks are commonly found in consumer electronics, such as laptops, routers, and small appliances, where they serve as the primary interface for external power supplies.








Below are the general technical specifications for a standard DC power jack. Note that specific models may vary slightly, so always refer to the datasheet of the exact component you are using.
The DC power jack typically has three pins:
| Pin Name | Description |
|---|---|
| Pin 1 (Center Pin) | Connects to the positive terminal of the power supply. |
| Pin 2 (Outer Sleeve) | Connects to the negative terminal of the power supply. |
| Pin 3 (Switch Pin) | Optional pin used to detect the presence of a plug or to disconnect internal power. |
Below is an example of how to use a DC power jack to power an Arduino UNO. The Arduino UNO has a built-in DC barrel jack that accepts 7-12V DC.
// This example demonstrates powering an Arduino UNO via a DC power jack.
// No specific code is required to use the DC jack, as it directly powers
// the board. However, you can use this code to verify the board is powered
// and functioning correctly by blinking the onboard LED.
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Set the onboard LED pin as an output
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(LED_BUILTIN, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
No Power to the Circuit:
Overheating of the Jack:
Intermittent Power Loss:
Device Not Turning On:
By following this documentation, you can effectively integrate and troubleshoot a DC power jack in your electronic projects.