Sorry mate, but its nothing to do with doing it properly, it would be insanity to use a 3 pin voltage regulator to just light up an LED, seriously it would be considered as a very unusual and unnecessary use of a 3 pin regulator just to drive an LED, besides, you then have to use a couple of high frequency decoupling caps both at input and output in case you didn't know for supressing any possibility of emf emissions and to stop regulators having instability. Most circuits using LED's do not require regulated power supplies, such as Xmas flashing light circuits, also 3 pin voltage regulators can get pretty hot when operating in linear mode and there is a lot of voltage to drop, completely unnecessary and not a common practice.
Of course there would be absolutely no harm in using one, and if a circuit was already using a regulator because of need for one, then it is no problem running LEDs off that regulated power.
Last edited:
Links in this post may contain affiliate links for which DIYnot may be compensated.