Thanks everyone again for your kind words.
I don't claim to have the skills to be able to implement a neural network on a micro, but fortunately, lots of other people are. Here's an example: https://github.com/ARM-software/ML-KWS-for-MCU. Should be able to get this to run on a Cortex M4 core. But let's not get ahead of ourselves; maybe a future project, but definitely not for this one right now!
Unfortunately it would be hard to add phone connection to the driver (e.g. via bluetooth), mostly because of how the driver is completely surrounded by metal, and a bit too much time needed to write the firmware for both the driver and the phone~
Anyway I hope this driver will be useful in the end since the main useful features are the constant current drive mode, good temperature regulation, good firefly mode, aux led control, and a little bit of fun with the microphone. The DD FET mode is impractical in my opinion, just a for-fun thing, and optional to even install that half of the driver.
The maximum sustained thermal load the D4 can sink will lead to only a few hundred lumens output.
@gchart, this means thermal sinking of the CC FET is not as crucial as one may think. That said, I found a perfect silicone pad to interface between the fet body and the metal D4 shelf, so thermal sinking is decent.
@i42dk, glad this feature is something you like.
@WTF, yes my main hobby is in big power electronics. For my coils, I'm just standing back to enjoy the show, and to keep safe. They do light up fluorescent bulbs and other low-pressure tubes from a distance though!
Have a great day everyone!