I am now doing a project, ( AC power, Thermal Controller )
Only allow to use mcu + thermal resistor + heater. I feel headache that the voltage supply is AC, how can I get 5V DC from 220V AC? without transformrer.

Is it possible to use discrete components to do it?
zener diode? cap? resistor?
because the project is cost-down approach.