Electronic – How to understand this filter circuit

analogcapacitorcircuit analysiscircuit-designtransistors

I made this circuit, with the intention of it lighting and then fading out the led after very briefly closing the switch:

enter image description here

This is intended for a CR2032 coin cell battery power source and the led is a normal 20ma through hole red LED, probably Vf =~ 2v.

Ignoring the one resistor in series with the power supply, what function describes how the transistor and the values of capacitor and resistor determine the led brightness and how long it takes to fade out? Like if I wanted to make it fade out 50% more quickly or more slowly, how would I change the resistor and/or capacitor?

Does the characteristics of the transistor matter?

Best Answer

Its a filter with an RC time constant

\$ R*C = \tau\$

the R or the C part can be changed to change the time constant. If you want to increase the time constant then increase R or increase C (or both).

In this case you will change the bias current of the transistor, so only change the capacitor.