I'm just a simple programmer trying to learn some of this stuff. I'm trying to create an RGB LED strip PWM dimmer controlled with an ESP32 for some IoT usages.
The LED strips use 24v and thus most of the "popular" designs I find can't really be used as they are mostly 12v. I've looked into a couple of types regulators but these are the two I found that seems usable:

And:

The problem with the first one, is that I can't seem to find the controller in stock. The second seems a bit overkill. Which one would be more suitable to take the power from the LED driver, (CV) at 24v and make it usable for the ESP32. Maybe an alternative to the JW5026 that is in stock at JLCB(or readily available somewhere easy like digikey). The extra space taken by the second design isn't a major issue.
The LED strips use 24v and thus most of the "popular" designs I find can't really be used as they are mostly 12v. I've looked into a couple of types regulators but these are the two I found that seems usable:

And:

The problem with the first one, is that I can't seem to find the controller in stock. The second seems a bit overkill. Which one would be more suitable to take the power from the LED driver, (CV) at 24v and make it usable for the ESP32. Maybe an alternative to the JW5026 that is in stock at JLCB(or readily available somewhere easy like digikey). The extra space taken by the second design isn't a major issue.