Component guide · Beginner · 3 min read
12V/24V to 5V USB Step-Down Modules (QC 3.0, 3A, DFRobot)

Wiring and Uses
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These modules turn 6 to 32 V, such as a car, solar or 12 V battery supply, into 5 V USB power. Some give a fixed 5 V 3 A terminal or USB output, others support Quick Charge for faster phone charging, and panel versions have a switch and two sockets. They are the easy way to power a Raspberry Pi, phone or USB device from a 12 or 24 V system.
Key specs at a glance
- Input
- About 6 to 32 V
- Output
- 5 V 3 A; QC versions 5, 9 or 12 V on request
- Ports
- USB-A, USB-C or terminals
- Efficiency
- About 90 to 96 percent
- Protection
- Short circuit and over-temperature on most
- DFRobot 20W
- 7 to 24 V in, 5 V 4 A out
A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Step-Down Converter to 5V USB / 5V 3A₹68
Option 2USB Fast Charging Buck Module (QC 2.0 / 3.0)₹329
Option 3DFRobot USB Fast Charging Module 6–32V to 5V 3A₹269
Option 4DFRobot 20W DC-DC Buck Converter 7–24V to 5V 4A₹552
Option 512V / 24V Dual USB Charging Module with Switch₹98
What the USB 5V step-down module is
A USB step-down module is a buck converter with a USB socket or 5 V terminals. It turns a 12 V or 24 V supply, such as a car or solar battery, into 5 V USB power.
Quick Charge outputs only raise their voltage when a QC device asks for it, so they are safe for normal 5 V devices. Do not feed a QC port to a 5 V-only board through a cable that requests higher voltage.
For a Raspberry Pi 4 or 5, use a fixed 5 V 3 A or higher module, not a phone-charger port that may drop under load.
USB 5V step-down module pinout
The pins on the USB 5V step-down module and what each one does.
| Pin | Function |
|---|---|
| IN+ / IN- | 6 to 32 V |
| USB / OUT | 5 V output |
| Switch | On panel modules |
- IN+ / IN-
- 6 to 32 V
- USB / OUT
- 5 V output
- Switch
- On panel modules
Wiring the USB 5V step-down module
Connect the USB 5V step-down module like this.
| USB 5V step-down module pin | Vehicle / battery | Solar |
|---|---|---|
| IN | 12 V battery or car supply | Solar charge controller load output |
| USB | Phone, Pi or USB device | Same |
- IN
- Vehicle / battery:
- 12 V battery or car supply
- Solar:
- Solar charge controller load output
- USB
- Vehicle / battery:
- Phone, Pi or USB device
- Solar:
- Same
Example code
A minimal sketch to check the part works.
Connect the input, check 5 V at the USB port with a USB meter,
then plug in the device.Setup and tuning
in vehicles and solar systems, put an inline fuse on the 12 V or 24 V side.
use a fixed 5 V 3 A module or the DFRobot 5 V 4 A module, with a short, good USB cable.
a Quick Charge port can switch to 9 or 12 V if a QC device asks; use a plain 5 V port for boards and modules.
do not seal it in a tight box; leave some airflow.
expect a few milliamps of drain when idle, so disconnect it from small batteries during storage.
What you need
Shop this list8 of 8 found in our store · ₹1,658
Step-Down Converter to 5V USB / 5V 3A: the part this guide coversStep-Down Converter to 5V USB / 5V 3A₹68
USB Fast Charging Buck Module (QC 2.0 / 3.0): another version this guide coversUSB Fast Charging Buck Module (QC 2.0 / 3.0)₹329
DFRobot USB Fast Charging Module 6–32V to 5V 3A: another version this guide coversUSB Fast Charging Module₹78
DFRobot 20W DC-DC Buck Converter 7–24V to 5V 4A: another version this guide coversDFRobot 20W DC-DC Buck Converter 7–24V to 5V 4A₹552
12V / 24V Dual USB Charging Module with Switch: another version this guide covers12V / 24V Dual USB Charging Module with Switch₹98
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
SMPS power supply in metal enclosure (5/12/24 V): a bench input supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
LM2596 adjustable buck converter module: a cheaper buck for lighter loadsLM2596 Adjustable Buck Converter Module₹59
Alternatives and when to choose them
Common mistakes to avoid
- Powering 5 V-only boards from a QC port with a trigger cable, which can request 9 or 12 V.
- Installing it in a vehicle with no fuse.
- Using a 2 A module for a Raspberry Pi that needs 3 A.
- Sealing it in a box with no airflow.
Frequently asked questions
Will a USB step-down module charge my phone fast?
QC versions fast-charge phones that support Quick Charge. They do not do USB-C Power Delivery unless the listing says so.
Can it power a Raspberry Pi?
Yes, a fixed 5 V module rated 3 A or more works. The 4 A DFRobot module gives extra margin for a Pi 4 with USB devices.
Can I use it in a 24 V truck?
Yes. Inputs up to about 32 V are accepted.
Does it drain the battery when nothing is plugged in?
Only a few milliamps, but that adds up on a small battery over weeks.
Does it support USB-C PD?
Not unless it is stated. Most are plain 5 V or Quick Charge.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
