this post was submitted on 27 Jul 2023
15 points (100.0% liked)
flashlight
2929 readers
1 users here now
Portable illumination
Rules:
- Be excellent to each other
- Don't be the reason we need to make more rules
Related:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
While I agree that this would certainly be interesting I don't really know how this could work. First of all: Real current sensing can only really be done with a constant current driver. Not saying that this would be accurate but this should indeed work for an estimation. But now the first problem arises: Most CC drivers also include a FET for turbo and/or the higher range of the ramp. The moment this switches on you're out of luck. Another option would be to add a sense resistor. This - again - would surely work to measure current. But you now have the problem that you introduce an (unnessisary) resistance in the driver, limiting the output of the flashlight (if it includes a FET). And lastly I just think that while it surely sounds like a cool feature it's just not something most flashlight enthusiasts would use regularly. Altering the flashlight circuit for a feature some people may use once or twice out of curiosity with a given flashlight does not seem reasonable and ToyKeeper IIRC has many things on her to do list that she wants to implement. Since this is such a nieche feature that (for what I know) would need hardware modifications on many flashlights out there, I don't think that this will get implemented.
Thanks both of you. It was intended as a pure hardware question since I can make the software changes myself in principle. So I wanted to know if there were adc inputs on usable places for this on existing boards, and it sounds like there are not. Oh well.
As for the FET in turbo mode, good point. I'm mostly interested in the lower levels though.
I guess tailcap current measurements with a DMM are good enough for my purposes. It would just be cool if it were built into the light.
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.