Commandé avant 14h00 un jour ouvrable = expédié le jour même 30 jours de délai de rétractation Garantie d’un an
← Retour à l’aperçu

Schéma de câblage et exemple de code

Voici comment connecter le Module d’alimentation élévateur DC-DC MT3608 2 A max. à un Arduino UNO ou à un ESP32, avec un exemple de sketch que tu peux téléverser directement.

Démo du booster élévateur DC-DC MT3608

Cette configuration montre comment connecter le convertisseur boost élévateur MT3608 aux rails d’alimentation et de charge de l’Arduino Uno. Le module reçoit 5V de la carte et l’élève à une tension plus élevée réglable (jusqu’à 28V) grâce à son potentiomètre multitours intégré. Utilisez un multimètre entre VOUT+ et VOUT- pour régler et vérifier la tension de sortie souhaitée.

Schéma de câblage : Module d’alimentation élévateur DC-DC MT3608 2 A max. sur un Arduino UNO
Schéma de câblage · Cliquez pour agrandir
Tableau de câblage : Module d’alimentation élévateur DC-DC MT3608 2 A max. sur un Arduino UNO
Tableau de câblage · Cliquez pour agrandir
MT3608_DC_DC_Step_Up_Booster_Demo.ino · compilé et testé
/*
 * ==================================================================
 *  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

Moniteur de tension step-up DC-DC MT3608

Ce projet alimente le booster step-up MT3608 depuis la broche VIN de l'ESP32 et surveille la tension de sortie amplifiée en temps réel. Un diviseur de tension à deux résistances réduit en toute sécurité la haute tension de sortie vers la plage ADC de l'ESP32. Tournez le potentiomètre ajustable multitours sur le MT3608 pour régler la sortie et observez la mise à jour de la mesure dans le Serial Monitor.

Schéma de câblage : Module d’alimentation élévateur DC-DC MT3608 2 A max. sur un ESP32 DevKit V1
Schéma de câblage · Cliquez pour agrandir
Tableau de câblage : Module d’alimentation élévateur DC-DC MT3608 2 A max. sur un ESP32 DevKit V1
Tableau de câblage · Cliquez pour agrandir
MT3608_DC_DC_Step_Up_Voltage_Monitor.ino · compilé et testé
/*
 * ==================================================================
 *  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

Récemment consultés

Clavier à membrane 3x4 Matrix keypad switch

Clavier à membrane 3x4 Matrix keypad switch

€ 1,50
Câble adaptateur USB Midi

Câble adaptateur USB Midi

€ 7,30
Voir
Module d’extension I2C vers IO PCF8574

Module d’extension I2C vers IO PCF8574

€ 3,70