This was a small project to allow me to add extra lighting to my car’s poorly lit interior. The PCB has space for three small LEDs and a potentiometer to set the brightness. The LEDs are mounted at 120° to each other to allow the legs to be bent outward, creating a greater spread of light.
U1 is an AL5801 linear current sink which allows the PCB to accept a wide and varying input voltage on its two-pin connector. I chose a linear device to keep the PCB as small as possible. The low current LEDs ensure that the thermal specification of U1 is met.