Portable Very Precise Adjustable DC Power Supply + USB Charging

by Pro Maker_101 in Circuits > Electronics

4712 Views, 66 Favorites, 0 Comments

Portable Very Precise Adjustable DC Power Supply + USB Charging

Untitled design 11.PNG

In this project, we are building a portable, precise, and versatile 12V to 1V adjustable DC power supply that can also charge USB devices. It features a high-current XL4015 buck module, a precision multiturn potentiometer for accurate voltage adjustment, a DC volt-amp meter to monitor output, and a 3S 18650 battery pack for portability.


This compact power supply is perfect for electronics testing, DIY projects, and on-the-go charging. With its acrylic enclosure, fuse protection, and easy-to-read volt-amp display, it combines safety, precision, and portability in one neat package.

Supplies


  1. PCB (with schematic attached)
  2. Banana socket pair (output)
  3. USB socket (for mobile/USB charging)
  4. DC volt-amp meter
  5. XL4015 DC-DC buck module (adjustable 12V→1V)
  6. 3S battery level indicator (for 3×18650)
  7. Fuse with fuse holder/box
  8. DC 12V input jack
  9. 3×18650 battery holder
  10. On/off switch
  11. Multiturn potentiometer with knob (for precise voltage adjustment)
  12. DFRobot 12V→5V 8A step-down module (for USB output)
  13. 3S Li-ion BMS (battery protection)
  14. Acrylic sheet (for enclosure)
  15. Handle (for portable design)

PCB Design and Ordering

IMG_0356.PNG
Screenshot 2025-09-22 at 2.54.03 PM.png

Design a PCB in EasyEDA for your portable adjustable power supply with USB output. Include connections for:

  1. XL4015 module
  2. 3S battery holder & BMS
  3. DC volt-amp meter
  4. Banana & USB sockets
  5. Fuse & DC 12V jack
  6. On/off switch & multiturn potentiometer

Attach the schematic diagram for reference. Once done, export the Gerber files and order your PCB easily through PCBWay.

Tip: Keep traces for high-current paths thick and clear for safe operation.

Installing Output Sockets & DC Volt-Amp Meter

IMG_0273.PNG
IMG_0274.PNG
IMG_0275.PNG
IMG_0277.PNG
IMG_0279.PNG


  1. Insert Banana Sockets and USB Socket
  2. Mount the banana socket pair (for adjustable voltage output) and the USB socket (for mobile charging) onto the PCB or enclosure.
  3. Make sure they are securely fixed for safe use.
  4. Prepare DC Volt-Amp Meter
  5. On the back of the DC volt-amp meter, remove the plastic connector block carefully.
  6. This exposes the terminals so you can directly solder wires to the PCB.
  7. Connect to PCB
  8. Solder the volt and amp input wires from the meter to the corresponding output points on your PCB.
  9. Double-check polarity and connections: Voltage+ to output+, Voltage– to output–, Current+ and Current– to current path.

Installing XL4015, Fuse Box & DC Input Socket

IMG_0280.PNG
IMG_0281.PNG
IMG_0282.PNG
IMG_0283.PNG


  1. Insert XL4015 Module
  2. Place the XL4015 buck module on the PCB or securely inside the enclosure.
  3. Align its input and output terminals with your PCB connections for smooth soldering.
  4. Install Fuse & Fuse Box
  5. Mount the fuse holder/box near the input line to protect your circuit.
  6. Insert the correct fuse (rated for your system current, e.g., 5–10A).
  7. Mount DC 12V Input Socket
  8. Fix the DC input jack on the enclosure.
  9. Connect it to the PCB input via the fuse box so the power from batteries or adapter goes through the fuse before reaching the XL4015 module.

Tip: Keep all wires short and secure, and double-check polarity before powering on.

Installing Battery Holder, 3S Level Indicator & On/Off Switch

IMG_0284.PNG
IMG_0285.PNG
IMG_0286.PNG
IMG_0287.PNG
IMG_0289.PNG


  1. Insert 3×18650 Battery Holder
  2. Mount the 18650 battery holder securely inside the enclosure.
  3. Make sure the holder aligns with the PCB connections for 12V output through the XL4015 module.
  4. Install 3S Battery Level Indicator
  5. Choose a small type 3S Li-ion battery indicator.
  6. Connect it to the battery terminals to monitor the charge level of your 3×18650 pack.
  7. Mount On/Off Switch
  8. Fix the on/off switch on the enclosure for convenient power control.
  9. Connect it in line with the input or output power path depending on whether you want to switch the whole system or just the output

