Strobe/SOS disabling circuit: MK1 works. On Hiatus.

The stock part of the driver.

The one remaining capacitor is what I mean by a mode memory capacitor. The stock Ultrafire F13 driver (see post 22, capacitor is circled with green line and has a resistor stacked on top of it: Group Buy for the GearBest Ultrafire F13 - Closed? ) was what made me think up this circuit but I used this schematic for the stock circuit since it is stupid simple to start with:

All pretty normal looking. (D1 appears to be reverse polarity protection. I doubt that it’s normally included at all?)

How about your modified schematic?

Note I’m going to misuse terms here, I guarantee it.
The point of the modded circuit is that when the LX pin goes high, the mode IC (U1) gets power cycled to reset it to the first mode (U1 is assumed to be a mode IC that starts out in high mode).
When the base on the PNP transistor (Q1) goes high, Q1 cuts power to the mode IC U1. Q1 would cut the power to U1 and not resume it without C2.
The capacitor C2 will act like a short at first when LX pin goes high, thus pulling the base of Q1 up but as the capacitor charges it stops acting like a short so R1 can pull the Q1 base back down to resume power to U1 so that the flashlight will be in the initial mode without the user having to power cycle the light past the strobe/SOS modes.

D1 and C1 allow U1 to ride out short power cuts that would be caused by PWM so that modes other than high still work.

D3 and C3 preserve normal mode switching behavior by supplying power Q1 during the mode changing press of the switch so that U1 doesn’t get reset back to high when someone tries to put the light into the next mode. D3 keeps C3 from being discharged during a mode change. D3 and C3 needed because otherwise mode switching timeout would need to be shorter than one off period of the strobe for this circuit to work.

Shoulda bought a single mode clone for $2.99 from Banggood, unless you're just enjoying the exercise.

I understand your description better now. Sounds like a nice solution (assuming you are locked in a room with this modes chip and no other way to get modes and want to build a flashlight).

At first it seemed like you had way too many components, but your explanation helps show why you need them all. :frowning:

I’m actually surprised this circuit didn’t exist yet with the number of tact-i-cool flashlights being made and the number of times people have complained about the blink modes.

I’m trying to make a gateway drug for flashlight modders. The point of it is that all of these parts can be scavenged from consumer electronics, if the mod kills the driver nothing of importance is lost, and it is possible do it on impulse.

If I wanted a single mode, I could just remove the capacitors and it would reset to high every time. Option B is to just solder the LED - wire to the grounding ring and outright bypass the mode ic. The point of the circuit is to keep the useful modes while getting rid of the ones that aren’t useful. Single mode doesn’t work well when you need long runtimes/low output (say hatlamp duty while working on something close up) and periods of high output out of the same light.

Sorry, I thought you wanted single mode from the page you linked in post 6:

The Issue

This flashlight has one very poorly engineered feature and that is its modes.
It has three modes: Bright, Dim and Strobe, but to switch modes the light has to be turned off, and back on. This is a huge inconvenience when you switch it off in the Bright mode, as on the next power cycle it will be in Dim mode. You have to cycle modes to get it back to normal again.
This frustrated me, and I had no need for the other modes anyway, only full brightness. Time to fix it!

Are you saying that you expect this to work with an extremely wide range of component values? That does potentially make it more useful to the neophyte modder. I definitely like things that tempt new modders.

You’re aware of the common “modes IC” controlled drivers which allow the changing of mode groups through the soldering of jumpers, right? I’m not sure what percentage of the market is those chips and what percentage is the static (no options) 3-pin stuff. I suspect that the majority of the worst (no options) modes IC’s are placed in $3 SK68 & similar flashlights.

I know that drivers like the nanjg 105c exist, but I doubt that anyone starts by modding stuff they would actually miss if they killed it. I started by doing resistance mods to springs on a 3xAAA flashlight driving a K2 TFFC emitter without even a resistor.
I have a nanjg 105c sitting on my desk right now but the issue is that even if I order from IS, I still need a credit card and the willingness to wait a week. The under 18 demographic is significantly disadvantaged when it comes to having access to a credit card. I bought a two pack of flashlights from lowes with a H-L-Strobe driver in each for $12. The 2AA one has an XP-G2, the AA one has an XP-E2. Both had a decent tint for a CW LED. The driver and MPCB on the AA one are pressed into the hollow pill. The driver on the 2AA one is pressed into the pill but the MPCB has pill under it. Both drivers are held in by screw in retaining rings that screw into the pill, the pill screws into the body. Both pills and drivers are big enough to solder with a cheap soldering iron. The 2AA light has some semblance of regulation because it draws 1.7A on a single eneloop but only .8 amps off of 2 eneloops (and the same with a 3rd cell). The switches are pressed in, but the lens and reflector are held in by a screw in ring. The reflector has a clear plastic centering ring.

Since the lights are from a brick and mortar store, you can buy a bunch of them and only keep the ones that win the tint lottery, returning the others.
I’ll have to mod a cheap driver to test what values work for my circuit, but with resistance you can just adjust it with a pencil.

EDIT: Remembered the other reason for this: I can never seem to find a good boost driver for cheap.

We may eventually be able to help you out with that bit… [WIP] 15mm PAM2803 w/ ATtiny13A rough layout / possibility

I have disabilities that get in the way of soldering SMT. My hands will have 2-5mm of jitter when trying to solder, hence why I have a preference for through board components when possible.

