Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started