

A DC power supply adapter is a device that converts alternating current (AC) voltage from a wall outlet into a stable direct current (DC) voltage. It is widely used to power electronic devices such as microcontrollers, sensors, LED strips, and other low-voltage equipment. DC power supply adapters are available in various voltage and current ratings to suit different applications.








Below are the general technical specifications for a typical DC power supply adapter. Note that specific models may vary in their ratings and features.
The DC power supply adapter typically has a barrel jack connector with the following configuration:
| Pin/Section | Description |
|---|---|
| Outer Sleeve | Ground (GND) |
| Inner Pin | Positive DC voltage (V+) |
Note: Always verify the polarity of the adapter and the device it is powering to avoid damage.
To power an Arduino UNO using a 12V DC adapter:
Here is an example Arduino sketch to test the setup:
// Simple LED blink program for Arduino UNO
// Ensure the Arduino is powered by a 12V DC adapter
const int ledPin = 13; // Built-in LED pin on Arduino UNO
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Device Not Powering On
Adapter Overheating
Intermittent Power
Device Malfunctioning
By following these guidelines, you can safely and effectively use a DC power supply adapter in your electronic projects.