One of the application notes describes a transformerless power supply based on a capacitor and zener if you want more info I can look it up and some old posts to the list which include the maths. Cheers Steve.....