This is for my smoke system. I plan to have an enable/disable switch on the panel, but I want the on/off control on my stick. I have a flashlight that works how I want it to work, but my one semester of EE courses in college didn't cover this.
The flashlight has one momentary button. When you tap it briefly, it latches the light ON. Tap it again to turn the light OFF. But if you hold the button down for more than about a half second, it just shines the light until you release the button.
I don't want to disassemble this particular flashlight to try to figure out the circuit. Does anyone have ideas on how to wire such a thing up without needing a microcontroller? I can make a latching circuit easily enough, but the dual function is beyond me.
The flashlight has one momentary button. When you tap it briefly, it latches the light ON. Tap it again to turn the light OFF. But if you hold the button down for more than about a half second, it just shines the light until you release the button.
I don't want to disassemble this particular flashlight to try to figure out the circuit. Does anyone have ideas on how to wire such a thing up without needing a microcontroller? I can make a latching circuit easily enough, but the dual function is beyond me.