First: You should not have posted / hijacked this thread.
You should read up on the use of the PWR_FLAG symbol:
I had a peek at your schematic, and it seems that there is no input connector for the 12V-24V.
So I added a connector, and added the proper power flags to indicate where the power comes from:
After that the 2 ERC errors were gone, but another popped up from pin 38 of ESP32-DEVKITC.
Hover above the ESP32 and press [CTRL + E], then edit pin 38 in the library editor and set it’s properties to power input instead of bidirectional.
Then I can run ERC without any errors.
You should also set the other power pins of your ESP32 to power input.
You should of course never trust a stranger. Read datasheet, re-calculate values and convince yourself.
The MP1584 circuit was meant for a uC, so 5V does seem logical.
Note: I have not made the PCB yet, so it is un tested.
Are you using V5?
Would you care to check the schematic / pcb and clean it up a bit so it could be added to the examples for V5?
For myself I’m perfectly happy with the IDC connector, but for more general use it seems a good idea to put a connector with 5.08mm spacing on top of it, so the user has a choice.
Efficiency of TS30012 seems a bit higher than of the MP1584, and it does not need the “compensation circuit”. But it is not in the same footprint. MP1584 is SOIC and TS30012 is QFN.
I’m a bit afraid of hand soldering QFN. With a SOIC I can at least see if it is soldered properly.