The MT3608 boost converter takes a low DC voltage and turns it into a higher one. Feed it a single 3.7 V lithium cell and get a steady 5 V for an ESP32 or Arduino; feed it 5 V from USB and get 9 V or 12 V for a small fan, LED strip or sensor that needs it. The module is about the size of a postage stamp, costs very little and has one adjustment: a small blue trimmer that sets the output voltage.
Three things decide whether an MT3608 project works: setting the trimmer before you connect anything, understanding that the input must supply more current than the output delivers, and knowing that the module is always on, even while your project sleeps. This page explains each one in plain language, shows how a boost converter works inside, and gives you the datasheet numbers. For complete builds, see the Arduino Uno guide and the ESP32 guide.
MT3608 at a glance
MT3608 at a glance. 2–24 V in, up to 28 V out, and the output is always higher than the input. Set the output with a multimeter before connecting your project: new modules often arrive set to 9, 12 or even 20 V. For 5 V boards, trim to 5.0–5.2 V. Plan for input current: 1 A at 5 V from a lithium cell draws about 1.4–2 A from the cell. It never switches off, so it keeps drawing a small current from the battery all the time.
Specifications
- Converter type
- Boost (step-up), current-mode PWM
- Input voltage
- 2 V to 24 V
- Output voltage
- Adjustable up to 28 V, always above the input
- Switch current limit
- 4 A peak (internal switch); usable output is much lower, see below
- Switch on-resistance
- 80 mΩ typical, 150 mΩ maximum
- Switching frequency
- 1.2 MHz fixed
- Maximum duty cycle
- 90 %
- Feedback reference
- 0.6 V (0.588–0.612 V)
- Efficiency
- Up to 97 % (datasheet best case); about 80–90 % on typical modules
- Chip supply current
- 100–200 µA idle, 1.6–2.2 mA while switching
- Light-load mode
- Automatic pulse-frequency modulation (PFM)
- Enable pin
- Tied to the input on the module: always on
- Protection
- Current limit, soft-start, thermal shutdown; no reverse-polarity protection
- Chip package
- SOT23-6
- Module size
- About 36 × 17 mm
Chip figures from the Aerosemi MT3608 datasheet (VIN = 5 V, 25 °C). Module quality varies: inductors, diodes and capacitors on cheap boards set the real limits, so treat ratings as upper bounds.
How a boost converter raises the voltage
It seems impossible to get a higher voltage out of a battery without a transformer, but an inductor makes it work. An inductor is a coil of wire that stores energy in a magnetic field and resists any sudden change in the current through it.
The MT3608 has a fast electronic switch inside. Every cycle has two steps:
- Switch on. Current flows from the input through the inductor straight to ground. The inductor builds up a magnetic field, storing energy. The diode is reverse-biased, so the output capacitor keeps the load powered on its own.
- Switch off. The current through the inductor can't stop instantly, so the inductor's voltage flips and adds to the input voltage. Together they push current through the diode into the capacitor and the load, at a voltage higher than the input.
This repeats 1.2 million times per second. The chip changes how long the switch stays on in each cycle (the duty cycle) to hold the output exactly where the trimmer tells it to. Longer on-time stores more energy and raises the output. The datasheet limits the on-time to 90 % of each cycle, which is one reason the output can't climb indefinitely.
What's on the module
Every part on the small blue board has a job, and knowing them makes the module easy to troubleshoot:
- MT3608 chip (6-pin SOT23): the controller and the power switch.
- Inductor (the large square part, often marked 220 for 22 µH): stores and releases energy every cycle.
- Schottky diode (often an SS34): lets energy flow to the output when the switch opens, and stops it flowing back.
- Input and output capacitors: smooth the input current and the output voltage.
- Blue multi-turn trimmer (often marked 104 for 100 kΩ): sets the output voltage.
- Fixed resistor: the other half of the feedback divider with the trimmer.
Pinout
| Pad | Name | What it does |
|---|---|---|
| 1 | IN+ (VIN+) | Input positive: battery or low-voltage supply, 2 to 24 V |
| 2 | IN− (VIN−) | Input ground |
| 3 | OUT+ (VOUT+) | Boosted output. Set it with a meter before connecting a load |
| 4 | OUT− (VOUT−) | Output ground, joined to IN− on the board |
| — | Trimmer | Multi-turn potentiometer that sets the output voltage |
IN− and OUT− are the same ground. Reversing the input polarity usually destroys the chip, because there is no protection.
How the trimmer sets the output voltage
The MT3608 regulates itself by watching its own output through a voltage divider: the trimmer (R1) on top and a fixed resistor (R2) underneath. The midpoint goes to the chip's feedback (FB) pin, and the chip adjusts its switching until that pin sits at exactly 0.6 V. That gives the output formula from the datasheet:
Vout = 0.6 V × (1 + R1 ÷ R2)
Turning the trimmer changes R1, so it changes the output. On most modules more trimmer resistance means a higher output. If you set it below the input voltage, the chip has nothing to boost: OUT just follows the input through the inductor and diode, minus a few hundred millivolts. That is the most common "my module doesn't work" report, and it isn't a fault.
Setting the output voltage (do this first)
New modules ship at whatever voltage the factory left them, often far above 5 V. Feed a 5 V board from a module set to 12 V and it's gone in an instant. Always set the module on its own, before it touches your project:
- 1Connect only the input: the battery or supply you will actually use.
- 2Put a multimeter, on DC volts, across OUT+ and OUT−.
- 3Turn the trimmer slowly with a small screwdriver while watching the meter. It is multi-turn: the first several turns may change nothing, then it starts to move.
- 4Stop at your target. For 5 V boards, use 5.0–5.2 V; the extra 0.1–0.2 V allows for a little droop under load.
- 5Add a light load (a 100 Ω resistor draws about 50 mA at 5 V) and check the reading again.
- 6Only now connect your project. Recheck the voltage once it's running.
Warning
Turn direction varies between modules. Many raise the voltage when turned counter-clockwise, but not all. Watch the meter rather than counting turns. A small dab of nail varnish on the trimmer stops vibration from changing your setting later.
How much current can you really draw?
Most listings say "2 A", but that is not a promise of 2 A at the output. The chip's internal switch is limited to 4 A peak, and the real limit comes from the input current, the small inductor and heat. A boost converter can't create power. To raise the voltage, it must take more current from the input than it delivers at the output:
Input current ≈ (Vout × Iout) ÷ (Vin × efficiency)
Assuming 85 % efficiency, which is realistic for a small module:
| Input | Output | Load | Input current needed |
|---|---|---|---|
| 3.7 V | 5 V | 0.5 A | about 0.8 A |
| 3.7 V | 5 V | 1 A | about 1.6 A |
| 3.0 V (cell nearly empty) | 5 V | 1 A | about 2.0 A |
| 3.7 V | 9 V | 0.5 A | about 1.4 A |
| 3.7 V | 12 V | 0.3 A | about 1.1 A |
Look at the third row. As a battery drains, its voltage falls and the current it must supply for the same load rises. A cell with a weak protection circuit can cut out exactly when demand is highest. For a 5 V board that peaks at 1 A, size the battery and wiring for 2 A or more.
Common MT3608 setups
1 Li-ion / 18650 → 5 V
- Typical use
- ESP32 or Arduino boards, sensors, small displays
- Realistic output
- Up to about 1 A, less as the cell empties
2 × AA (2.4–3 V) → 5 V
- Typical use
- Low-power sensors and microcontrollers
- Realistic output
- A few hundred mA; AA cells sag under high current
USB 5 V → 9 V
- Typical use
- 9 V sensors, small amplifiers, guitar pedals
- Realistic output
- About 0.4–0.5 A from a 1 A USB port
USB 5 V → 12 V
- Typical use
- Small 12 V fans, short LED strips, relays
- Realistic output
- About 0.3–0.35 A from a 1 A USB port
Estimates use the input-current formula above with 85 % efficiency. Your module, wiring and source set the real limit; measure the temperature under your actual load.
Ripple and electrical noise
A switching converter doesn't produce a perfectly flat output. At 1.2 MHz the output carries a small ripple, typically tens of millivolts on these modules, plus sharp spikes at each switching edge. Most digital boards don't care. Analog readings can: a microcontroller's ADC, a load-cell amplifier or an audio circuit may show noisy or jumping values.
If that happens:
- Add a 100 µF electrolytic plus a 100 nF ceramic capacitor right at the load's power pins.
- Keep the MT3608 and its wires away from analog sensor wiring, and use short, thick power leads.
- For sensitive analog circuits, follow the boost converter with a low-noise LDO set slightly lower, for example boost to 5.5 V and regulate down to 5.0 V.
At very light loads the MT3608 switches to pulse-frequency mode to save energy. It switches in short bursts instead of a steady 1.2 MHz, which slightly increases low-frequency ripple and can sometimes make the inductor hum faintly. This is normal.
The idle drain
The chip draws 100–200 µA when it isn't switching, according to the datasheet, and the feedback divider and capacitors on the module add a little more. That doesn't matter for a project that is always awake, but it matters a lot for one that sleeps. An ESP32 in deep sleep draws around 10 µA, so the boost converter feeding it can use ten times more than the sleeping board.
The module has no on/off control: the chip's enable pin is wired to the input. Even if you disabled the chip, a boost converter's inductor and diode still pass the battery voltage through to the output. For battery projects that sleep most of the time, either power the board through a low-quiescent LDO (when the battery voltage allows it) or put a switch, such as a MOSFET load switch, in front of the converter.
MT3608 compared with other converters
MT3608
- Type
- Boost (step-up)
- In → out
- 2–24 V → up to 28 V
- Best for
- One Li-ion cell or 2 AA cells to 5 V; USB to 9 or 12 V at low current
XL6009
- Type
- Boost, larger
- In → out
- 5–32 V → up to 35 V
- Best for
- Higher output currents, 12 V from 5 V
- Type
- Buck (step-down)
- In → out
- Up to 40 V → lower
- Best for
- 12 V or 24 V supplies down to 5 V
- Type
- Linear (LDO)
- In → out
- 4.5–15 V → 3.3 V
- Best for
- Small 3.3 V loads from 5 V; wastes the difference as heat
Low-Iq LDO (HT7333, MCP1700)
- Type
- Linear (LDO)
- In → out
- Li-ion → 3.3 V
- Best for
- Sleeping 3.3 V nodes straight from a cell: microamp idle current
Ready to build?
- MT3608 with Arduino Uno: run an Uno from a single Li-ion cell, check the 5 V rail, and add a battery monitor with a low-battery warning.
- MT3608 with ESP32: power through 5V/VIN, read the cell on an ADC pin with a divider, build a deep-sleep battery logger, and learn when a low-Iq LDO beats the boost converter.
Troubleshooting
Output is about the same as the input
- Likely cause
- Trimmer set below the input voltage
- Fix
- Turn the trimmer to raise the output, watching the meter
Output far above 5 V on a new module
- Likely cause
- Factory trimmer setting
- Fix
- Never connect before measuring. Turn it down with only the input connected
Board resets or output sags under load
- Likely cause
- Source can't supply the higher input current, or wires are too thin
- Fix
- Use a stronger cell or supply, short thick wires, and 100 µF or more across the input
Module gets hot
- Likely cause
- High current at a large step-up ratio
- Fix
- Reduce the load or the voltage ratio, or use a larger converter such as the XL6009
Noisy ADC or sensor readings
- Likely cause
- 1.2 MHz switching ripple
- Fix
- Add 100 µF + 100 nF at the load; keep analog wiring away; consider an LDO after the boost
No output at all
- Likely cause
- Reverse-polarity damage, or input below about 2 V
- Fix
- Check polarity and measure the input; a reversed module is usually dead
Voltage drifts over time
- Likely cause
- Vibration moving the trimmer
- Fix
- Reset it, then lock the trimmer with a dab of varnish or hot glue
Danger
Lithium cells can deliver many amps into a short circuit. Use a protected cell or a battery-protection board, add a fuse or polyfuse in the battery lead, and don't leave a high-current boost project unattended until you know how hot it runs.
Frequently asked questions
Can I power an ESP32 or Arduino from a single Li-ion cell with it? Yes. Set the output to about 5.1 V and feed the board's 5V or VIN pin. The ESP32 guide and Uno guide show the wiring and a battery monitor.
Why is the output the same as the input? The trimmer is set below the input voltage, so the converter isn't boosting at all. Keep turning it while you watch a multimeter until the output starts to rise.
Can it charge a battery? No. It only boosts. Use a charger such as the TP4056 or the solar-capable CN3065.
Can it step the voltage down? No. A boost converter can only raise the voltage. For lower voltages, use a buck converter such as the LM2596.
What is the lowest input it works from? The datasheet specifies 2 V. In practice, keep the input a little higher so it starts reliably under load, and remember that input current rises as the voltage falls.
Is it really a 2 A converter? The "2 A" in the name refers to the chip's class, not a guaranteed output. The switch limit is 4 A peak, and the output current you can draw depends on the voltage step-up and your source. From one Li-ion cell at 5 V, plan for about 1 A at most.
Why does my module hum or whine? At light loads it switches in bursts to save power, and the inductor can vibrate faintly at those burst frequencies. It isn't harmful. A slightly larger load or more output capacitance usually quiets it.
MT3608 or XL6009? The XL6009 is a larger boost module with a bigger switch and inductor, better for more than about 1 A at the output. The MT3608 is smaller and cheaper, and ideal for a microcontroller, a sensor or a small display.
Tip
Running from a lithium cell? Charge it safely with a TP4056 charger module: battery on B+/B−, and the MT3608 on OUT+/OUT− so the protection circuit stays in place.
Wiring & code
Board integration
Library
None (built-in ADC) by Arduino core
No library needed
This guide runs an Arduino Uno from a single 18650 Li-ion cell through an MT3608, so a project can leave the USB cable behind. You will set the converter safely, feed the Uno's 5V pin, check the rail with a meter, and add a battery monitor that estimates the charge left and warns before the cell runs flat. Background on current limits and idle drain is on the MT3608 overview.
What you need
| Qty | Part | Notes |
|---|---|---|
| 1 | Arduino Uno R3 | Or a Nano: same 5V pin approach |
| 1 | MT3608 module | Set to 5.0 to 5.2 V before connecting |
| 1 | 18650 Li-ion cell (protected) and holder | Or a battery-protection board |
| 1 | Multimeter | Essential for setting the output |
| 1 | 10 kΩ resistor | Series resistor for the battery-sense line |
| 1 | Slide switch | In the battery lead, to stop the idle drain when stored |
Wiring: Li-ion → MT3608 → Arduino Uno
| From | To | Notes |
|---|---|---|
| Battery + | Switch → MT3608 IN+ | Add a fuse or polyfuse if the cell is unprotected |
| Battery − | MT3608 IN− | |
| MT3608 OUT+ | Uno 5V pin | Only after setting 5.0 to 5.2 V. This bypasses the Uno's regulator |
| MT3608 OUT− | Uno GND | |
| Battery + (after the switch) | 10 kΩ → Uno A1 | Battery sense for Sketch 2. Under 4.2 V, so no divider is needed on a 5 V Uno |
Warning
Never connect USB while the MT3608 feeds the 5V pin. The Uno R3 has no diode between the USB 5 V and its 5V rail, so the two supplies fight through the board. Disconnect the battery (switch off) before plugging in USB to upload. Do not feed the boosted 5 V into VIN or the barrel jack either: they need 7 to 12 V for the onboard regulator.
Step 1 - Set and check the 5 V rail
Set the MT3608 to 5.1 V with only the battery connected (see the overview's setting steps). Then connect OUT+ to 5V and OUT− to GND, switch on, and measure again at the Uno's 5V and GND header pins. Under the Uno's own load (about 50 mA) it should still read 5.0 to 5.1 V. If it is below 4.8 V, the cell is low or the wires are too thin.
Why the 5V pin and not VIN? VIN feeds the Uno's linear regulator, which needs about 7 V to produce a clean 5 V. A boosted 5 V into VIN gives a sagging rail of around 4 V. The 5V pin takes the converter's output directly.
Sketch 1 - Measure the Uno's own supply voltage
The Uno can measure its own supply without any wiring, by comparing the internal 1.1 V reference against it. This sketch prints the 5 V rail every second: a handy check that the MT3608 holds the voltage when the cell gets low or a load switches on.
// Reads the Uno's supply (VCC) using the internal 1.1 V bandgap reference
long readVccMillivolts() {
ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1); // AVcc ref, measure 1.1 V
delay(2); // let the reference settle
ADCSRA |= _BV(ADSC); // start a conversion
while (bit_is_set(ADCSRA, ADSC)) {}
long raw = ADC;
return 1125300L / raw; // 1.1 V x 1023 x 1000; calibrate this constant if needed
}
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print(F("5V rail: "));
Serial.print(readVccMillivolts());
Serial.println(F(" mV"));
delay(1000);
}Calibrating. The 1.1 V reference varies by about ±10 % between chips. Measure the 5V pin with your meter, compare it with the printed value, and scale the constant: if the sketch says 5200 mV and the meter 5100 mV, use 1125300 × 5100 ÷ 5200 = 1103660. Calibrate it once on USB power. To watch the MT3608's rail itself, unplug USB and read the output through a USB-serial adapter on pins 0 and 1 (connect only its GND, TX and RX, not its 5 V), or simply check the 5V pin with your meter.
Sketch 2 - Battery monitor with a low-battery warning
The MT3608 hides a draining battery: the 5 V rail stays steady until the cell suddenly cannot supply the input current, and then everything browns out at once. Measuring the cell itself gives you warning. A Li-ion cell is under 4.2 V, below the Uno's 5 V ADC range, so A1 reads it through a 10 kΩ series resistor with no divider. The sketch averages 16 readings, estimates the charge from a typical discharge curve, blinks the LED below 3.4 V and reports "empty" at 3.2 V.
const uint8_t BATT_PIN = A1; // battery + through 10 k
const uint8_t LED_PIN = 13;
const float VCC = 5.10; // your measured 5V rail (from Sketch 1 or a meter)
const float WARN_V = 3.40;
const float EMPTY_V = 3.20;
// Rough Li-ion state of charge from resting voltage (light load)
const float V_PTS[] = {3.20, 3.30, 3.40, 3.50, 3.60, 3.70, 3.80, 3.90, 4.00, 4.10, 4.20};
const int P_PTS[] = { 0, 2, 5, 10, 22, 38, 52, 65, 78, 90, 100};
int percentFromVolts(float v) {
if (v <= V_PTS[0]) return 0;
if (v >= V_PTS[10]) return 100;
for (int i = 1; i < 11; i++) {
if (v < V_PTS[i]) {
float f = (v - V_PTS[i - 1]) / (V_PTS[i] - V_PTS[i - 1]);
return P_PTS[i - 1] + f * (P_PTS[i] - P_PTS[i - 1]);
}
}
return 100;
}
float readBattery() {
long sum = 0;
for (int i = 0; i < 16; i++) {
sum += analogRead(BATT_PIN);
delay(2);
}
return (sum / 16.0) * VCC / 1023.0;
}
void setup() {
Serial.begin(9600);
pinMode(LED_PIN, OUTPUT);
}
void loop() {
float v = readBattery();
int pct = percentFromVolts(v);
Serial.print(F("Battery: "));
Serial.print(v, 2);
Serial.print(F(" V ~"));
Serial.print(pct);
Serial.println(F(" %"));
if (v <= EMPTY_V) {
Serial.println(F("EMPTY: switch off and recharge"));
for (int i = 0; i < 10; i++) { // fast blink
digitalWrite(LED_PIN, !digitalRead(LED_PIN));
delay(100);
}
} else if (v <= WARN_V) {
digitalWrite(LED_PIN, HIGH); // slow blink: low
delay(200);
digitalWrite(LED_PIN, LOW);
delay(800);
} else {
digitalWrite(LED_PIN, LOW);
delay(1000);
}
}Accuracy. The reading uses the 5 V rail as its reference, so VCC must match what your MT3608 really delivers; a 2 % error there is a 2 % error in the battery reading. The percentage is a rough guide: a Li-ion cell's voltage sags under load and recovers at rest, so readings are most meaningful when the project is idle. The sketch cannot switch the MT3608 off (it has no enable pin), so at "empty" you must switch the battery off yourself or add a protection board that cuts it at about 2.5 to 3.0 V.
Troubleshooting on the Uno
Uno resets when a motor or servo starts
- Likely cause
- The cell cannot supply the extra input current
- Fix
- Power motors from their own supply, or use a stronger cell and thicker wires
5V rail reads about 4 V
- Likely cause
- Boosted 5 V fed into VIN instead of 5V
- Fix
- Move OUT+ to the 5V pin
5V rail equals the battery voltage
- Likely cause
- Trimmer set below the input
- Fix
- Turn the trimmer up with the Uno disconnected
Battery reading too high or low
- Likely cause
- VCC constant does not match the real rail
- Fix
- Measure the 5V pin and update VCC
Battery goes flat in storage
- Likely cause
- The MT3608 draws 0.1 to 0.2 mA even when the Uno is off
- Fix
- Fit the slide switch in the battery lead
Arduino Uno FAQ
How long will an 18650 run an Uno? An Uno R3 draws about 45 to 50 mA at 5 V. At 85 % efficiency from a 3.7 V cell that is about 75 mA from the battery, so a 2,500 mAh cell lasts roughly 30 hours, less with LEDs, displays or radios. The Uno's USB chip and regulator make it a poor battery board; a bare ATmega328P or a Pro Mini at 3.3 V lasts far longer.
Can I use two AA cells instead? Yes: 2 × AA gives 2.0 to 3.2 V, within the MT3608's range. The input current is higher than from a Li-ion cell, so alkaline cells sag quickly; NiMH cells handle it better.
Where next? See the MT3608 ESP32 guide for deep sleep, or measure the real current your project draws with an INA219.
