GFS16 - a slightly improved lighted... and 1mR FET tail-switch!

58 posts / 0 new
Last post
Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

edited with new info

Hi loneoceans, I’m planning on changing some values to the following…….

Vbatt x R4 / R3 + R4 =Vref
  • When battery level drops below 3.30V, Light up Red.————————- 3.3V x 360K/116K+360K = 2.5V
Vbatt x R6 / R5 + R6 =Vref
  • When battery level drops below ~3.00V, Turn off all LEDs.————— 3.0V x 360K/ 72K+360K =2.5V
Does this look right or should I decrease R4 to keep R3 at a lower value, sorry I looked up the datasheet and i couldn’t figure it out, what’s the rule when setting R2 value in a voltage divider circuit pertaining to the MAX9052BEUA+ datasheet? Also how do I factor in the voltage drop across the bleeder resistor to have compensated values for R3&R5…. Vi= Vt x Ri/ RB+R4+R3

So to set a trigger point of 3.3V, bleeder resistance= 100R, R4=360K, R3(compensated for bleeder)=115K. drop across R4= 2.5V

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

If any one need help setting different trigger point or led brightness, just PM me.

note a 100ohms bleeder is required… any higher value messes up the ref voltage for the compactor even if your calculations are correct, the video loneoceans posted implies that he’s hooking up a bench power supply without any resistance and I’m sure his driver must have some sort of resistance from positive to ground other wise it’ll short circuit, also not shown is an internal hysteresis of about 0.02V where both channels are trigger.

Also note that the 100R bleeder will be in parallel once the flashlight is turned on.. consuming 37mah average, a minimum of 1/5 watt power rating required, 1/2 watt recommend for reliability to cope with the heat generated from the led, easily available in 0603 package.

Lexel
Lexel's picture
Offline
Last seen: 1 hour 25 min ago
Joined: 11/01/2016 - 08:00
Posts: 3943
Location: Germany

I would add a 2.8V LDO to the tail cap, so you get constant brightness of the LEDs

R4/R6 should be large to have a low current over the voltage divider, so do not lower them
their current draw is even present when all LEDs are shut down

The reason the calculated brightness varies from calculated resistors id that the bleeder consumes voltage,
the drop differs with the current drawn from the LEDs, so constant current is at least easier to calculate

for example if your 6 LEDs draw together 0.3mA then on a regular 100 Ohms bleeder the voltage drops 30mV
Each LED draws 50uA
LEDs are powered over a 2.8V LDO so we do not have to mess with different currents on different battery voltages
LV 3.2V
SD 2.9V

on this example the current drawn of the 3 regular LEDs is removed when you hit 3.2V
so the current drops from 0.3 to 0.15mA also the drop on the bleeder jumps from 30mV to 15mV
so the comparator notices when 3 LEDs shut down a voltage rise of 15mV
The question is how big is the hysteresis of the comparator is this basically dictates how big the bleeder can be

With such a low hysteresis not really big LED currents or big bleeder of 1kOhm are possible without flickering

I looked in the datasheet of the comparator and adding 2 resistors per channel from Output adds hysteresis,
this would mean a bigger bleeder possible

I also noticed the comparator shows 130uA supply current which is more than many low brightness tail caps consume, so storing the light without checking tail color is not a good idea

Using an LDO would pretty much remove the need of a comparator with internal reference

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

Thanks Lexel, makes a lot of sense… I finally got it to work exactly as I want it, changed LEDs current & R3/R5 – R4/R6 values works good with no hysteresis noted, ill upload a video in a little bit. I have the compactor set for 3.7V LV and 3.5V SD.

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

old values showing hysteresis


new values, works better
contactcr
Offline
Last seen: 41 min 56 sec ago
Joined: 05/19/2017 - 18:52
Posts: 403
Location: US

Video shows off the switch design nicely. Good job

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

contactcr wrote:
Video shows off the switch design nicely. Good job

credit goes to loneoceans, its his design, hope he shows up again with his driver release!
Lexel
Lexel's picture
Offline
Last seen: 1 hour 25 min ago
Joined: 11/01/2016 - 08:00
Posts: 3943
Location: Germany

I have made a new enhanced version

2×3 colors above first shut down
1 single LED for low battery signal

28uA 2.8V LDO up to 5.5V
dual pad for a 10V LDO for 2S lights
capacitors for LDO

2.8uA comparator without reference voltage, significantly reduced standby drain
the reference voltage comes from the 2.8V regulator and a voltage divider

added for each comparator a hysteresis voltage divider, so a larger bleeder like 470 or 1000 Ohms should be possible

17/20mm version

20mm with trimmers for LED brightness

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

Wow.. awesome job Lexel! Did you just design this in the past 24 HR Thumbs Up !? Well when is this gonna be available to buy?

djozz
djozz's picture
Online
Last seen: 3 min 29 sec ago
Joined: 09/07/2012 - 17:04
Posts: 12496
Location: Amsterdam

Fady wrote:
Wow.. awesome job Lexel! Did you just design this in the past 24 HR Thumbs Up !? Well when is this gonna be available to buy?

Lexel is from a different planet somewhere distant in the universe, the life forms from over there work at a much faster clock rate than we humans.

link to djozz tests 

“I used to think that top environmental problems were biodiversity loss, ecosystem collapse and climate change. I thought that thirty years of good science could address these problems. I was wrong. The top environmental problems are selfishness, greed and apathy, and to deal with these we need a cultural and spiritual transformation. And we scientists don’t know how to do that.”   (Gus Speth)

