

A DC jack is a type of electrical connector used to supply direct current (DC) power to electronic devices. It typically consists of a cylindrical socket that accepts a matching plug, allowing for easy connection and disconnection of power sources. DC jacks are widely used in consumer electronics, such as laptops, portable devices, and small appliances, to provide a reliable and standardized method of delivering power.








Below are the general technical specifications for a standard DC jack. Note that specific models may vary slightly, so always refer to the datasheet of the exact component you are using.
The DC jack typically has three pins:
| Pin Name | Description |
|---|---|
| Center Pin | Connects to the positive terminal of the power supply. |
| Outer Sleeve | Connects to the negative terminal of the power supply. |
| Switch Pin | Optional pin used to detect whether a plug is inserted or to disconnect a load. |
Below is an example of how to connect a DC jack to an Arduino UNO for powering the board.
The following code demonstrates a simple LED blink program for an Arduino UNO powered via a DC jack.
// Simple LED Blink Program
// This code assumes an LED is connected to pin 13 of the Arduino UNO.
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output for the LED
}
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
}
No Power to the Circuit:
Overheating of the DC Jack:
Intermittent Power Loss:
Circuit Not Working After Connection:
Q: Can I use a DC jack with a higher voltage rating than my power supply?
A: Yes, as long as the voltage rating of the DC jack exceeds the voltage of your power supply, it is safe to use.
Q: How do I determine the size of the DC jack I need?
A: Measure the outer and inner diameters of the plug you intend to use, and select a matching DC jack.
Q: Is it necessary to use the switch pin?
A: No, the switch pin is optional and is typically used for advanced applications, such as detecting when a plug is inserted.
Q: Can I use a DC jack for AC power?
A: No, DC jacks are designed specifically for direct current (DC) and should not be used for alternating current (AC).