Component guide · Beginner · 3 min read
Buck-Boost Converter Modules (LM2596 + XL6009, DFRobot 5A, TPS63020)

Setup Guide
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A buck-boost converter keeps its output steady whether the input is above or below it. That is useful for batteries that start above the target and sag below it, such as a Li-ion cell powering 3.3 V, or a 3S pack powering 12 V. The TPS63020 handles small 3.3 V loads very efficiently; the larger modules supply several amps.
Key specs at a glance
- Input
- TPS63020 1.8 to 5.5 V; larger modules about 3 to 35 V
- Output
- Fixed 3.3 V (TPS63020) or adjustable
- Current
- TPS63020 about 1 to 2 A; DFRobot 5A module up to 5 A
- Modes
- Automatic buck or boost
- Efficiency
- About 85 to 95 percent
- Use
- Battery-powered projects with wide input range
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 1Buck-Boost Converter Module₹339
Option 2DFRobot 5A DC-DC Buck-Boost Converter₹1,073
Option 3TPS63020 Automatic Buck-Boost Module₹332
What the Buck-boost converter module is
A buck-boost converter is a DC-DC module that can step the voltage down or up as needed, so its output stays steady while the input moves above and below it.
The LM2596 plus XL6009 board is two converters in a row, which is less efficient but simple. The TPS63020 is a true single-chip buck-boost and is ideal for running an ESP32 from one Li-ion cell down to about 2.5 V.
Buck-boost converter module pinout
The pins on the Buck-boost converter module and what each one does.
| Pin | Function |
|---|---|
| VIN / GND | Input |
| VOUT / GND | Output |
| EN | Enable (TPS63020) |
| Trimmer | Output (adjustable modules) |
- VIN / GND
- Input
- VOUT / GND
- Output
- EN
- Enable (TPS63020)
- Trimmer
- Output (adjustable modules)
Wiring the Buck-boost converter module
Set the output with a multimeter before connecting any load. Turn the trimmer slowly; many need 10 or more turns before the voltage moves.
| Buck-boost converter module pin | TPS63020 (3.3 V) | Large module (12 V) |
|---|---|---|
| VIN | Li-ion cell | 12 V battery |
| VOUT | ESP32 3V3 pin | 12 V load |
- VIN
- TPS63020 (3.3 V):
- Li-ion cell
- Large module (12 V):
- 12 V battery
- VOUT
- TPS63020 (3.3 V):
- ESP32 3V3 pin
- Large module (12 V):
- 12 V load
Example code
A minimal sketch to check the part works.
1. Power the module with nothing on the output.
2. Measure OUT+ to OUT- with a multimeter.
3. Turn the trimmer until the reading is correct.
4. Connect the load and measure again under load.Setup and tuning
choose buck-boost when the battery voltage crosses the output voltage during use, such as 3.0 to 4.2 V cells powering 3.3 V.
use a protected cell or BMS; the converter keeps drawing current until the battery is flat.
keep the TPS63020 module under about 1 A for long runs; use the larger modules for 12 V loads.
set adjustable modules with a meter before connecting the load.
expect 85 to 95 %, a little lower than a plain buck.
What you need
Shop this list8 of 8 found in our store · ₹16,43,165
Buck-Boost Converter Module: the part this guide coversBuck-Boost Converter Module₹339
DFRobot 5A DC-DC Buck-Boost Converter: another version this guide coversDFRobot 5A DC-DC Buck-Boost Converter₹1,073
TPS63020 Automatic Buck-Boost Module: another version this guide coversTPS63020 Automatic Buck-Boost Module₹332
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
18650 Li-ion rechargeable cell: a single-cell battery input18650 Li-ion Rechargeable Cell₹119Closest match, check the specs
18650 battery holder: to hold the cellBattery Holder₹45
TP4056 1A Li-ion charger module with protection: to charge the cellTP4056 1A Li-ion Charger Module with Protection₹19
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Alternatives and when to choose them
- LM2596 buck: input always above output.
- XL6009 boost: input always below output.
- Lithium batteries.
Common mistakes to avoid
- Draining a battery too far because the converter keeps running.
- Drawing more current than the small TPS63020 module can supply.
- Feeding 3.3 V into a 5 V pin and expecting the board to work.
- Skipping the meter check on adjustable modules.
Frequently asked questions
Why would I choose a buck-boost converter?
Because the input crosses the output during use. A Li-ion cell goes from 4.2 V down to 3.0 V, so a 3.3 V supply needs to step down first and up later.
Can it run an ESP32 from one Li-ion cell?
Yes. The TPS63020 module gives a steady 3.3 V across the whole cell range, which is ideal for ESP32 projects.
Is a buck-boost converter less efficient?
Slightly. Expect 85 to 95 %, a little below a plain buck converter.
Can it make 12 V from a 3S lithium pack?
Yes. The larger modules keep 12 V while a 3S pack goes from 12.6 V down to about 9 V.
Is the output fixed or adjustable?
The TPS63020 module here is fixed at 3.3 V; the larger modules have an adjustable output.
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.