Final Assembly – Soldering & Securing Components

IMG_0290.PNG
IMG_0291.PNG
IMG_0292.PNG
IMG_0293.PNG


  1. Solder All Legs
  2. Carefully solder all component legs (XL4015, sockets, volt-amp meter, BMS wires, potentiometer, switch, etc.) to the PCB.
  3. Make sure each solder joint is clean and strong to avoid loose connections.
  4. Secure Components from the Bottom
  5. Use bolts, nuts, and washers to fix components like sockets
  6. Tighten carefully using a spanner or pliers to ensure the components are stable but not stressed.
  7. Check All Connections
  8. Verify all connections and polarities before inserting batteries.
  9. Ensure no wires are touching each other to prevent short circuits.

🎉 Join the First-Ever PCBWay 3D Printing Design Contest!

15522362870e975b7c2914f5aaf42d5f0293e98fd4478t.jpg
FS0GUTCM7NCVD6P.jpg

Unleash your creativity and bring your 3D ideas to life! PCBWay invites all makers and designers to participate in two exciting categories:

  1. Eon-Themed Designs: Give PCBWay’s mascot, Eon, a fresh new look with your imagination — new outfits, poses, or expressions!
  2. Open Creative Designs: Design your own original 3D character, figurine, or collectible — from fantasy creatures to action figures.

Why participate?

  1. Win up to $500 cash, coupons, and certificates
  2. Have your design professionally 3D printed
  3. Get featured on PCBWay’s platform and show your talent to the community


How to enter:

Submit your 3D files (STL, STEP, or similar) through the PCBWay Open Source Community. You can enter one or both categories!

Deadline: November 10, 2025 — Don’t miss your chance to turn imagination into reality!

Click here to enter the contest!

Mounting Components on PCB Bottom

IMG_0295.PNG
IMG_0296.PNG
IMG_0297.PNG
IMG_0298.PNG
IMG_0299.PNG
IMG_0301.PNG



  1. Install DFRobot 12V→5V 8A Module
  2. Place the DFRobot step-down module on the bottom side of the PCB.
  3. Align its input/output pads with your PCB connections for proper soldering.
  4. Install 3S BMS Module
  5. Place the 3S Li-ion BMS also on the PCB bottom.
  6. Make sure the battery input and output lines match your PCB traces.
  7. Solder All Connection Points
  8. Carefully solder all pads for both the DFRobot module and BMS.
  9. Double-check polarity and trace alignment for safe operation.


Cleaning the PCB

IMG_0303.PNG
IMG_0304.PNG
IMG_0305.PNG


  1. Clean the PCB
  2. Use PCB cleaning liquid (or isopropyl alcohol) and a small brush to remove flux residues and solder splashes.
  3. Gently brush all soldered areas, especially around the bottom-side SMD components like the DFRobot 12V→5V module and 3S BMS.


  1. Dry the PCB
  2. Allow the PCB to air-dry completely or use a soft cloth to remove excess liquid.
  3. Ensure no moisture remains before inserting batteries or powering up.
  4. Final Inspection
  5. Check for loose solder joints, short circuits, or stray wires.
  6. Once clean and inspected, your PCB is ready for assembly into the enclosure

Installing the Precision Multiturn Potentiometer

IMG_0306.PNG
IMG_0308.PNG
IMG_0310.PNG
IMG_0311.PNG
IMG_0314.PNG
IMG_0315.PNG
IMG_0317.PNG


  1. Insert the Multiturn Potentiometer
  2. Take your blue precision multiturn potentiometer.
  3. Place it into the hole on the PCB designed for it.
  4. Secure with Nut
  5. Tighten the potentiometer using the supplied nut from the top or bottom to ensure it doesn’t move.
  6. Solder External Wires
  7. Solder three wires from the potentiometer to the PCB points.
  8. Make sure the wires are secure and neat.
  9. Disconnect XL4015 Built-in Pot
  10. Before connecting, remove the inbuilt voltage adjust potentiometer from the XL4015 module.
  11. This ensures that the external precision pot will control the voltage without interference.
  12. Connect Wires to XL4015 Module
  13. Solder the three wires from the multiturn potentiometer to the voltage adjust points on the XL4015 module.
  14. Double-check connections and polarity to avoid misadjustment.

