E-switch in the tailcap mod via additional button cell

Respect ! This I way beyond me so highly impressed!

Yep, what the Miller said. :slight_smile: :+1:

really like this mod.

Wow! Amazing work.

Looks like this would work with any e-switch driver.

Thanks!

It is very satisfying to see it work as I’ve put a lot of thought into it.

Yes, I think this should work with any e-switch driver.

I’d like to try to replicate this mod, but I’m not sure where everything should be wired up.

Would it be possible to post diagrams, labeled pictures, or more detailed instructions on where to wire what. I don’t want to do it wrong and have my flashlight explode.

Thanks!!! I have so many lights I’d like to try this with. :sunglasses:

Here is a topic for eswitch modding

Just add a bleeder parallel to LED and a charge resistor in front of the small battery

Sure, I can make some graphics that make the connections a bit more clear.

FYI, there are also smaller Li ion 1220 cells for smaller lights.

I looked into using a super capacitor instead of a battery, but I don’t think it would work for this purpose. They just don’t store enough charge. Super capacitors in this size range have around 0.5F, so they would store around 4V(0.5F)=2C of charge. The attiny13 takes about 2mA when it’s active, so that means the cap would have enough charge for roughly 2C/(0.002C/s)=1000s, which is only about 15 minutes of on-time. Apparently the Ti tool uses a super cap to power its tail e-switch, so I’m not sure of how that works specifically. I would guess there is less of a power requirement.

The tool only powers a fet as eswitch in tailcap
MCU is in the head

Wouldn’t it be possible to do it that way?

You just need to reverse the battery and make a negative contact area around the plus pole. The flashlight body now is the conductor for the regulated current with positive voltage.

What do you think?

I think this would work, but not with the FET drivers we normally use. I think a P channel FET is needed for this arrangement.

I realized I miscalculated the bleeder resistances necessary to keep the coin cell charged. I updated the OP with details.

I lowered the resistance of the bleeder resistors. I ended up using 470 ohms on the driver and 100 ohms in parallel with the LED. These resistances will lead to a deltaV for the coin cell of (570 ohms)(0.18mA)=0.10V below the main cell voltage.

The resistor in parallel with the LED had an unexpected effect. It lowered the lowest brightness possible with a FET only driver. It lowered the lowest brightness from ~5 lumens to 0.5 lumens, depending on the battery voltage of course, turning it into a proper moonlight mode. The lowest mode brightness can be tuned by adjusting that resistance. Adding this parallel resistance has a similar effect to adding a gate resistance, which I recently investigated to achieve the same effect.

Another solution for tailcap driver without coin cell is use the tube only as negative conductor for the LED
And use a bleeder resistor parallel to the LED that can fully power the MCU

But you need to adjust the LVP and VCC detection resistors
As well as moon modes levels need to be adjusted as the bleeder uses current thats not going through the LED

I don’t think this would work.

If you added the second bleeder resistor that I have (connecting driver positive to FET drain/body tube) it might power the driver with the flashlight off, but when the FET opens the voltage at the driver will fall to nearly zero.

It works I have a light here on the table which does exaclty this
when I measure parallel to the LED I get 33 Ohms for the bleeder in this imalent light
I bet a 100-200 Ohms will do fine as well

What are the details of this light?

If I’m reading your drawing correctly it looks like if the FET closes (becomes a short) the MCU positive and negative are shorted together.

The light must use a little PWM even on highest mode to charge a capacitor
this also leads to the relatively small bypass resistor of 33 Ohms

Actually, I still do not get this. How is the driver connected to positive when the light is running?

Here is a diagram of the circuit described in the OP.

I am currently using 100 ohms for the resistor near the LED and 470 ohms for the other resistor. The total resistance will affect the voltage at which the coin cell settles and the charge speed. The top resistor might affect the very low modes of the light. The bottom resistor will affect the parasitic drain of the coin cell when the flashlight is on. As described in the above posts.