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 that require a specific DC voltage for operation. These 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. Always refer to the specific datasheet or label on your adapter for exact details.
The DC power supply adapter typically has a barrel connector with the following pin configuration:
Pin Name | Description |
---|---|
Outer Sleeve | Ground (GND) |
Inner Pin | Positive DC voltage (V+) |
Note: Always confirm the polarity of your adapter and the device it powers to avoid damage.
To power an Arduino UNO with a 12V DC adapter:
Alternatively, you can use the adapter to power the Arduino through the VIN pin. Below is an example circuit and code to blink an LED:
// Simple LED blink example
// This code blinks an LED connected to pin 13 of the Arduino UNO
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
}
Device Not Powering On:
Overheating Adapter:
Electrical Noise in Circuit:
Incorrect Polarity:
By following these guidelines, you can safely and effectively use a DC power supply adapter in your projects.