Question: Security software for a digital safe will be written using PIC16F877A. There are 8 buttons which are representing the numbers between 1 and 8 connected

 Security software for a digital safe will be written using PIC16F877A.

Security software for a digital safe will be written using PIC16F877A. There are 8 buttons which are representing the numbers between 1 and 8 connected to PORTB for entering the password. There will be three attempts for entering the correct password. One 7-segment common cathode display is used for showing the number of attempts and for showing the password is correct or wrong. Data connections for 7-segment display are connected to PORTC; common pin of display is connected to oth bit of PORTA. If the password is entered correctly, O letter will be displayed 3 seconds on 7-segment display for representing a correct entry. If any number from the 4 digit code is entered wrong, F letter will be displayed on 7-segment display for representing a false entry for 2 seconds, then the number of attempts (2, 1 or 0) left will be shown on the same display for 2 seconds too. If a wrong password/digit is entered 3 times the program will be locked and only an expert will reset it by pressing a hidden button which is connected to 1st bit of PORTE. The correct password is 1836. Write the assembler code for this project and write comments for your code [45]. Security software for a digital safe will be written using PIC16F877A. There are 8 buttons which are representing the numbers between 1 and 8 connected to PORTB for entering the password. There will be three attempts for entering the correct password. One 7-segment common cathode display is used for showing the number of attempts and for showing the password is correct or wrong. Data connections for 7-segment display are connected to PORTC; common pin of display is connected to oth bit of PORTA. If the password is entered correctly, O letter will be displayed 3 seconds on 7-segment display for representing a correct entry. If any number from the 4 digit code is entered wrong, F letter will be displayed on 7-segment display for representing a false entry for 2 seconds, then the number of attempts (2, 1 or 0) left will be shown on the same display for 2 seconds too. If a wrong password/digit is entered 3 times the program will be locked and only an expert will reset it by pressing a hidden button which is connected to 1st bit of PORTE. The correct password is 1836. Write the assembler code for this project and write comments for your code [45]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!