Codey OnlineArduino & ESP32 component library › Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596
Adjustable Step-down Module 3-40VDC  1.5-35VDC LM2596
Other

Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596

This LM2596-based adjustable buck converter steps down a higher DC input to a lower DC output with good efficiency. It is commonly used to power Arduino and ESP32 projects from a higher-voltage supply, and the output voltage is set with the onboard trimmer potentiometer.

Width: 7 mm

Pinout — Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596

Pin Signal Description
OUT+ power Regulated positive DC output from the buck converter, set by the trimmer.
OUT- ground Output negative/ground return for the regulated DC load.
IN+ power Positive DC input supply to the buck converter, typically 3–40 VDC.
IN- ground Input negative/ground return for the DC supply.

Example wiring diagram — Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596

From To Wire
board:5V x1:IN+ red
board:GND x1:IN- black
x1:OUT+ board:5V red
x1:OUT- board:GND.1 black

Example Arduino code — Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596

This example was written and compile-checked for the arduino-uno. Codey Online adapts it to any other supported board for you.

// Canonical example for an LM2596 adjustable step-down module
// This sketch reads the Arduino's 5V rail as a simple voltage check.
// Wiring note: the LM2596 is connected to the Arduino power rails in this example.

void setup() {
  Serial.begin(9600);
  while (!Serial) {
    ;
  }
  Serial.println("LM2596 adjustable step-down module example");
  Serial.println("The module is wired to the Arduino power rails.");
}

void loop() {
  int raw = analogRead(A0);
  float volts = raw * (5.0 / 1023.0);

  Serial.print("A0 reading = ");
  Serial.print(raw);
  Serial.print("  approx volts = ");
  Serial.println(volts, 3);

  delay(1000);
}

Related components

4-Channel Optoisolator Board

4-Channel Optoisolator Board

AD9850 DDS Signal Generator Module

AD9850 DDS Signal Generator Module

Breadboard 400 pin

Breadboard 400 pin

DC 12V adjustable timer delay, time delay relay turn off switch module time relay time switch 0~25sec for smart home, automatic control

DC 12V adjustable timer delay, time delay relay turn off switch module time relay time switch 0~25sec for smart home, automatic control

Build your Arduino or ESP32 project with AI

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