

A power supply is a device that provides electrical energy to a circuit, converting AC or DC voltage from a source into a usable form for electronic components. It is an essential component in virtually all electronic systems, ensuring that devices receive the correct voltage and current for proper operation. Power supplies come in various types, including linear, switching, and programmable models, each suited for specific applications.








The technical specifications of a power supply vary depending on its type and intended application. Below are general specifications for a typical DC power supply:
For a basic DC power supply with a standard output connector:
| Pin | Name | Description |
|---|---|---|
| 1 | Positive (+) | Provides the positive DC voltage output. Connect to the positive terminal of the load. |
| 2 | Negative (-) | Provides the ground or negative DC voltage output. Connect to the negative terminal of the load. |
| 3 | Earth (GND) | Optional earth ground connection for safety and noise reduction. |
For modular power supplies with multiple outputs, refer to the manufacturer's datasheet for detailed pinouts.
To power an Arduino UNO using a DC power supply:
Alternatively, you can power the Arduino UNO via its VIN pin:
// Example code for Arduino UNO powered by an external power supply
void setup() {
// Initialize the serial communication
Serial.begin(9600);
Serial.println("Arduino is powered by an external power supply.");
}
void loop() {
// Blink the onboard LED to confirm operation
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 Output Voltage:
Incorrect Output Voltage:
Overheating:
Noise or Ripple in Output:
By following these guidelines, you can ensure safe and effective use of your power supply in various electronic applications.