The MT3608 is a small DC-DC boost (step-up) converter module used to increase an input DC voltage to a higher adjustable DC output. It typically connects to a DC input at the input terminals and provides a boosted output at the output terminals, with an onboard adjustment control to fine-tune the voltage. Modules like this are commonly used in Arduino/ESP32 projects to power circuits from batteries or lower-voltage sources.
| Pin | Signal | Description |
|---|---|---|
VIN- |
ground | Input negative terminal; connect to source/battery ground. |
VIN+ |
power | Input positive terminal; connect the lower DC supply voltage to be boosted. |
VOUT- |
ground | Output negative terminal; common ground return for the boosted output. |
VOUT+ |
power | Boosted adjustable positive output voltage for powering the load. |
| From | To | Wire |
|---|---|---|
board:5V |
x1:VIN+ |
red |
board:GND |
x1:VIN- |
black |
x1:VOUT+ |
board:VIN |
red |
x1:VOUT- |
board:GND.1 |
black |
This example was written and compile-checked for the arduino-uno. Codey Online adapts it to any other supported board for you.
void setup() {
Serial.begin(9600);
while (!Serial) {
;
}
Serial.println("MT3608 boost converter canonical example");
Serial.println("Arduino Uno 5V -> MT3608 VIN+ / GND -> VIN-");
Serial.println("MT3608 VOUT+ is shown connected to Arduino VIN, and VOUT- to GND.");
Serial.println("This component is passive, so no control code is required.");
}
void loop() {
// The MT3608 module is a power converter with no digital interface.
// In a real project, it would simply provide a boosted supply voltage.
delay(1000);
}
Describe what you want to build. Codey Online writes the code, draws the wiring diagram, compiles it and flashes your board straight from the browser.
Start for free