# Buck converter questions (24V to 5V)

**URL:** <https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271>\
**Category:** Motors, Mechanics, Power and CNC\
**Created:** [March 31, 2025, 8:00pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271 "2025-03-31T20:00:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![apolloneo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/apolloneo/32/1208249_2.png) [@apolloneo](https://forum.arduino.cc/u/apolloneo)\
**Post date:** [March 31, 2025, 8:00pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/1 "2025-03-31T20:00:10Z")

</div>

Hello,

I want to use MP1584 buck converter to convert 24V DC power supply to 5V regulated one. I try to follow the MP1584 datasheet and the online design tool from [monolithicpower.com](http://monolithicpower.com) as well. Here are my questions:

From the datasheet typical application recommendation, the circuit looks like this,

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/a/f/7/af77b4242f53dad0c587d3b3ad2a25025c9fcf63.png)

but from the online tool, they look like this  
for Vin from 8V to 28V,

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/f/f/8ff430c219f4d0efaed397a7afef4626cc54f9ed.jpeg)

for Vin from 22V to 26V,

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/9/1/891d6d5323709e7ab44b33a4ffeb7f8b0c5853e5.jpeg)

my power supply used in project is 24V (range from 22V to 26V). So I wonder if I should follow the online design tool or application from datasheet. I understand probably, all of those 3 are okay, just wonder if there is one slightly better and the reason behind it.

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [March 31, 2025, 8:36pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/2 "2025-03-31T20:36:51Z")

</div>

> [@apolloneo](#):
>
> I want to use MP2338 buck converter.

Not as easy as you might think. Circuit board layout and parts choice is critical.  
Much easier to use a buck converter module.  
Pololu has an **[excellent range.](https://www.pololu.com/category/131/step-down-buck-voltage-regulators)**  
Leo..

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [April 1, 2025, 12:53am UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/3 "2025-04-01T00:53:23Z")

</div>

+1 for Pololu, and getting on with the actual project.

---

<div class="post-metadata">

**Author:** ![belmont1591](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/belmont1591/32/1133217_2.png) [@belmont1591](https://forum.arduino.cc/u/belmont1591)\
**Post date:** [April 1, 2025, 3:09am UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/4 "2025-04-01T03:09:42Z")

</div>

MP2338 or MP1584?  
Text says MP2338 but images says MP1584

---

<div class="post-metadata">

**Author:** ![apolloneo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/apolloneo/32/1208249_2.png) [@apolloneo](https://forum.arduino.cc/u/apolloneo)\
**Post date:** [April 1, 2025, 1:32pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/6 "2025-04-01T13:32:43Z")

</div>

good catch. I was thinking MP1584. fixed in my original post.  
MP2338 is another option, but so far, MP hasn't put it on their online design tool yet. So, it wouldn't bother me to use which schematics as the MP1584 did.

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [April 1, 2025, 6:57pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/7 "2025-04-01T18:57:05Z")

</div>

Don't forget that parts choice is critical too.  
Leo..

---

<div class="post-metadata">

**Author:** ![belmont1591](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/belmont1591/32/1133217_2.png) [@belmont1591](https://forum.arduino.cc/u/belmont1591)\
**Post date:** [April 2, 2025, 3:36am UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/8 "2025-04-02T03:36:54Z")

</div>

First of all, I wouldn't choose the MP1584 because...

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/9/a/3/9a3272a007b853b2a531f575bfab0c5b8b5f7837.png)

![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/5/e/a/5ea0f73fe8f60662d38d24dcbfd4105a26091fbe.png)

However, let us ignore this warning.

The [MP1584 Datasheet](https://www.monolithicpower.com/en/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MP1584EN-LF-Z/document_id/204/) (page 15) shows a reference design using a 15uH inductor and from the online tool, the inductor's value is 9.1uH. Why?

If we go to page 10, we will find this equation:

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/3/e/3/3e366a18c7a093d4cf19c384f960de29c81a7674.png)

But, what is Delta\_IL (inductor ripple current)? Please refer to this Analog Devices [article](https://www.analog.com/en/resources/technical-articles/selecting-the-right-inductor-current-ripple.html) (read this ENTIRE article).

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/8/c/2/8c2952cc91933911f3ab7320e7f2ccf9c0fc8d3e.png)  
 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/9/6/6/966c839c8c05ba4d372eaccb84ed27a18c4fc0cd.png)

So, from the above equation, we know the switching frequency (910 kHz), we know the output voltage (5V), we know the input voltage (24V)

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/2/7/f/27f8ea57070b6f3e71b994b05bdbf761bcb994c7.png)

And how I do calculate Delta\_IL? Please refer to this Texas Instruments [article](https://www.ti.com/lit/an/slva477b/slva477b.pdf?ts=1743533415442&ref_url=https%253A%252F%252Fwww.google.se%252F)  
specifically, here (page 3)

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/2/c/7/2c73c0ceb62510242b2d6c01a2e3f26c60a99a99.png)

Basically

```arduino
Delta_IL = k * Iout (max)

```

From the online tool, the inductor current ripple is 16% (0.16) Therefore Delta\_IL will be:

```arduino
Delta_IL = 0.16*3A = 0.48 A 

```

What happen if we replace all these values in the inductor equation?  
 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/d/5/e/d5ecb7b134b9037868887f5c808df8241f3c2a2e.png)

Now, what will be the value of the ripple current in the datasheet typical application so that the inductor's value is 15uH?

Let's first determine what is the switching frequency. From the datasheet page 9, we get this another equation

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/b/f/f/bff01f8819d3f998933aefae12f6fd8cd33a176f.png)

If we isolate the Fs(kHz) variable we get:

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/d/c/1/dc138e2df82d592e2f24bc7a81378ff72614e329.png)

From the example, we get a 100kOhm resistor value, then  
 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/a/e/2/ae2ec395e211ae2588cbbf147b50aaabe18f6bea.png)

Now, let's isolate Delta\_IL value from inductor's equation:

![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/9/9/1/991dd2b805d909f15e5cd03d85db27e161392609.png)  
replacing values we get:  
 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/3/a/2/3a210502391b46334c76dbf3bd0cff77c9aa89f0.png)

this value in percentage will be:

k = Delta\_IL / Iout(max) = 0.28998779/3 = 9.66%

If we put this value in the online tool we will get:

 ![imagen](https://europe1.discourse-cdn.com/arduino/original/4X/0/6/9/06955d5daf9113a62b1d2211669e505d9d4bce11.jpeg)

Therefore, the application shown in the datasheet is assuming a ripple current of 9.66% while you set a ripple current of 16% in your design

---

<div class="post-metadata">

**Author:** ![apolloneo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/apolloneo/32/1208249_2.png) [@apolloneo](https://forum.arduino.cc/u/apolloneo)\
**Post date:** [April 2, 2025, 1:45pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/9 "2025-04-02T13:45:42Z")

</div>

Nice explanation. I appreciate it.

---

<div class="post-metadata">

**Author:** ![oldcurmudgeon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/oldcurmudgeon/32/1280882_2.png) [@oldcurmudgeon](https://forum.arduino.cc/u/oldcurmudgeon)\
**Post date:** [April 2, 2025, 4:22pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/10 "2025-04-02T16:22:32Z")

</div>

The explanation by @belmont1591 is why I buy switching regulators rather than build them. It is usually cheaper and a lot less work. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [September 29, 2025, 4:23pm UTC](https://forum.arduino.cc/t/buck-converter-questions-24v-to-5v/1369271/11 "2025-09-29T16:23:11Z")

</div>

Closed on September 29, 2025, 4:23pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
