I've seen in various topics that batteries are not a solution for long lasting applications.
I' trying to figure out how can I transform 220V AC to 3v3 DC..The only idea I have is to use something like mobile phone recharger (220V AC to 5V DC) and then connect to AMS1117 (5V to 3V3).
Do you know a better (and smaller) idea?