This paper presents a single stage power supply for LED lightings. The proposed power supply designed using fly-back converter topology, which is directly controlled by a microprocessor. Although the proposed circuit does not sense the AC input current and has not AC input voltage feed-forward, it can achieve high power factor. The proposed power supply directly regulates the output power for LED loads using the PWM and PFM control of the fly-back converter without additional regulator. A prototype set-up has been built and tested. Through the experiment with a prototype set-up, the validity of the proposed circuit is verified.