That sucks! I assume that amount of jitter prevents you from doing most fine soldering? Including the type of intricate airwiring require to add a resistor, two caps, a transistor, and a diode to a small 15mm driver, regardless of whether they are through-hole or SMT? That is a lot of components to add to such a small thing.

I have workarounds, they just take a lot of time. I can make joints on small stuff, my issue is that I can’t avoid shorting pads on a PCB nearly as easy. My plan was to airwire the parts and then airwire them into the circuit. There is only one spot where I actually have to solder onto something other than a ground point, the battery positive spring, or the LED- so there is some space for forgiveness here. MK1 of the circuit will be on a breadboard. Through hole stuff gives me more space to take a razor saw to any shorted leads. I suspect that half my issue is that my soldering iron is bad. We are talking 10 year old tip, 25 watt iron that has faded to 15 watt, and mixed solders. Some of the solder I’ve had to use for the big stuff is so aggressive that it can eat a hole in the tip (I’m nearing the point where I just throw everything away and start over, it is that bad).

I have a newer variable power iron NIB, but I can’t seem to find any reliable guides and I refuse to ruin yet another tip by using it wrong. I know the iron is supposed to heat the items intended to be soldered together, but I at least have some decent solder.

One of the items on my todo list is to rig up an exhaust fan so that I can solder at a desk that is at the right height so that I can neutralize some of the jitter.

Standard 60/40 rosin core solder is what you want. Your local Radio Shack of Fry’s Electronics will carry it. There should be no reason to use acid-core. A wide range of temps will work. Is the new iron variable wattage or temp controlled? A temp controlled iron will tremendously increase your mileage on the tip.

Have you considered reflow soldering? I’m not sure it’s a great suggestion in this case (it doesn’t really sound like a great one), but you know your limitations and are a better judge. In that case you take a blank PCB and lay down solder paste on it, some members such as DBCstm normally use a stencil. Then you place components on the paste (this is the part I suspect might be trouble for you). If you make a mistake you can wipe the paste off and start over… but it just doesn’t sound like a practical solution here. I thought I’d better mention it just in case. You also don’t have any fumes to worry about so you can do it at any height or whatever, then carefully move the PCB to your reflow area.

Please keep us posted as you build MK1 on the breadboard. :slight_smile:

New iron is constant power. I’m considering selling it on craigslist and getting this: Radio Control Planes, Drones, Cars, FPV, Quadcopters and more - Hobbyking

Even though the large diameter solder eats away at the tip, it is labeled rosin core. I’m using almost nothing but 62/36/2 right now because that is the only solder I have that doesn’t eat at the tip (bought it for using with a cold heat iron, discovered that running NiMH cells in a cold heat causes it to melt from excessive power, discovered that it makes for extremely good joints with a regular iron.)

No reflow access. I used to have access to two hot air desoldering/rework stations, but both places went under.

I need a sharper tip I think.

IMO a good tip is the small chisel tip that often came with the Hakko FX-888. (T18-D16) It’s small enough to get the job done but has a little more mass than the sharp conical tips.

I’d definitely see about getting a few bucks out of that constant power setup and going with a temp controlled one. I’ve been super happy with my (discontinued) FX-888 and despite the shortcomings I’m confident that I’d have been about as happy with the newer FX-888D. If your budget can’t swing $95 shipped, the Yihua 936 seems like a really strong contender at$35 shipped. It would probably be best to plan on replacing the stock Yihua fine tip with a genuine Hakko tip from Sparkfun or somewhere else trustworthy.

I have never had a problem with rosin core solder damaging my tip once I switched to a temp controlled station. I’ve had two temp controlled stations and had no tip damage on either.

As far as reflow… I do mine with a hot air gun. I use a rebranded Wagner 1500W heat gun (sold as Milwaukee) just like this one. DBCstm uses a little round slab of stainless steel he picked up for free from his local welding shop, he just sets it on the stove!

I got the circuit to do it’s first goal: Shut off power to the mode ic for a short amount of time. Now just to get it to be triggered reliably by the strobe.

It needed a high vF diode between the power supply and the circuit.

Looks like 5mm LEDs are useful again.

The extra long length of the strobe phase is because I’m using the driver to switch the ground for the P60 dropin, thus there is an excessively large mode memory capacitor that I haven’t gotten around to pencil modding because the entire driver is being powered through the + lead on the LED. Total solder connections required: 0.

[video:!http://youtu.be/0ucKsr5qJA8]

Hah, pretty sweet!

I swapped out D1 from a red LED to 2 diodes in series, now it works at a lower voltage reliably.

WIP of circuit for ultrafire F13 driver so that I can figure out how to keep part count down: Circuit Simulator Applet–1–0.5599599959168495–0.6116638838084727+100.0%0AR+208+160+208+48+0+2+5000.0+5.0+0.0+0.0+0.1%0Aw+288+256+288+272+0%0Aw+288+272+208+272+0%0Aw+208+272+208+336+0%0Ac+208+336+240+336+0+4.7E-5+3.699604330551267%0As+208+160+208+192+0+1+false%0Ac+320+144+320+272+0+1.0E-6+0.6120577032606414%0Ar+320+272+400+368+0+10000.0%0Ao+19+64+0+35+5.0+9.765625E-5+0–1%0Ao+12+64+0+35+5.0+0.00625+1+–1%0A