The inspiration of this project came to me when I was repeatedly replacing flashlight batteries in my children’s flashlights. They like to have a small flashlight on at bedtime. The problem is they fall asleep with the light on and the batteries are dead by morning. I decided to design an auto-off flashlight to increase battery life. Introducting the Auto-Off Flashlight.
Step 1: Parts
So lets get started. First assemble the following parts:
LM7555 CMOS timer
BUZ101A N Channel Mosfet
Cheap LED torch
3 v battery holder (3 cell)
8 pin socket
Step 2: The Design
The tilt switch is wired in between pin 2 on the 7555 and ground. I made another flash light in which I replaced it with a normally open button. The type of tilt switch I used in this project allows the light to be placed in an always-on state. The switch is a metal ball which will roll onto two leads to complete a circuit.
Step 3: Construction
This design places the low power CMOS 7555 timer in monostable configuration. Monostable is also known as one-shot, as this design has one stable state. A low pulse on the trigger input will cause the output to go high for 7 minutes. The 7555’s output pin, 3, is connected to the gate of an N channel MOSFET. While the MOSFET conducts, the LEDS connected to the MOSFET’s source are illuminated. When the voltage on the external capacitor is greater than 2/3 VCC, the supply voltage, the timer’s output goes low and the MOSFET and LEDs are turned off.
The length of time the light is on is determined by the resistor and cap on pin 7. The equation 1.1*R*C can be used to calculate the time. I'm using a 1M resistor and a 470uF cap which gives me a on time of 517 seconds. It is not recommended to use a resistor value greater than 10M and a cap value greater than 1000uF for a 555 timer.