flashlight circuit

Thread Starter


Joined Nov 13, 2009
Im building a white LED flashlight with a blue illuminated tact switch. Im using a 350ma AMC7135 for high and a resistor for low. The lithium polymer will be charged by a Max1551.

I would like to set it so that a normal quick press turns the light on high mode but a slow press of a couple seconds in length will turn it on low mode instead and of course another press turns it off. High mode should output low if its on while pluged in to charge. I believe tact switches usually need debouncing.

Is there a simple timer chip I can use to do all this or do I have to learn how to program a PIC or something like that?
Last edited: