BAT_MAN
Member level 5
I am woking on 2 bit home security system with following inputs.
2 bit passwords
1 bit from door sensor on and off
1 bit switch monitor or not to monitor
outputs
led1 act as alarm when door is opened witout entering correct passwords i.e door sensor is set to 1
led2 will glow after 10 sec timer if correct password has not been entered .
Please help me in defining states.
I have written the code but it has two problems
i want to rst password to 00 on every state transition
my 10 sec timer is not working within which if correct passord is entered system switches off else after 10sec led glows
please help me
2 bit passwords
1 bit from door sensor on and off
1 bit switch monitor or not to monitor
outputs
led1 act as alarm when door is opened witout entering correct passwords i.e door sensor is set to 1
led2 will glow after 10 sec timer if correct password has not been entered .
Please help me in defining states.
I have written the code but it has two problems
i want to rst password to 00 on every state transition
my 10 sec timer is not working within which if correct passord is entered system switches off else after 10sec led glows
please help me