555 question

Thread Starter

snaker5

Joined Jan 26, 2010
5
I have a 555 which is designed to hold the signal high for 15 seconds. When I supply power it goes high for 25 seconds and the goes low. After it goes high it holds it high for the 15 seconds. Why does it hold for 25 seconds in the beginning?


Thanks
 

SgtWookie

Joined Jul 17, 2007
22,230
It's due to the initial charge time for C1.

When first powered up, C1 is completely discharged.

The threshold and trigger points are at 1/3 and 2/3 Vcc. If the cap has to start charging at 0v, the cycle will be longer.

One way to fix the problem is to take the C1 value, and divide it by three.
Then connect 2/3 of that value to ground, and the other 1/3 to Vcc.
That way, when you first apply power to the circuit, the trigger/threshold inputs will be at 1/3 Vcc, and the timing will then be consistent.
 

eblc1388

Joined Nov 28, 2008
1,542
I have a 555 which is designed to hold the signal high for 15 seconds. When I supply power it goes high for 25 seconds and the goes low. After it goes high it holds it high for the 15 seconds. Why does it hold for 25 seconds in the beginning?
A 555 will switch, by design, when the voltage of the timing capacitor is at 1/3 or 2/3 that of the Vcc.

You have selected timing capacitor and resistor such that it takes 15 seconds for it to charge from 1/3 to 2/3 of VCC. When you power ON the circuit, the capacitor is NOT charged and therefore has to be charged from 0V to 2/3 of VCC so it will takes 50% more time.

There are "tricks" to charge the timing capacitor to 1/3 VCC immediately upon power ON so you will get the correct timing of 15 seconds.
 

thyristor

Joined Dec 27, 2009
94
Connect pin 4 (reset) to Vcc through a 100K resistor (approx) and also to ground through a 100uF capacitor. When the circuit powers up, the capacitor will hold pin 4 low (thus the output will be low) until the capacitor charges up sufficiently to make pin 4 high and the astable starts up.

You will have to play around with the values to get it to exactly 15 secs but the principle holds.
 

Thread Starter

snaker5

Joined Jan 26, 2010
5
Connect pin 4 (reset) to Vcc through a 100K resistor (approx) and also to ground through a 100uF capacitor. When the circuit powers up, the capacitor will hold pin 4 low (thus the output will be low) until the capacitor charges up sufficiently to make pin 4 high and the astable starts up.

You will have to play around with the values to get it to exactly 15 secs but the principle holds.
I got this to work, thanks. What is the best way to discharge the capacitor after the 555 goes high?

thanks
 

SgtWookie

Joined Jul 17, 2007
22,230
I got this to work, thanks. What is the best way to discharge the capacitor after the 555 goes high?

thanks
You need to start posting schematics on how your circuit is currently configured.

If you want to discharge the pin 4 cap immediately when pin 3 goes high, connect the collector of an NPN transistor to pin 4 via a resistor (call it R4), emitter to ground, base to pin 3 using a 1k resistor. Experiment with different values of R4 to get the desired pulsewidth.

To make this whole process much more simple, connect C1 to Vcc instead of ground. That way, C1 is initially charged instead of initially discharged.
 
Top