Click here for a free subscription to "HDE" our site newsletter.

Long Time Delays With A 555 Chip

 

Long time delays with a 555 integrated circuit

Battery powered data logger

I'm working on a project to allow me to wirelesssly measure and log the temperatures in a building. I want to build an accurate picture of how the temperature varies from room to room and over time. The information gained can then be used to optimise the heating system.

I'm looking at various options to accomplish this from simple dumb sensors with a transmitter or a cheap microcontroller like the Arduino to full wifi enabled microcomputer systems like the Raspberry Pi. Whatever I choose for the remote hardware it will need to be cheap to produce and low power enough to operate for several days at least on battery.

I'm going to take advantage of the fact that I only need to record temperature every 10 minutes or more to minimise the average current consumption. To do this I need a low power, long time delay circuit to wake up the logger at regular intervals, take readings and transmit the data to a base station.

The 555 - A simple timer chip

The obvious place to look first when in need of a timing circuit is the 555 timer chip. It's been aroound almost as long as I can remember but it still manages to impress me with it's capabilities.

The standard 555 IC has a low power consumption. I measured the current that one in-circuit 555 used at 8mA. This doesn't sound much but if you run the device off a 2000 mAH battery then it can only be expected to work for 10 days. This may be enough but this has to be put together with the power used by the datalogger when it's turned on for say 1 minute out of 10.

If the logger takes 200mA when powered up then this is equivalent to 20mA continuous. With an average current of 28mA the battery will only last for less than 3 days. If the timer power could be reduced to zero then the battery would last 30% longer.

The standard 555 chip takes 8mA but there is a low power CMOS version of the 555 which requires significantly less power to operate. I don't have any low power versions but I do have a standard one so I'm going to start testing that until I can get my hands on a low power version.

555 delay circuits

The 555 can be used in a number of different ways to produce square waves, pulses or simple one shot timing. I need a one shot timer that can energise the datalogger after a delay and be reset by the datalogger after it has performed the task.

I began by testing the 555 in some conventional circuits and I was easily able to achieve repeatable delays of several minutes. I want longer delays. I want to have a delay that I can set from 10 minutes to a few hours. I could use a 555 to generate a 1 second or slower pulse which I then feed into a counter to produce long and accurate delays but that seemed a bit of overkill. That was when I found a simple variation on the basic circuit.

Raspberry Pi B+ image Circuit for 555 long time delay

I don't need the delay to be particularly accurate because I will need to log the time of the reading anyway. It doesn't matter whether I take readings every 8 minutes of every 12 minutes apart from the impact on the battery life of course. Anyway the circuit above seems to do just nicely.

Testing the standard 555

I tested the above circuit with 3 values of resistor RT. Here are the results:

  • RT =  10kΩ t = 5:08
  • RT = 100kΩ t = 45:00
  • RT = 220kΩ t = 1:30:00

I'm sure that this circuit will do even longer time delays stretching into days if required but once every 90 minutes is the longest I shall need for my datalogger.

Now where is that low power version?

 


Now subscribe to our newsletter and don't miss a thing
 



Comments (18)

Topic: Long Time Delays With A 555 Chip
Full StarFull StarFull StarFull StarHalf Star 4.5/5 (8)
Facebookdel.icio.usStumbleUponDiggGoogle+Twitter
Jack (US) says...
How to disable the extended time during the duration of one cycle. If the duration is set to 1 minute, pressing the button several times during the cycle will continue the countdown without extending the time.
19th September 2024 7:16pm
Full StarFull StarFull StarFull StarFull Star
Wtorres (Puerto Rico) says...
Laugh Es justo lo que necesito!! Lo único que tuve que agregar es una resistencia de 100 ohmios en serie al potenciómetro para proteger el 555 en caso de que el potenciómetro llegue a cero ohmios
28th June 2024 6:29pm
Wtorres (Puerto Rico) says...
Translation!!

