Hey. I wonder if you good guys can help. It's been 10+ years since I did electronics in school so I'm a bit rusty, but I do know the basics of circuits. So I hope you can share your knowledge in solving my problem
No need to go into the full workings of my circuit, but just the bit I'm stuck on.
I have an LED which is controlled by push button switch. Using logic gates, the state if the LED remains once the button is released. So, press button and LED turns on. Press button, LED turns off. Press again and comes on etc
Now lets say the LED is on when the power is cut to the circuit. Is there a basic way that the circuit can remember this, so when power to the circuit is restored, the LED comes straight back on and not back to its default setting of off?
Could this be done with a capacitor somehow through an OR gate? So when power is restored, the capacitor flows through the OR gate and then loops back round into the OR gate to keep the LED on? Or is there a simple IC which can store this simple piece of information?
I know the simple option is a toggle switch but that isn't an option here
Hope what I've said makes sense.
Cheers
No need to go into the full workings of my circuit, but just the bit I'm stuck on.
I have an LED which is controlled by push button switch. Using logic gates, the state if the LED remains once the button is released. So, press button and LED turns on. Press button, LED turns off. Press again and comes on etc
Now lets say the LED is on when the power is cut to the circuit. Is there a basic way that the circuit can remember this, so when power to the circuit is restored, the LED comes straight back on and not back to its default setting of off?
Could this be done with a capacitor somehow through an OR gate? So when power is restored, the capacitor flows through the OR gate and then loops back round into the OR gate to keep the LED on? Or is there a simple IC which can store this simple piece of information?
I know the simple option is a toggle switch but that isn't an option here
Hope what I've said makes sense.
Cheers