Hello all
I just signed in today and although I was always interested in electronics, I just started to try and actually figure out how it works instead of just copying whatever interesting projects I could find in books or on Websites... So, I figured that the best way to learn it was to actually try and build a circuit. But I have been playing around with this part of my project for at least a week, looking, searching and figuring out stuff but I think I have hit a wall!
Here is what I am actually trying to achieve: It is actually going to be a part of a bigger project but I broke it down in pieces trying to figure out each one. So, I simply would like a LED to turn on after a delay of approximately one second when the project is plugged into an AC main voltage outlet. Sounds simple but it is not for me...
First things first, in order to keep the current draw as low as possible, I did not want to use some transformer, bridge rectifier and voltage regulator. These will be used when the main switch is turn on. I just want a visual indicator that the project is plugged in and that there is power so it would fit between the AC main and the Main power switch. The small LED will be on the back of the enclosure. So after some research, I came across a way to use capacitors to build a transformless power supply, which in turn would be hooked up to the LED. Unfortunately, I was not able to find a way to easily add a delay before the led is turned on since it is all AC. So I decided to add a Zener diode and maybe a voltage rectifier to turn it into DC. That way, I could add a RC time delay to turn on the LED after a while.
But, when I tried to run the schematic in Multisim (see schematic after this block of text), it looks like the LED is turning on after a little while and the intensity gradually increases based on the current supplied to the base of the transistor. I am trying to actually make it turn on past a set point... Please note that the switch is only there to start the process. It would not be part of the project. Also, the resistors and capacitor values might not be ideal since I tried different values while experimenting.

Is there a better way to do it? Am I missing something?
Thanks for any input you might have.
Rick
I just signed in today and although I was always interested in electronics, I just started to try and actually figure out how it works instead of just copying whatever interesting projects I could find in books or on Websites... So, I figured that the best way to learn it was to actually try and build a circuit. But I have been playing around with this part of my project for at least a week, looking, searching and figuring out stuff but I think I have hit a wall!
Here is what I am actually trying to achieve: It is actually going to be a part of a bigger project but I broke it down in pieces trying to figure out each one. So, I simply would like a LED to turn on after a delay of approximately one second when the project is plugged into an AC main voltage outlet. Sounds simple but it is not for me...
First things first, in order to keep the current draw as low as possible, I did not want to use some transformer, bridge rectifier and voltage regulator. These will be used when the main switch is turn on. I just want a visual indicator that the project is plugged in and that there is power so it would fit between the AC main and the Main power switch. The small LED will be on the back of the enclosure. So after some research, I came across a way to use capacitors to build a transformless power supply, which in turn would be hooked up to the LED. Unfortunately, I was not able to find a way to easily add a delay before the led is turned on since it is all AC. So I decided to add a Zener diode and maybe a voltage rectifier to turn it into DC. That way, I could add a RC time delay to turn on the LED after a while.
But, when I tried to run the schematic in Multisim (see schematic after this block of text), it looks like the LED is turning on after a little while and the intensity gradually increases based on the current supplied to the base of the transistor. I am trying to actually make it turn on past a set point... Please note that the switch is only there to start the process. It would not be part of the project. Also, the resistors and capacitor values might not be ideal since I tried different values while experimenting.

Is there a better way to do it? Am I missing something?
Thanks for any input you might have.
Rick