I have a lot of LED flashlights and lanterns from China that use a simple IC as their driver to get these different light modes. For instance I have this small keyfob lamp that lights in the following modes when the momentary tactile button is pressed – (High mode -> Low mode -> Blinking Mode -> Off), and yes I have to cycle through all modes to turn it off. Additionally long pressing the button will make it go into an SOS flasher mode.
I opened up the lamp and took a close look and found there only a total of 4 components, the LED, a momentary switch, a 3R0 smd resistor and finally a SOT23-6 type IC with “2819” written on it. I googled for that IC and found it’s FM2819 by “Shenzhen Fuman Elec” and found it’s datasheet too. The circuit used in the lamp is exactly the same as the one shown in the datasheet.
What I want to know is that is there any way of modifying the circuit/wiring to get rid of all these light modes? since all I want is just plain ‘ON’ and ‘OFF’.
- SW in the circuit is for switch.
Best Answer
Your S1 is almost certainly not an closing switch,
simulate this circuit – Schematic created using CircuitLab
but a momentary pushbutton,
simulate this circuit
considering it's used to cycle through modes.
This sounds very much like
Alternatively, you could also
But that'll require a couple more components (two transistors for toggling, plus a bit of capacitance for de-ringing the pushbutton) or a small microcontroller (e.g. an Attiny8).
Modification of the existing circuit is not really an option – it's almost certain that the IC is single-purpose; I can't read the datasheet in Chinese, but seeing that it's only 2 pages in length, it's certainly not a programmable controller.