Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use 12v power supply: Examples, Pinouts, and Specs

Image of 12v power supplyDesign with 12v power supply in Cirkit Designer

Introduction

A 12V power supply is an electronic device that converts input power into a stable 12-volt direct current (DC) output. It is widely used in various applications such as powering electronic circuits, computer peripherals, LED lighting systems, and other devices that require a consistent 12V DC power source.

Explore Projects Built with 12v power supply

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin No. Description Notes
1 AC Input (L) Live wire of AC input
2 AC Input (N) Neutral wire of AC input
3 Ground (⏚) Protective earth ground
4 DC Output (+12V) Positive terminal of DC output
5 DC Output (GND) Ground terminal of DC output

Usage Instructions

How to Use the Component in a Circuit

  1. Connecting AC Input:

    • Ensure the power supply is unplugged before wiring.
    • Connect the live (L) and neutral (N) wires to the AC input pins.
    • Attach the ground wire to the ground pin if available.
  2. Connecting DC Output:

    • Connect the positive terminal of your device to the +12V DC output pin.
    • Connect the ground terminal of your device to the DC output ground pin.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

FAQs

Example Arduino UNO Connection

// Example code to demonstrate how to power an Arduino UNO with a 12V power supply
// through the VIN pin. The Arduino UNO has an onboard voltage regulator that can
// handle input voltages from 7V to 12V.

void setup() {
  // Initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  // Turn the LED on (HIGH is the voltage level)
  digitalWrite(LED_BUILTIN, HIGH);
  // Wait for a second
  delay(1000);
  // Turn the LED off by making the voltage LOW
  digitalWrite(LED_BUILTIN, LOW);
  // Wait for a second
  delay(1000);
}

// Note: When using a 12V power supply, connect the positive terminal to the
// Arduino's VIN pin and the ground to one of the Arduino's GND pins.

Remember to keep the power supply's current rating in mind when connecting additional components to the Arduino to prevent overloading the power supply.