Only a driver pic so far, it’s still quite a mess. I’ll do a writeup if I get this to work reliably.
The setup basically is this: there’s a ~100R bypass resistor in the head parallel to the LED so that the body functions as the positive pole (when the LED is off). In the tail, there’s a 47µ filter cap behind a diode. You rely on PWM to keep this cap charged, this means you have to stay below a certain duty cycle. The rest is pretty much a standard ATtiny 85 driver 1+n+FET(w/shunt).
I’m still having issues at the top of the ramp (µC resets) so my max duty cycle is probably too high. I also suspect 18kHz PWM might cause instability. May be a sketchy diode or too strong pulldowns, maybe the springs need bypassing. Maybe bad Anduril config, it sometimes steps down like it’s thermal throttling but I’ve got thermal management disabled (and thus can’t even re-calibrate the temperature.) :question:
I pretty much had it stable when running from a lab supply so the error can’t be that far.
This won’t win any beauty contests…
A C8F host is so cheap, easier to go with a light already setup for e-switch. Just wish they made a 1 LED version of the C8F host. Would be a cheap mod for sure.
Yes but where’s the fun? It already exists, and anyone can have it.