Electronic Circuits and electronic circuits, electronic schematics plus an extensive resource for hobbyists, inventors and engineers

DiscoverCircuits.com, has 45,000+ electronic circuits, cross-referenced
into 500+ categories.    We have searched the web to help you find quick design ideas.
We make every effort to link to original material posted by the designer. 
Please let us if you would like us to link to or post your design.

HOME Schematics Index Hobby Corner Dave's Circuits Electronic Resources Contact Info
Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches


Circuits designed by David Johnson, P.E.
Last Updated on: Monday, December 25, 2017 02:05 PM

List of Dave's Circuit Designs

The contents & graphics of Discovercircuits.com are copyright protected.
LINKING to Dave's circuits is permitted but DO NOT COPY any files to your WEB SITE server



More LED Circuits, Switches, Timer Circuits

On/off Pushbutton Switch with 30 Minute Timeout


I received an email from a Discover Circuits visitor.  He wanted to control power to a LED camping light he was building.  He wanted to turn the light on and off with a small pushbutton switch.  He also wanted a timer so the light would not stay on longer than 30 minutes at a time.  It seems that his kids often turned lights on when going to bed and then forgot to turn them off.

The light he was building was to be powered by 3 big 1.5v D cells, for a 4.5v supply.  He was going to use a 3 watt 2.9v white LED

from Cree but drive it with 500ma for a power of only 1.5 watts.  He figured that the batteries would give him about 20 hours of illumination before being replaced, if his kids didn’t sleep with the thing on, thus the need for the 30 minute timer.
The circuit I came up with is shown below.  A CD4060 is used for the 30 minute timer.  The device has an on-board oscillator and a 14 stage binary counter.  With the components shown the counter completes a half cycle at the Q14 output in about 1800 seconds.

Transistors Q1 and Q2 form a classic constant current LED driver.  The resistor R7 controls the current Amplitude.  I inserted an additional resistor R6, so the power dissipated in the transistor Q2 was lower.

A2a and A2b schmitt trigger inverters form a latching circuit.  With each activation of the pushbutton, the circuit either latches the LED on or latches it off.  In the on mode, the counter circuit is allowed to begin counting pulses from the clock oscillator.  After 8192 pulses the output at pin 3 of A1 swings high.  This forces the latch circuit to turn off, which turns off the LED and holds the counter in reset.

LED Camping Light

Click on Drawing Below to view PDF version of Schematic

on-ff LED Light with 30 Minute Timeout

 

More LED Circuits, Switches, Timer Circuits

List of Dave's Circuits
Dave's Circuits with Descriptions
Dave's Circuits by Category



eMail David A. Johnson, P.E. about this circuit


HOME Schematics Index Hobby Corner Dave's Circuits Electronic Resources Contact Info
Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches


 About Us   |  Advertise on DiscoverCircuits.com   |   Report Broken Links  |    Link to DiscoverCircuits.com  |    Privacy Policy


Copyright  January, 1998 - December, 2017     David A. Johnson & Associates.  All Rights reserved. 


 Linking is ALLOWED but COPYING any content or graphics to your web site is EXPRESSLY PROHIBITED.