

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 sources. DC power jacks are commonly found in consumer electronics, such as laptops, routers, and small appliances, as well as in DIY electronics projects.








The DC power jack typically has three pins, as described in the table below:
| 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 the presence of a plug or to switch power sources. |
Below is an example of how to connect a DC power jack to an Arduino UNO using a 12V power supply.
// Example code for Arduino UNO powered via DC power jack
// This code blinks an LED connected to pin 13
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
}
Note: Ensure the Arduino UNO's onboard voltage regulator can handle the input voltage from the DC power jack (e.g., 12V).
No Power to the Circuit:
Overheating:
Intermittent Power:
Short Circuit:
By following this documentation, you can effectively integrate a DC power jack into your electronic projects and troubleshoot common issues with ease.