Exploring Ways to Introduce a 20-25 Second Transition Delay Between Red and Green LEDs in My Circuit Simulation.

Thread Starter

AMOGELANG

Joined Oct 16, 2022
20
Hello,

I am working on simulating a circuit using LEDs to convey information. The circuit already handles transitions between red and green LEDs smoothly.
However, I now have a new requirement:

I want to introduce a delay mechanism for when the circuit switches from the red LED to the green LED. Specifically, when the system is set to transition to the green LED, I'd like the red LED to remain on for a period of 20 to 25 seconds before the green LED is activated. At the same time, the red LED should turn off. This delay is essential to ensure ample warning time for the user.

I'm currently unsure about the steps required to implement this delay effectively without using microcontrollers. I've attached my current simulated circuit for reference. Any guidance and suggestions to help me achieve this functionality would be greatly appreciated, as I plan to share this on a forum for further insights.

Thank you in advance for your assistance.

1695824065286.png
 

Alec_t

Joined Sep 17, 2013
14,009
According to the simulation you have 292mA going somewhere. That's way too much for a couple of average LEDs. Check your circuit.
 

dl324

Joined Mar 30, 2015
16,168
Any guidance and suggestions to help me achieve this functionality would be greatly appreciated, as I plan to share this on a forum for further insights.
How about posting a schematic of the circuit?

If this is your circuit, it's unintelligible and nonsensical:
1695830713653.png
 

Alec_t

Joined Sep 17, 2013
14,009
Your schematic shows the two op-amp outputs shorted together. Not good.
What is the source of the VH and VL signals?
A timing diagram showing these signals and the required LED states would be helpful.
 

Thread Starter

AMOGELANG

Joined Oct 16, 2022
20
That doesn't show us how you attempted to implement the delay.

Since you didn't indicate LED color in the schematic, or give values for VH and VL, remind us when each is supposed to be on.
Apologies for any prior inconvenience. Here's an explanation of the current circuit operation:

Currently, the circuit operates as follows: When the voltage level falls within the range of VL (Voltage Low) at -5V to VH (Voltage High) at 5V, the Green LED (D1) illuminates. However, if the voltage exceeds VH (5V) or drops below VL (-5V), the Red LED (D2) activates, promptly turning off the Green LED (D1).

So, now I want to introduce a delay mechanism for when the circuit switches from the red LED to the green LED. Specifically, when the system is set to transition to the green LED, I'd like the red LED to remain on for a period of 20 to 25 seconds before the green LED is activated. At the same time, the red LED should turn off. But I don't know how I can achieve this.
 

dl324

Joined Mar 30, 2015
16,168
So, now I want to introduce a delay mechanism for when the circuit switches from the red LED to the green LED. Specifically, when the system is set to transition to the green LED, I'd like the red LED to remain on for a period of 20 to 25 seconds before the green LED is activated. At the same time, the red LED should turn off. But I don't know how I can achieve this.
Since this is in Homework Help, you have to show us your attempt so we can offer guidance.
 

Thread Starter

AMOGELANG

Joined Oct 16, 2022
20
Since this is in Homework Help, you have to show us your attempt so we can offer guidance.
Like I said, I don't have an idea of how I can implement that delay, maybe if you can at least give me hints or things to look at unlike giving me the solution.
 

ericgibbs

Joined Jan 29, 2010
18,255
Hi AMOGE,
Are you limited to using only LM324 or are other types of IC devices permitted and available?
E

eg: 555 timer for example
 
Top