I have been needing a 3.3 volt power supply that can use at least 12-24 volts ac dc in. I have looked online and managed to make this schematic
but I have no idea if it works.
I was hoping if you guys know if this might work
(please don't test I just want to know if theoretical work)
Link to project.
this circuit should power as esp12-f and a relay and it would be nice to have some head room
the second regulator can handle 20v (I think) (from the nodemcu board)
I'm not certain that the first (7805) regulator is the best choice due to the high heat production as stated by Spehro Pefhany
if you know an alternative solution I'd be happy to know
sorry for any inconveniences I have caused I mainly do the software side of things