I'm pretty inexperienced when it comes to electronics and circuits so bear with any stupid questions I may have.
I'm working on a simple DIY project. It is essentially just a box and the high level idea is that when the box is closed, a circuit is completed where it then automatically executes some functionality. All I need it to do is light some LED's inside the box for ~300 seconds then automatically turn them off until I open the box lid (break the circuit) and close it again (complete the circuit).
I've done some research on the cleanest and simplest way to implement this and a 555 timer in monostable seemed like a good solution. However pretty much every example of 555 timer monostable operation I've seen uses a push button as the trigger. I do not want this as I want the lights to turn on as soon as the box is closed, without the need to push a button. Ideally I'd have the trigger and voltage supply share a line. Is there a better or easier way of accomplishing this? It seems like I can use a capacitor right before the trigger to provide an initial pulse but what happens when the capacitor is left connected to the voltage supply for multiple hours?
I'm working on a simple DIY project. It is essentially just a box and the high level idea is that when the box is closed, a circuit is completed where it then automatically executes some functionality. All I need it to do is light some LED's inside the box for ~300 seconds then automatically turn them off until I open the box lid (break the circuit) and close it again (complete the circuit).
I've done some research on the cleanest and simplest way to implement this and a 555 timer in monostable seemed like a good solution. However pretty much every example of 555 timer monostable operation I've seen uses a push button as the trigger. I do not want this as I want the lights to turn on as soon as the box is closed, without the need to push a button. Ideally I'd have the trigger and voltage supply share a line. Is there a better or easier way of accomplishing this? It seems like I can use a capacitor right before the trigger to provide an initial pulse but what happens when the capacitor is left connected to the voltage supply for multiple hours?