Making the Enclosure

IMG_0318.PNG
IMG_0319.PNG
IMG_0320.PNG
IMG_0321.PNG
IMG_0323.PNG


  1. Prepare Acrylic Sheets
  2. Use 3mm acrylic sheets for your enclosure.
  3. Measure and cut each piece according to the size of your assembled PCB and components.
  4. Use a Laser Cutter (Optional)
  5. If available, laser cut the acrylic pieces for precise edges and fitting.
  6. Make holes for banana sockets, USB socket, DC input, switch, volt-amp meter, and potentiometer.
  7. Assemble the Box
  8. Fit all acrylic pieces together to form a box shape around the PCB.
  9. Ensure openings align with all components for easy access.
  10. Glue the Pieces
  11. Use acrylic glue to secure all sides.
  12. Hold until the glue sets for a strong, neat enclosure.

Installing PCB, Fuse & Batteries in the Enclosure

IMG_0324.PNG
IMG_0325.PNG
IMG_0326.PNG
IMG_0329.PNG
IMG_0330.PNG
IMG_0331.PNG
IMG_0332.PNG
IMG_0334.PNG
IMG_0337.PNG


  1. Fix the PCB in the Box
  2. Place the assembled PCB into the acrylic enclosure.
  3. Use glue or screws to secure it firmly in place.
  4. Insert Fuse into Fuse Box
  5. Place the correct rated fuse into the fuse holder.
  6. Make sure it’s secure and easily accessible for replacement if needed.
  7. Insert 3×18650 Batteries
  8. Use high-quality batteries of the same type and charge level.
  9. Insert them into the battery holder ensuring correct polarity.
  10. Close the Acrylic Top
  11. Use your laser-cut acrylic top with pre-made holes for sockets, switch, volt-amp meter, and potentiometer.
  12. Fit it carefully and glue or snap it in place.
Tip: Double-check all connections and make sure batteries are inserted correctly before powering on.

Fixing the Handle & Testing USB Output

IMG_0340.PNG
IMG_0341.PNG
IMG_0342.PNG
IMG_0345.PNG


  1. Attach the Handle
  2. Fix a portable handle on top of the acrylic enclosure using screws or glue.
  3. Make sure it’s stable and comfortable to carry.
  4. Initial USB Testing
  5. Switch ON
  6. Connect a mobile phone or any USB device to the USB output.
  7. Verify that it charges correctly and the volt-amp meter displays accurate readings.


Testing Adjustable Voltage & High Current Output

IMG_0347.PNG
IMG_0348.PNG
IMG_0349.PNG
IMG_0350.PNG
IMG_0351.PNG
IMG_0352.PNG
IMG_0354.PNG
IMG_0355.PNG


  1. Connect Banana Test Leads
  2. Insert male banana connectors into the output banana sockets (+ and –).
  3. Make sure the polarity is correct: red to +, black to –.
  4. Adjust the Precision Potentiometer
  5. Use the blue multiturn potentiometer to adjust the output voltage.
  6. You can now fine-tune the voltage very precisely from 1V up to 12V.
  7. Check Current Handling
  8. The XL4015 module can supply high current (up to its rated limit, e.g., 5A).
  9. Use a load or device to verify that the system delivers both stable voltage and sufficient current.
  10. Monitor with Volt-Amp Meter
  11. Keep an eye on the DC volt-amp meter to ensure the voltage and current are within safe limits

Final Notes & References

This DIY Portable Voltage Tool Makes Electronics Work Easy!


  1. You can safely charge mobile devices, test electronics, and adjust voltage precisely with the multiturn potentiometer.
  2. Always observe polarity, current limits, and proper connections for safe operation.
  3. For a visual guide and demonstration, you can watch the YouTube video linked below for more detailed instructions.
  4. CLICK HERE