this post was submitted on 27 Jul 2023
15 points (100.0% liked)
flashlight
2985 readers
9 users here now
Portable illumination
Rules:
- Be excellent to each other
- Don't be the reason we need to make more rules
Related:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
if you have an emisar light and can disassemble it, then you can try soldering an airwire from the sense resistor to the button LED pad (sacrificing it for that) or a free ADC pin, but that's more difficult. If that cause problems with the current regulation, add a 10k resistor or the likes.
with a linear driver Iout=Iin so it's simple, with a boost driver Iin=(Vout x Iout)/(Vin x efficiency), thankfully Vin is already bein measured, Vout and efficiency need to be guesstimated.
Thanks, I do have a d4v2 but that's a level of modding that I wouldn't want to do for this. I s hoping enough capability might already be in the hardware, to make accessing it into a matter of programming. Maybe I'll just go with lux measurements.