Use capacitor to turn on led when power is off

I have two LEDs in the circuit green LED turn on when the switch is on also capacitor is charged, Now I want to turn on the red LED by using capacitor when the switch goes off. Please help me, how I can do that. Thanks
enter image description here

Electrical Engineering Asked by FAHEEM IQBAL on November 21, 2021

1 Answers

One Answer

Maybe something along these lines. When SW1 is closed, C1 charges through D4 + D2 + R3 and D3 (green) is illuminated. R3 limits the current when SW1 is initially closed.

When SW1 is opened, D3 goes dark and D1 (red) is illuminated, and the current through it decreases (more or less) exponentially towards zero.


simulate this circuit – Schematic created using CircuitLab

In this simulation, the switch is opened at T = 1 second.

enter image description here

Answered by Spehro Pefhany on November 21, 2021

Add your own answers!

Related Questions

Ask a Question

Get help from others!

© 2021 All rights reserved.