wildstar87
Offline
Last seen: 2 weeks 5 days ago
Joined: 06/29/2012 - 06:19
Posts: 9

Apologies if I missed it, but where did you get the stainless steel switch?

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

wildstar87 wrote:
Apologies if I missed it, but where did you get the stainless steel switch?

If your referring to the switch on page 1 of this thread…, they come with the flashlight, I think they are standard on the red and clear anodized s2+.
contactcr
Offline
Last seen: 41 min 56 sec ago
Joined: 05/19/2017 - 18:52
Posts: 403
Location: US

If, like me, you have one of the S2+ lights with a black metal switch you can buy the stainless metal switches from Banggood and the light will shine through the clear gasket (barely). So my Tan/Sand colored S2+ has a stainless metal switch I replaced and then added a lighted switch to.

wildstar87
Offline
Last seen: 2 weeks 5 days ago
Joined: 06/29/2012 - 06:19
Posts: 9

Yeah that is the switch, do you have a link on Banggood?

contactcr
Offline
Last seen: 41 min 56 sec ago
Joined: 05/19/2017 - 18:52
Posts: 403
Location: US
wildstar87 wrote:
Yeah that is the switch, do you have a link on Banggood?

https://www.banggood.com/Convoy-Metal-Clicky-Switch-DIY-For-S2-RedGreenB...

It only works on the ones already threaded for a metal switch though.

wildstar87
Offline
Last seen: 2 weeks 5 days ago
Joined: 06/29/2012 - 06:19
Posts: 9

Thanks!

vinte77
Offline
Last seen: 12 hours 9 min ago
Joined: 03/04/2014 - 18:43
Posts: 589
Location: California

So Lexel, are you going to have these switches available for purchase?

Firelight2
Firelight2's picture
Offline
Last seen: 32 min 55 sec ago
Joined: 04/08/2011 - 15:17
Posts: 2669
Location: California

vinte77 wrote:
So Lexel, are you going to have these switches available for purchase?
Yes… where’s the group buy on these switches? I need at least 10!!! Love

Fully preassembled please!!!!! SillySilly

skinny_tie
Offline
Last seen: 4 hours 25 min ago
Joined: 09/23/2017 - 03:14
Posts: 186
Location: Australia

Lexel wrote:
I have made a new enhanced version

2×3 colors above first shut down
1 single LED for low battery signal

28uA 2.8V LDO up to 5.5V
dual pad for a 10V LDO for 2S lights
capacitors for LDO

2.8uA comparator without reference voltage, significantly reduced standby drain
the reference voltage comes from the 2.8V regulator and a voltage divider

added for each comparator a hysteresis voltage divider, so a larger bleeder like 470 or 1000 Ohms should be possible

That’s awesome Lexel. Are you planning to sell these?

The_Driver
The_Driver's picture
Online
Last seen: 3 min 52 sec ago
Joined: 10/20/2016 - 05:51
Posts: 972
Location: Germany

Will the FET switches also fit in the tailcap of a Convoy C8 v2? Does anybody know how that lights tailcap compard to the one of the S2+?

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

The_Driver wrote:
Will the FET switches also fit in the tailcap of a Convoy C8 v2? Does anybody know how that lights tailcap compard to the one of the S2+?

Convoy C8 v2? Do you mean the new Convoy C8+? if that what you meant… I should have one arriving in few days, I’ll check and let you know.
The_Driver
The_Driver's picture
Online
Last seen: 3 min 52 sec ago
Joined: 10/20/2016 - 05:51
Posts: 972
Location: Germany
Fady wrote:
The_Driver wrote:
Will the FET switches also fit in the tailcap of a Convoy C8 v2? Does anybody know how that lights tailcap compard to the one of the S2+?
Convoy C8 v2? Do you mean the new Convoy C8+? if that what you meant… I should have one arriving in few days, I’ll check and let you know.

I meant this one , not the plus-version.

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

Just checked with FET switch alone and FET switch + lighted pcb and they all it fit perfectly.

The_Driver
The_Driver's picture
Online
Last seen: 3 min 52 sec ago
Joined: 10/20/2016 - 05:51
Posts: 972
Location: Germany

Fady wrote:
Just checked with FET switch alone and FET switch + lighted pcb and they all it fit perfectly.

Thank you! Great to know!

This means mine will go in this light from kiriba-ru which uses the body tube of the C8: 

 

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

Cool, let me know how that works for you,

Has anyone else used this FET switch, they seem not to last more than 2 weeks before they stop working… for some reason the coin cell just craps out. ill Raise R1 value to 4-5kohms to slow down the charging current and see what happens.

Schoki
Schoki's picture
Offline
Last seen: 2 hours 27 min ago
Joined: 03/27/2017 - 15:34
Posts: 168
Location: Germany

The charging current should be fine. But maybe the discharge current stresses the cell too much. The maximum continuous discharge current is 0.1mA.
Try increasing R2, by a lot.

Fady
Offline
Last seen: 1 day 2 hours ago
Joined: 09/26/2017 - 12:15
Posts: 23

Schoki wrote:
The charging current should be fine. But maybe the discharge current stresses the cell too much. The maximum continuous discharge current is 0.1mA.
Try increasing R2, by a lot.

I thought about that as well.. but the weird thing is that they just die on there own, the light would be sitting unused for a week with a fully charged 18650 in it, than the next thing I know when I try using it is its dead, the coin cell voltage is at 0. anyway I have some more boards on order, ill increase R2 like you said and see how that effects the battery and the FET gate.

Pages