Source: https://mokxi.com/parts/lm2596
Updated: 2026-11-16

Part

# LM2596 buck converter module

A 150 kHz step-down switcher on a blue board: turn the trimmer to set OUT, and it draws less current than it gives.

See every part

- 4 pins
- 1 setting
- In 1 project
- In 1 lesson

Drawn live by the editor's own code, at the size you see it.

At a glance

## The LM2596 buck converter module in brief

What it is, and every setting the properties panel gives it.

The blue LM2596 module is a step-down switching converter: 4.5 to 40 volts in on IN+ and IN-, and a multiturn trimmer sets OUT+ anywhere from 1.23 volts up to about a volt under the input. IN- and OUT- are one copper pour. Because it switches at 150 kHz and an inductor averages the result, it trades volts for amps: 12 volts in and 5 out at 2 amps draws about 1 amp from the adapter, where a 7805 would take the full 2 and burn 14 watts. Mokxi’s model follows TI’s datasheet: about 86 percent efficient from 12 to 5 volts at 1 amp and 82 at 3, a 5 mA quiescent draw, dropout, a current limit near 4.2 amps of output, and nothing at all below 4.5 volts in. The trimmer is the volts property. On the bench, set it with a meter before connecting anything, since a module left at 12 volts on an Uno’s 5V pin kills the board, and give it 6.5 volts or more in for a 5 volt output. The 150 kHz ripple, soft start and heat are not modeled.

Family

Power and wiring

Pins

4

volts

5

A circuit built around it, running and explained: the Buck converter simulator.

Pins

## 4 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

IN+

The input, 4.5 V to 40 V.

IN-

Input ground.

OUT+

The output, set by the trimmer.

OUT-

Output ground.

How to use it

## How to use the LM2596 buck converter with an Arduino

Wire the adapter to IN+ and IN-, set the volts property to 5, then wire OUT+ to the Uno’s 5V pin and OUT- to GND. The 5V pin skips the board’s own regulator, so whatever the trimmer is set to reaches the chip directly: check it before anything is connected. Here a 12 V adapter feeds the module, and A0 reads the adapter through a 10k and 4.7k divider.

Part pin

Board pin

IN+

Adapter V+

IN-

Adapter V-

OUT+

5V

OUT-

GND

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

The adapter’s voltage through the divider on A0

How it is modeled

## What is true about the LM2596 buck converter module, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

The figures are the typical ones from TI's LM2596 sheet (SNVS124).

Power in is power out plus the losses. The input current is the output's power
plus what the switch, the diode, the inductor and the switching edges lose, over the
input voltage, plus the chip's 5 mA. From 12 V to 5 V the model is about 86 % efficient
at 1 A and 82 % at 3 A; the sheet gives 80 % at 3 A for the fixed 5 V part. From 12 V
to 3 V at 3 A it is 75 %, against the sheet's 73 %.

Dropout. The LM2596 can hold its switch on all the time, so near its input the
output follows the input down, about the switch's saturation (1.16 V at 3 A) and the
inductor's resistance under it. Set to 5 V from 5.5 V, it gives about 4.5 V at an amp.

The current limit. The switch limits at 4.5 A peak, which is about 4.2 A of
average output once the inductor's ripple is taken off. The board is sold as a 3 A
converter: past 3 A a real one runs hot.

Under 4.5 V in it is off. That is the sheet's lowest input; the sheet does not say
what happens below it, and the model simply stops.

### Not modeled

The ripple. The output carries a 150 kHz ripple, far faster than the simulator's
analog steps, so the output here is its average. At 12 V in and 5 V out the inductor's
current swings about 0.6 A peak to peak, and on the board's general purpose 220 uF
capacitor (about 0.05 to 0.1 ohm at 150 kHz) that is roughly 30 to 60 mV of ripple
peak to peak. A low-ESR capacitor on the output brings it down.

Also not modeled: light-load operation, where the real efficiency falls further than
the 5 mA quiescent current alone accounts for; the soft start; the spread of the
feedback reference from board to board (1.193 to 1.267 V); line regulation; the
ON/OFF pin, which the board ties on; and heat and thermal shutdown.

From LM2596 buck converter module, in full.

Projects

## See the LM2596 buck converter module in a project

One built-in project uses it. It opens in the editor, already wired.

Lessons

## Where it turns up in a lesson

One lesson places it in its own circuit.

### Learn articles

1 lesson

- LM2596 Buck Converter: Power an Arduino From 12 V

Boards

## The boards it is shown on

This board has a built-in project with the LM2596 buck converter module in it.

- Arduino Uno R3

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the LM2596 buck converter module

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
