I don't know if it's the right palce to post but it seemed right
I'm following a book 'make electronic' and experiment 21 is a combination lock with and gates. In the book they suggest putting this lock on your computer between the power on and the motherboard, so that you're the only one who knows the code to use it( I simply put an red led with a switch and a resistance, but i'll be referencing it as 'the computer'). I have trouble understing how it works. Here are the schematics





From what I understand, you press button A for power then you enter the combination with e, f, g, h and if you press b,c,d it resets. When it's done you can flick the switch of your'computer' . I made the circuit and it works well, but there are a couple of problems. First, there's a time limit , like 3 minutes and then everything shuts off. So even if i'm still using the 'computer' it turns off. Second, once everything is 'on' and i switch the 'computer' off, then the lock is still 'open' so anyone can use the 'computer', but then after the time limit averything shuts off.
I have a feeling this isn't normal and I made a mistake. Someone once told me to put pictures of my circuits even if it's not difficult to see ( i did my best but i'm still trying to get the hang of being 'clean'). So here they are (i have three diode hanging on the side, sorry i forgot to remove them)
*Note this is not a homework and it's not for school. Please tell me the answer i only put this in homework because it was educational



I pressed the b, c, d button and it resets the e, f,g,h button but i can still open and close the 'computer' (red led) as long as the timer is still 'on'

And i can't shut it 'off'

I'm following a book 'make electronic' and experiment 21 is a combination lock with and gates. In the book they suggest putting this lock on your computer between the power on and the motherboard, so that you're the only one who knows the code to use it( I simply put an red led with a switch and a resistance, but i'll be referencing it as 'the computer'). I have trouble understing how it works. Here are the schematics





From what I understand, you press button A for power then you enter the combination with e, f, g, h and if you press b,c,d it resets. When it's done you can flick the switch of your'computer' . I made the circuit and it works well, but there are a couple of problems. First, there's a time limit , like 3 minutes and then everything shuts off. So even if i'm still using the 'computer' it turns off. Second, once everything is 'on' and i switch the 'computer' off, then the lock is still 'open' so anyone can use the 'computer', but then after the time limit averything shuts off.
I have a feeling this isn't normal and I made a mistake. Someone once told me to put pictures of my circuits even if it's not difficult to see ( i did my best but i'm still trying to get the hang of being 'clean'). So here they are (i have three diode hanging on the side, sorry i forgot to remove them)
*Note this is not a homework and it's not for school. Please tell me the answer i only put this in homework because it was educational



I pressed the b, c, d button and it resets the e, f,g,h button but i can still open and close the 'computer' (red led) as long as the timer is still 'on'

And i can't shut it 'off'