It's just what I need!! The only thing I had to add is a 100 ohm resistor in series to the potentiometer to protect the 555 in case the potentiometer reaches zero ohms
28th June 2024 6:31pm
Full StarFull StarFull StarFull StarFull Star
Ravindran (India) says...
I have assembled the circuit and working verywell. Tested upto 3 Hrs. Used pnp transister Bc557 connected to out put of pin 3 with relay drive. I need one clarification. On end of the capacitor is connected to base of transistor Bc547. Pl clarify how discharge of capacitor is taking?
26th February 2024 1:49pm
Ravindran (India) says...
I have assembled the circuit and working verywell. Tested upto 3 Hrs with 2200micro frad capacitor.
Used pnp transister Bc557 connected to out put of pin 3 with relay drive. I need one clarification. One end of the capacitor is connected to base of transistor Bc547. Pl clarify how discharge of capacitor is taking?
26th February 2024 2:07pm
Ravindran (India) says...
I have assembled the circuit and working verywell. Tested upto 3 Hrs with 2200micro frad capacitor.
Used pnp transister Bc557 connected to out put of pin 3 with relay drive. I need one clarification. One end of the capacitor is connected to base of transistor Bc547. Pl clarify how discharge of capacitor is taking?
26th February 2024 2:41pm
Darius says...
Why use 555 when you can use attiny? In sleep mode it runs on microamps. Timer interupt can wake it after specified time and put it back to sleep after logging is done.
25th October 2018 12:54pm
Paul says...
If Current is not a problem and you are working from any supply above 5V with a added regulator to the attiny ext a LMC555 or 7555 would probably be much cheaper and will take much less time. May be for the same or smaller PCB depending on your PCB layout abilities.
2nd June 2021 6:14am
Full StarFull StarFull StarFull StarEmpty Star
venkat d (India) says...
How to generate 22 hours Delay using 555 timers?
23rd October 2018 2:10pm
Full StarFull StarFull StarFull StarFull Star
Harshal Raut (US) says...
Hello,

Can I change the combination of both Resistor and Capacitor values to get delay of 8 hours? If yes, what might be the combinations of both ? Also, How to calculate the delay for this circuit? Is there any formula...
5th December 2017 5:31am
Full StarFull StarFull StarFull StarEmpty Star
Kamran (Canada) says...
You can use the following calculation:
T=1.1 X R X C
R in Ohm, C in Farad, T in Sec
8 hours = 8 X 3600 sec = 28800 Sec
Do not use higher value of R (2.2MOhm and more)
The quality of the C is very important(Lower leakage, more accurate timing)
7th March 2019 8:01pm
Full StarFull StarFull StarFull StarFull Star
JM (Philippines) says...
How to generate a 1 minute pulse with 30 mins delay? Will it automatically repeat the cycle? Or it has to be reset manually.
1st December 2017 7:34am
BambiB (US) says...
You'll want to use a small micro. 555s waste too much power for your application - and you're going to have to record the data anyway, so why not use a micro controller and write to a memory card that you can just plug in and read later? The Atmel line offers processors with "pico power" operation. You can set a watchdog timer to wake up every 8 seconds or so. In this mode, the average power consumption is on the order of half a MICRO amp (about 1000 times less than your 555). ... Read More
19th April 2016 10:19pm
Full StarFull StarFull StarFull StarFull Star
Chris (UK) says...
Hi,
Thanks for your guide. I'm looking for a long timer with a 1 second pulse at the end to start a washing machine. Is it likely that I could extend the delay to around 4-5 hours using your method above?
Thanks.
8th July 2015 10:23pm
Steve (UK) says...
Hi Chris, Yes I'm sure that you can get a longer time delay from this circuit. I haven't tested it because it takes too long to do the test. Try using a value of 820kO for RT or increase the value of the capacitor to 220uF and use 390kO for RT. Both the above RC combinations should give you a delay of approximately 5 hours. To generate a 1 second pulse after 5 hours you will need to follow the circuit with another 555 circuit configured to give you a 1 second pulse when the output from ... Read More
8th July 2015 11:14pm
Full StarFull StarFull StarFull StarEmpty Star
Arularasan (India) says...
How can I increase the time delay sir..

12 hours time cycle sir....how can I use the R1 value.. I waiting for your valuable response sir...share on e-mail sir..
6th October 2017 5:49am
BambiB (US) says...
Actually, there's a practical limit on 555 timing circuits caused by the leakage current of capacitors. An IDEAL capacitor will hold a charge forever, but a practical capacitor always has a leakage current. This is especially true in electrolytic capacitors (which are probably what you'll be using to achieve high capacitance values). I've read the leakage of an electrolytic can be in the range of several µA. If you use a 100K resistor to charge the capacitor, the charge current ... Read More
30th January 2018 7:58pm
Paul says...
Agree with you but personally I would not use it for longer the 1 hour and only if the accuracy is not critical. But the 555 can be very use full. I sometimes will use them as a gate driver or just for its high current output. It is cheap and I always have a few in the bin.
2nd June 2021 6:29am

Add Comment

* Required information
(will not be published)
 
Bold Italic Underline Strike Superscript Subscript Code PHP Code Quote Insert line Bullet list Numeric list Link Email Image Video
 
Smile Sad Huh Laugh Mad Tongue Crying Grin Wink Scared Cool Sleep Blush Unsure Shocked
Captcha
Refresh
 
Enter code:
 
Notify me of new comments via email.
 
Remember my form details on this computer.
 
I have read and understand the privacy policy. *
 
I have read and agree to the terms and conditions. *
 
Click here for a free subscription to "HDE" our site newsletter.