DIY flashlight - 2x nichia 519a floodlight, F15, rotary encoder, RGB.

Hello everyone!
Here’s my custom flat flashlight.
I primarily designed it for skateboarding at night (electric/nonelectric). So it goes on my shoulder on backpack strap, and I can adjust the angle.




13 Thanks

Spring loaded clip.


RGB mode

Size reference with 18650 and my trusty old Astrolux S42:

Rotating aluminium head has 2 nichia 519a 4000k with 16mm MCPCBs from convoy. 45 degree 13mm TIR reflectors. And 10 ws2812 RGB leds in a ring. Sorry forgot to take high quality photo of the inside:


I’ve cut it out of 40x20x3mm aluminium tube. and used a bunch of 3d printed jigs for drilling and shaping.

10 Thanks

Driver is CN5711 1.5A linear driver. I’m driving it at 4000HZ pwm, and also i’ve added 1200uf 4v polymer capacitor directly to the output to smooth out the ripples. I know, adding capacitor to CC driver is not how you supposed to do it, but it works really well, I can barely see the ripples on camera and only if I point it directly into the camera. Also i’ve soldered a 0.15mm copper plate to the bottom of the driver board for heat dissipation.
RGB leds are powered by TPS61023 5v Boost Converter. It has enable pin, so I can power it off completely.

Controller is XIAO RA4M1. I love these boards, lots of GPIO and they have battery management system, so you can connect the battery voltage directly to the controller, and use 5V pin for charging. Charger is TP4056 mini 0.5A module, RA4M1 already has charging but it’s only 200ma, so combined with TP4056 it charges at 0.75A.
Battery is Vapcell F15, copper contacts are spring loaded (spring from a lighter).

Encoder is most basic EC11 with added bearing on the knob. The mode switch is magnetic with a 49E hall sensor.

I kinda hate UIs interactions where you have to press and hold buttons, or double clicks.
So my UI very simple - click to turn on/off!
Rotate for brightness or RGB color.
Sliding switch for 2 modes.
Screen just displays voltage for now.

Standby current is 60 microamps. So theoretically could last 2-3 years on standby from full charge.

On full power it’s slightly brighter than high mode on my AstroluxS42. The beam is smooth and wide.

15 Thanks

Please enjoy your time here, vap!

2 Thanks

Excellent flashlights, congrats !

Welcome on BLF, have a good one !

1 Thank

that’s so cool. i’ve thought about trying to design & print my own flashlight (maybe out of a high % copper-fill filament or something), but wouldn’t know where to even start. really nice job. :+1:

2 Thanks

Thanks!

1 Thank

Thank you!
What do you have in mind, what functions do you want it to have? I can help with advice.

1 Thank

You can check the circuit here:

5 Thanks

Added low battery mode and brightness bar (shows for a second when you scroll)


6 Thanks

Wow, great project :+1:

2 Thanks

Thanks!

1 Thank

This is really cool. Great job on it!

1 Thank

This is very cool!

I wonder how those striped flat beam TIR optics would look. I love the dial output switch on lights, I have the RRT01. They should be more common imo, perfectly adjustable.

Again this light is very interesting. with F15 the runtimes should be pretty decent. Good choice of emitter as well.

1 Thank

Thank you!

1 Thank

Thanks.
Like these?

Yea, would be interesting to check them out for riding, I assume the spotlight would be wider horizontally.
I’m using 13x7mm reflectors, I got 90 degrees, 60 degrees and 45 degree ones. 45 worked the best.
haven’t found the striped ones in this size yet.
Yea, encoder is very fidgety. I was inspired by wuben g5 design, only wanted something way better specced - triple the battery, 1.5 times the CRI :grinning_face: and the clip the other way around.

Emitters is what got me down the rabbithole. I’ve been using astrolux S42 with Nichia 219 for almost a decade without even realizing it had some of the best LEDs. When it finally broke I’ve decided to see what I could replace it with, and discovered the rotating head flashlights, but none of them had the shape or comparable specs I wanted.

I gotta check the runtime, once I dial in the voltage measurements. I think I used divider resistors with too high of a value (270k/540k), so the measurement is getting crosstalk.

2 Thanks

Yes those striped TIR optics. I’ve tried the carclo triple 105xx version on a D3AA, but never tried the single ~20mm versions. The beam on the D3AA was very elliptical for sure. Wasn’t very useful for regular “EDC” use, but they’d surely have their niche like most things.

1 Thank