I have a circuit running an ESP-12 at 3.3v DC that I would like to power with a doorbell transformer that will deliver between 8 and 24v AC. I was wondering what would be the best way to do that.
I'm currently powering the circuit with a 5V DC adapter and a HT7333 LDO (datasheet) to convert it to 3.3v.
I was thinking that I could use a bridge rectifier like the MB6S (datasheet) to turn AC into DC, and then use an LDO to convert to 3.3V.
The HT7333 has a maximum input voltage of 12v, so I will be in trouble when I use a 24v bell transformer, but there are LDO's that should fit the bill and which have the same footprint, like these.
I was wondering if there's anything else I would need to do to make this work? or if there are better solutions than the way I'm going?