Tell us about yourself!
Why not use an led strip instead of individual led's?Easier to wire up.
I recon he used the charging module to act as a voltage dropper for the leds.As stated a resistor would be cheaper.Or. Just connect an old lipo phone battery and make it wireless. ☺
Raspberry Pi Class