Encomendado em dias úteis antes das 14:00 = enviado no mesmo dia e, em 98% dos casos, entregue no dia seguinte. Devolução gratuita 30 dias para refletir 1 ano de garantia

Esquema de ligação e exemplo de código

Como ligar o Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015 a um Arduino UNO ou ESP32, com um sketch de exemplo que podes carregar já.

LM2596 Voltage Step-Down Monitor

This project powers the LM2596 step-down module from the Arduino 5V rail and measures its regulated output voltage on analog pin A0. Adjust the onboard potentiometer with a small screwdriver to observe the real-time voltage changes printed to the Serial Monitor (keep output under 5V).

Esquema de ligação: Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015 num Arduino UNO
Esquema de ligação · Clique para ampliar
Tabela de ligação: Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015 num Arduino UNO
Tabela de ligação · Clique para ampliar
LM2596_Voltage_Step_Down_Monitor.ino · compilado e testado
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : LM2596 Voltage Step-Down Monitor
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596
 *  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 voltagePin = A0;

void setup() {
  Serial.begin(115200);
  while (!Serial) {
    ; // Wait for serial port to connect
  }
  Serial.println(F("LM2596 Step-Down Voltage Monitor"));
  Serial.println(F("Turn the onboard trimmer to adjust the output voltage (0-5V)."));
}

void loop() {
  int rawValue = analogRead(voltagePin);
  float voltage = rawValue * (5.0 / 1023.0);

  Serial.print(F("ADC Value: "));
  Serial.print(rawValue);
  Serial.print(F(" | Output Voltage: "));
  Serial.print(voltage, 2);
  Serial.println(F(" V"));

  delay(500);
}

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

Powering ESP32 with LM2596 Buck Converter

Before connecting the ESP32, use a multimeter to adjust the LM2596 trimmer potentiometer until OUT+ reads exactly 5.0V. The module efficiently steps down the 12V input to a stable 5V output to power the ESP32 via VIN and GND. When connected, the ESP32 boots up, blinks its onboard status LED, and outputs heartbeat messages via Serial.

Esquema de ligação: Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015 num ESP32 DevKit V1
Esquema de ligação · Clique para ampliar
Tabela de ligação: Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015 num ESP32 DevKit V1
Tabela de ligação · Clique para ampliar
Powering_ESP32_with_LM2596_Buck_Converte.ino · compilado e testado
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : Powering ESP32 with LM2596 Buck Converter
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596
 *  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.
 * ==================================================================
 */

// LM2596 Step-Down Buck Converter ESP32 Power Demo
// Note: Always adjust LM2596 output to 5V before connecting to VIN!

const int LED_PIN = 2; // Onboard LED

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

  Serial.println("LM2596 Step-Down Buck Converter Demo");
  Serial.println("ESP32 successfully running on regulated 5V power!");
}

void loop() {
  // Turn LED on
  digitalWrite(LED_PIN, HIGH);
  Serial.print("Uptime: ");
  Serial.print(millis() / 1000);
  Serial.println(" s | Power Status: OK (LED ON)");
  delay(500);

  // Turn LED off
  digitalWrite(LED_PIN, LOW);
  delay(500);
}

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

Módulo step-down ajustável 4~38V 5A 96% alta eficiência XL4015

Tensão de entrada 4-38VDC
Tensão de saída 1.25-36VDC, ajustável
Potência de saída 0-5A, com proteção contra curto-circuito na saída.
Saída máxima 75W com proteção térmica

Inclui dissipador de calor, fornecido desmontado. Pode ser fixado através da tira 3M anexada.

Dimensões
Comprimento: 5,4cm
Largura: 2,45cm
Altura: 1,7cm

  • Regelbare uitgang
  • Kortsluitbeveiliging
  • Thermische beveiliging
  • Compact formaat

Por que escolher este produto?

  • Regelbare uitgang – Uitgangsspanning instelbaar van 1,25-36VDC.
  • Kortsluitbeveiliging – Beschermt de uitgang tegen kortsluiting.
  • Thermische beveiliging – Maximale uitgang van 75W met thermische beveiliging.
  • Inclusief heatsink – Heatsink wordt ongemonteerd meegeleverd.
  • Eenvoudig te bevestigen – Met aangehechte 3M strip te bevestigen.
Especificações
Largura2,45 cm
Potência75W
Tensão de entrada4-38VDC
Tensão de saída1.25-36VDC
Comprimento5,4 cm
Altura1,7 cm
Corrente de saída0-5A

Na embalagem

  • step-down module
  • heat sink

Frequentemente comprados juntos

Total: € 9,20

Avaliações

★★★★★ 5,0/5 1 avaliação
  • ★★★★★Luc

    Funciona com precisão. Fácil de ligar.

Escrever uma avaliação
A tua avaliação

Envio & devoluções

Envio

  • Pacote com Track & Trace€ 6,20Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 7,35Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 8,50Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
  • Pacote com Track & Trace€ 9,15Alemanha 1-3, França 2-3, Espanha/Itália 2-4, outros países 3-5 dias úteis
Tudo sobre envios

Devoluções

Não ficas satisfeito? Tens 30 dias após a receção para devolver o produto.

Tudo sobre devoluções

Vistos recentemente