I have been thinking of using LNK305P from Power Integrations to integrate an AC -DC power supply in my next project.
The application note containing the circuit is here.
What things do I need to be aware of safety wise?
I do realize that this is a non isolated power supply and should never be touched while in operation and it would be inside an enclosure to prevent any accidental touching.
I plan to use this to drive a 12v relay (coil current 75ma) and an avr circuit (max current 120ma)