Op werkdagen vóór 14:00 uur besteld = dezelfde dag verzonden en in 98% van de gevallen de volgende dag in huis. Gratis retourneren 30 dagen bedenktijd 1 jaar garantie
← Tillbaka till översikten

Kopplingsschema och kodexempel

Så här kopplar du MT3608 2A Max DC-DC Step Up-strömförsörjningsmodul Booster-strömförsörjningsmodul till en Arduino UNO eller ESP32, med ett exempel­sketch som du kan ladda upp direkt.

MT3608 DC-DC Step-Up Booster Demo

This setup demonstrates how to connect the MT3608 step-up boost converter to power and load rails on the Arduino Uno. The module receives 5V from the board and steps it up to an adjustable higher voltage (up to 28V) using its onboard multi-turn potentiometer. Use a multimeter across VOUT+ and VOUT- to set and verify your desired output voltage.

Kopplingsschema: MT3608 2A Max DC-DC Step Up-strömförsörjningsmodul Booster-strömförsörjningsmodul på en Arduino UNO
Kopplingsschema · Klicka för att förstora
Kopplingstabell: MT3608 2A Max DC-DC Step Up-strömförsörjningsmodul Booster-strömförsörjningsmodul på en Arduino UNO
Kopplingstabell · Klicka för att förstora
MT3608_DC_DC_Step_Up_Booster_Demo.ino · kompilerad och testad
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : MT3608 DC-DC Step-Up Booster Demo
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : MT3608 2A Max DC-DC Step Up Power Module Booster Power Module
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// MT3608 DC-DC Step-Up Converter Demo

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(115200);

  Serial.println(F("--- MT3608 Boost Converter Demo ---"));
  Serial.println(F("Input: Arduino 5V -> VIN+, GND -> VIN-"));
  Serial.println(F("Output: VOUT+ / VOUT- provides the boosted DC supply."));
  Serial.println(F("Tip: Turn the onboard potentiometer counter-clockwise"));
  Serial.println(F("     (often 10-20 turns initially) to step up the output."));
  Serial.println(F("Use a multimeter across VOUT+ and VOUT- to calibrate."));
}

void loop() {
  // Heartbeat pulse to confirm the board is active
  digitalWrite(LED_BUILTIN, HIGH);
  delay(500);
  digitalWrite(LED_BUILTIN, LOW);
  delay(500);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

MT3608 DC-DC Step-Up Voltage Monitor

This project powers the MT3608 step-up booster from the ESP32 VIN pin and monitors the boosted output voltage in real time. A two-resistor voltage divider safely scales the high output voltage down to the ESP32 ADC range. Turn the multiturn trimmer potentiometer on the MT3608 to adjust the output and watch the reading update in the Serial Monitor.

Kopplingsschema: MT3608 2A Max DC-DC Step Up-strömförsörjningsmodul Booster-strömförsörjningsmodul på en ESP32 DevKit V1
Kopplingsschema · Klicka för att förstora
Kopplingstabell: MT3608 2A Max DC-DC Step Up-strömförsörjningsmodul Booster-strömförsörjningsmodul på en ESP32 DevKit V1
Kopplingstabell · Klicka för att förstora
MT3608_DC_DC_Step_Up_Voltage_Monitor.ino · kompilerad och testad
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : MT3608 DC-DC Step-Up Voltage Monitor
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : MT3608 2A Max DC-DC Step Up Power Module Booster Power Module
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

const int SENSE_PIN = 34;
const float R1 = 10000.0;
const float R2 = 2000.0;
const float DIVIDER_RATIO = (R1 + R2) / R2;

void setup() {
  Serial.begin(115200);
  delay(1000);
  Serial.println("--- MT3608 Boost Converter Monitor ---");
}

void loop() {
  // Read the scaled voltage from the resistor divider
  int raw = analogRead(SENSE_PIN);
  float pinVoltage = (raw / 4095.0) * 3.3;
  float boostVoltage = pinVoltage * DIVIDER_RATIO;

  Serial.print("ADC Raw: ");
  Serial.print(raw);
  Serial.print(" | Boost Output Voltage: ");
  Serial.print(boostVoltage, 2);
  Serial.println(" V");

  delay(500);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Tidigare visade

10K-ohm inställningspotentiometer, liggande, med 15 mm knopp, hexagon socket

10K-ohm inställningspotentiometer, liggande, med 15 mm knopp, hexagon socket

€ 1,05
Micro-HDMI till HDMI honkontakt svart 0,2m

Micro-HDMI till HDMI honkontakt svart 0,2m

€ 6,95
Visa
18650 uppladdningsbart batteri 3.6V 2850Mah 10A

18650 uppladdningsbart batteri 3.6V 2850Mah 10A

€ 4,99
Visa
NRF24L01 + PA + LNA trådlös modul med antenn

NRF24L01 + PA + LNA trådlös modul med antenn

€ 3,85
18650 batterihållare med omkopplingsbar klämma

18650 batterihållare med omkopplingsbar klämma

€ 0,50
620-delars Dupont-kontaktsats 2.54mm

620-delars Dupont-kontaktsats 2.54mm

€ 11,40
Micro JST PH 3 pins pigtail-kontaktsats hane hona

Micro JST PH 3 pins pigtail-kontaktsats hane hona

€ 1,10
Micro JST PH 6-polig pigtail-kontaktset hane hona

Micro JST PH 6-polig pigtail-kontaktset hane hona

€ 1,85
4 Pin Female 11mm hög stapelbar Pin Header Connector

4 Pin Female 11mm hög stapelbar Pin Header Connector

€ 0,50
12v10A 120W 40x40mm TEC1-12710 Peltiermodul

12v10A 120W 40x40mm TEC1-12710 Peltiermodul

€ 8,35
12-bit RGB LEDs WS2812b cirkel rund (Neopixel)

12-bit RGB LEDs WS2812b cirkel rund (Neopixel)

€ 2,10
1.3inch SPI TFT LCD Display RGB (ST7789, 3.3V)

1.3inch SPI TFT LCD Display RGB (ST7789, 3.3V)

€ 6,25
530 delar färgglada krympslangset i låda

530 delar färgglada krympslangset i låda

€ 8,35
Velleman Mätkabel Med Bananpluggar 4mm Svart

Velleman Mätkabel Med Bananpluggar 4mm Svart

€ 5,30
Visa