Not so final version of my LED lamp. Galvanic isolation, current limiter (no current peaks when turning off). Just a little bit lazy at start.
Remember: this very circuit is designated for 3 LEDs @ 20 mA. If you want LEDs @ 30 mA or even more LEDs, you have to set the current limiter again.