Back to School with STEM-Limited-Time Event(Aug 6-Sep 5)

user-img

Manoranjan Das

  • 8 Projects
  • 6 Followers
  • Sep 02,2025
+ Follow

XL4015 5V/5A USB Power Supply Module

A compact and powerful USB power supply based on the XL4015 buck converter IC. Designed to deliver stable 5V up to 5A — perfect for powering Raspberry Pi, ESP32, Arduino, and USB gadgets.

XL4015 5V/5A USB Power Supply Module
 
  • thumbnail-img
 

Story

A compact and powerful USB power supply based on the XL4015 buck converter IC.
Designed to deliver stable 5V up to 5A — perfect for powering Raspberry Pi, ESP32, Arduino, and USB gadgets.


✨ Features

  • 🔌 Input Voltage: 8V – 36V DC
  • Output Voltage: Fixed 5V
  • 🔋 Maximum Current: 5A continuous
  • 🔒 Reverse Polarity Protection (SS1045 Schottky)
  • 📊 Stable Output with 330 µF electrolytic + ceramic capacitors
  • 🟢 Power LED Indicator
  • 🖥️ USB-A Output Port (5V)
  • 🐧 Tested with Raspberry Pi 4 – no undervoltage warnings

🧰 Bill of Materials (BOM)

No. Quantity Component Value / Part No. Package Notes
1 1 IC XL4015E1 TO-263-5 Buck regulator
2 1 Inductor 47 µH / 6A SMMS1360 Power inductor
3 1 Diode SS1045 SMC Schottky rectifier
4 1 Capacitor 220 µF / 50V Electrolytic Input filter
5 1 Capacitor 330 µF / 25V Electrolytic Output filter
6 3 Capacitors 1 µF 1206 SMD Ceramic
7 1 Capacitor 33 nF 1206 SMD Loop compensation
8 2 Resistors 3.3k, 10k 1206 SMD Voltage feedback
9 1 Resistor 330 Ω 1206 SMD LED current limit
10 1 LED Green SMD 1205 Power indicator
11 1 USB Connector USB-A Female Through-hole Output port
12 1 DC Jack 5.5mm barrel Through-hole Input connector

🔎 Circuit Diagram

 

📷 Schematic 

 

 

🖼️ PCB Preview

3D render of the finished board:

 

 

PCB layout (top copper):

 

 

 

🧪 Use Cases

  • 🐧 Power Raspberry Pi 3/4 (stable 5V/5A supply)
  • ⚡ Supply ESP32, Arduino, STM32 projects
  • 💡 Power 5V LED strips
  • 📱 Charge USB-powered gadgets (phones, tablets)
  • 📡 Use with routers, SBCs, or dev kits

🚀 Future Improvements

  • 🔋 Add USB D+/D– resistor divider for fast charging (up to 2A)
  • 🔒 Replace Schottky diode with P-MOSFET reverse polarity protection for higher efficiency
  • 🔥 Add a polyfuse on USB output for overcurrent protection
  • 📏 Optional: make a multi-output version (5V/9V/12V) with multiple XL4015s

📝 License

This project is open-source hardware 🛠️.
You’re free to use, modify, and improve it — just give credit when sharing ❤️.

 

👨‍💻 Author

Designed by ElectroIoT.in

 

 

Code
  • https://github.com/ElectroIoT/DIY-XL4015-5V-5A-USB-Power-Supply
    View
Schematic and Layout
  • https://github.com/ElectroIoT/DIY-XL4015-5V-5A-USB-Power-Supply
    View
CAD-Custom parts and enclosures

XL4015 5V/5A USB Power Supply Module

A compact and powerful USB power supply based on the XL4015 buck converter IC. Designed to deliver stable 5V up to 5A — perfect for powering Raspberry Pi, ESP32, Arduino, and USB gadgets.

38
 
3
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 3 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection