how to make a 12 volt power supply

How to Build a DIY 12 Volt Power Supply

By Mark White
AD

need a reliable 12-volt power source for your offgrid cabin, portable electronic devices, or DIY projects? Building your own 12-volt power supply can be a cost-effective and rewarding DIY task. This guide will walk you through the process, ensuring you create a safe, efficient, and reliable power supply for your needs.

Before we dive into the step-by-step instructions, let's briefly discuss what a 12-volt power supply is and why you might need one. A 12-volt power supply is an electrical device that converts mains supply (AC) or battery bank (DC) into a regulated 12-volt direct current (DC). This voltage is ideal for various applications, such as operating 12-volt lighting, solar panels, and electrical devices in recreational vehicles (RVs) and offgrid cabins.

Gathering Materials and Tools

The components required for a 12-volt power supply can vary depending on your specific needs and the input power source (AC or DC). However, for this guide, we'll focus on building a 12-volt power supply using an AC to DC adapter (rectifier).

AD
12v 5 amp power supply circuit
12v 5 amp power supply circuit
How to Turn on a Computer Power Supply Without a Computer
How to Turn on a Computer Power Supply Without a Computer
How To Make A 12 Volt 5 Amp Battery Charger - DIY Technology Tutorial - Guidecentral
How To Make A 12 Volt 5 Amp Battery Charger - DIY Technology Tutorial - Guidecentral

Here's a list of materials and tools you'll need:

  • AC to DC adapter (rectifier): Choose a model capable of producing the desired current (Amperage) suitable for your load.
  • Voltage regulator module (VRM): An LM317T (adjustable) or LM338 (Adjustable) regulator works well for this project.
  • Wires: Stranded, insulated copper wire in various gauges (AWG). Use wire strippers to remove insulation.
  • Perfboard or stripboard: For Assembly of components.
  • Female and male connectors: Used to connect components together and to your load. Consider using lug-type connectors for better contact.
  • Tools: Soldering iron, solder, diagonal cutters, wire strippers, multimeter, screwdriver, and ruler.

Choosing the Right Components

Selecting the appropriate voltage regulator is crucial to ensure your power supply works efficiently and safely. When considering the voltage regulator, you'll need to consider the desired output voltage (12V) and the load (Amperage) you plan to draw.

a yellow box with two black knobs on it
a yellow box with two black knobs on it

For example, if your load requires 5Amps, you'll need a voltage regulator capable of handling 5 Amps. If your load can vary, consider using a fixed, yet high-enough Amperage rating for your regulator to accommodate different loads.

Assembling the Circuit

Once you've gathered all necessary components and tools, it's time to assemble the circuit. Connect the DC adapter, voltage regulator, and other components as shown in the diagram below:

AD
12V power supply circuit diagram

The assembly process involves the following steps:

  1. Strip and solder wire ends to the voltage regulator and DC adapter.
  2. Connect the rectifier's AC input to your main's AC supply.
  3. Ensure the rectifier's DC output connects correctly to the input of the voltage regulator.
  4. Connect the voltage regulator's output to your load.
  5. Assemble the components on a perfboard or stripboard, ensuring no shorter circuits occur. Inspect all connections before powering up the device.

Testing and Fine-Tuning

With the basic circuit assembled, it's time to test the voltage regulator and ensure it's correctly regulating its output to 12 volts.

Here's how to test the circuit:

AD
  1. Set your multimeter to measure voltage (DC) on 20V DC setting.
  2. Insert the black probe (com) into the ground terminal (COM) or black wire of the output.
  3. Insert the red probe (volts) into the positive terminal (V) or red wire of the output.
  4. Plug in the power supply and read the voltage. The output should display approximately 12V if everything is working correctly.

Adjusting the Output Voltage

If the output voltage is not 12V, you may need to adjust the voltage regulator's potentiometer. Use the following formula to calculate the required resistor (R2) value to adjust the voltage regulator's output:

R2 = (1.25 * R1) * (Vout - Vo) / Vo

Where:

AD
  • R1 is the value of your resistor, in Ohms (Ω).
  • Vout is your desired output voltage, in Volts (V).
  • Vo is the current voltage regulator output, in Volts (V).

Adjust resistor R2 with calculated value, or adjust the potentiometer until your desired 12V output is achieved.

Congratulations! You've successfully built and tested your 12-volt power supply. Now you can safely power your electronics, lighting, and other devices requiring a 12-volt supply. Always remember to adhere to electrical safety guidelines when working with DIY power supplies and electronics.

As your skills and confidence grow, consider expanding your projects to include Doom's Day preppers' cache, renewable energy integration (solar), and other off-grid innovations. Keep learning, stay safe, and happy experimenting!

AD