Site icon Circuit Ideas for You

Simple Long Duration Timer Circuit using Two Transistors

Want to build a timer that can turn something on or off after a long time, like 2 or 3 hours?

This article shows you how to make a simple timer circuit with just two transistors.

This is a great project for anyone who wants to learn more about electronics and build something useful.

What is a Long Duration Timer:

A long duration timer is an electronic circuit designed to provide a timing function over an extended period.

This type of timer is capable of generating delays ranging from minutes to hours or even days depending on the application requirements.

Long duration timers are often used in various electronic systems and projects where a time delay is necessary for specific functions.

Circuit Working:

Parts List:

CategoryDescriptionQuantity
Resistors1k 1/4 W CFR2
10k 1/4 W CFR1
2.2M 1/4 W CFR1
CapacitorsElectrolytic 1000µF 25V1
SemiconductorsTransistor BC5471
Transistor BC5571
Diode 1N41481
Diode 1N40071
Relays12V Relay1
OtherPush Button1

The simple long duration timer circuit illustrated in the diagram above, operates as follows:

Briefly pressing the push button initiates the charging of the 1000uF capacitor.

The NPN BC547 transistor is triggered maintaining its state even after the push button is disengaged.

The 1000uF capacitor slowly discharges through the 2.2M resistor and the NPN emitter.

Activation of BC547 and BC557:

Persistent Operation:

The inclusion of the 1k and1N4148 network transforms the circuit into a highly accurate long duration timer.

This network ensures that when the transistors break the latch due to insufficient charge in the capacitor the remaining charge is forced to discharge completely through the relay coil via the resistor and diode connection.

This feature guarantees the complete depletion of the capacitor preparing the circuit for a fresh cycle.

Formulas and Calculations:

  1. The below mentioned formula calculates the charge time (tcharge) of a capacitor in a simple RC charging circuit.

Let us break down the formula and calculation for the specific values from the above circuit diagram R = 2.2M and C = 1000uF:

tcharge = R × C

where,

Calculations:

Enter the numbers in the formula:

tcharge = 2.2MΩ × 1000uF

Optional Unit Conversion:

Although it is theoretically possible to multiply Mega ohms by microfarads, the Mega ohm farad unit of measurement is not widely utilized.

It helps to convert one of the units to get a more comprehensible answer.

Because there are one million ohms in a megaohm, we may divide MΩ by 1,000,000 to convert it to F.

tcharge = 2.2MΩ × (1000uF / 1,000,000)

tcharge = 2.2Ω × 0.001F

Reduce the complexity of the equation:

tcharge = 0.0022F (Since 2.2 x 0.001 = 0.0022)

In this circuit, the capacitor will take about 2.2 seconds to charge.

Note:

The capacitor is initially assumed to be fully discharged (at 0 volts) in this formula.

The formula merely determines how long it will take the capacitor voltage to rise to roughly 63% of its ultimate value, which is the circuits voltage source.

Although it would theoretically take an unlimited amount of time for a completely charged capacitor to achieve 100% voltage, 63% is generally regarded as sufficient charging.

Leakage current in the capacitor and resistor tolerance are two examples of issues that could cause a little variation in the actual charge time.

2) Below mentioned formula can be applied to a basic RC discharging circuit in order to estimate the capacitors discharge time (tdischarge).

Let us break down the formula and calculation for the specific values from the above circuit diagram R = 2.2M and C = 1000uF:

tdischarge = R × C

A More Precise Method: The following formula can be used to calculate discharge time more precisely, particularly when working with a certain beginning voltage:

t = -RC * ln(Vdischarged / Vinitial)

where,

Calculation:

Suppose that the capacitor in your circuit has the same initial voltage of 5V Vinitial and you want to calculate the time it takes for it to discharge to 1V (Vdischarged).

Your circuits values are:

R = 2.2MΩ and C = 1000uF.

Unit conversion (optional): As in the previous example, we can convert Mega ohms to Farads to make the text easier to read.

R = 2.2MΩ = 2.2Ω × (1 / 1,000,000)R = 0.0022FC = 1000uF = 0.001F

Enter the numbers in the formula: t = – (0.0022F) × C ln(1 V / 5 V)

Note: Make sure your calculator is in radian mode for the ln function.

Compute the outcome: Since time cannot be negative, the resultant value will be negative.

Since we are only concerned with the duration, we can disregard the negative sign.

The result will be around 0.0008 seconds or 0.8 milliseconds.

Remember:

This is an estimated discharge time for reaching 1V.

The actual time to reach 0V would be longer but the discharge slows down significantly as the voltage gets lower.

For better accuracy, consider using circuit simulation tools or consulting datasheets for specific capacitors, which may provide discharge time curves.

Circuit Construction:

Connect BC547

Activate BC557 and Relay:

Integrate resistor and diode:

Conclusion:

By following this guide, you can construct a highly accurate and reliable long duration timer circuit.

The formulas provided enable you to customize the timer duration based on resistor and capacitor values. Enjoy your DIY timer project!

References:

Timer circuits – difficulty analyzing

Exit mobile version