Sedang Disiapkan

hcs12 asmIDE assembly project security system

Group 5 – PIN and Alarms

1. LCD: Prompt the user to enter a 4-digit Pin using the keypad, and to use PH2 to start over. 2. 7-Segment Display: Initially display all dashes on the 7-Segment Display digits. 3. KEYPAD: Allow the user to enter 4 sequential digits. 4. 7-Segment Display: As each digit is entered, display the entered digits from left-to-right so that the last digit entered is always in the Least Significant position. Example: If the user were entering a PIN of “1234”, the 7-segment display digits would show as follows after each digit entry: “- - - 1” “- - 1 2” “- 1 2 3” “1 2 3 4” 5. Pushbutton/Interrupt: Use PH2 as an interrupt to allow the user to start over. If PH2 is pressed, clear the digit count and any saved values and start again from Step 2. 6. LCD: Once 4-Digits are entered, prompt the user to press PH2 (interrupt) to start over or PH3 to Save the entered PIN. 7. Pushbutton/Polling: Use polling to continuously check for the press and release of PH3. a. If PH3 is not pressed within 15 seconds, clear any saved vales and start over from Step 1. b. If PH3 is pressed within 15 seconds i. Save the entered PIN. ii. RGB LED: Continuously display the Blue LED iii. 7-Segment Display: Flash the entered PIN on the 7-Segment Display for 10 seconds and then clear the digits back to dashes. iv. LCD: Prompt the user to enter the correct PIN and to use PH2 to start over and go on to Step 8. 8. Allow the user to unlock the system using the saved PIN. The KEYPAD should allow the sequential entry of 4 sequential digits. Once again use PH2 as an interrupt to allow the user to start over from here. 7-Segment Display: As each digit is entered, display the entered digits so that they fill the most significant positions first this time. Example: If the user were entering a PIN of “1234”, the 7-segment display digits would show as follows after each digit entry: “1 - - -” “1 2 - -” “1 2 3 -” “1 2 3 4” 9. LCD: Once 4-Digits are entered, prompt the user to press PH2 (interrupt) to start over or PH3 to verify. a. If the PIN is not correct i. RGB: Continuously flash the Red LED of the RGB. ii. Sound: Play a “sad” multi-tone tune for at least 5 seconds iii. LCD: Inform the user that the PIN is incorrect. If the user has not used all three attempts, prompt the user with the number of remaining attempts and to try again. (Step 8). If the user has used all three attempts, prompt the user that the system is locked and to press RESET. b. If the PIN is correct i. RGB: Continuously flash the Green LED of the RGB ii. LCD: Inform the user that the Alarm Control is unlocked. iii. Sound: Play a “happy” multi-tone tune for at least 10 seconds and proceed to Step 10. 10. LCD: Prompt the user to adjust the Variable Resistor to and to press PH0 to select the appropriate alarm level between 7E and BD. a. ADC/Potentiometer: As the variable resistor is being adjusted display the Hexadecimal value on the 7-Segment Display b. When PH0 is pressed check for a valid value. i. LCD: If the value is too high or too low prompt the user to select either a lower or a higher value and to try again (Step 10a) ii. LCD: If the value is acceptable (between 7E and BD) save the alarm level and prompt the user to test the alarms by again adjusting the potentiometer and proceed to step 11. 11. ADC/7-Segment/Sound: Adjust the potentiometer continuously displaying the hexadecimal value on the 7-Segment Display. If the level exceeds the alarm level set… LCD/Sound: Display a Warning on the LCD. Sound an alarm tone, and continue to sound this tone until the value drops BELOW 15% of the saved alarm level. Once the level drops below 15% of the saved level, go back to normal operations at the beginning of Step 11.

Kemahiran: Himpunan, Kejuruteraan Perisian, Penghimpun x86/x64

Lihat lagi: hcs12 lcd, dragon 12 plus 2 manual, dragon12-light, dragon12-plus2, dragon 12 plus board, dragon12 projects, dragon 12 plus sample code, dragon12 board, project security system based microcontroller, project security algorithm, gps gsm project security, freelancers project related group life insurance, data entry project freelancer group, business requirements document web project security requirements, solidworks assembly project, sharepoint email enabled security group, mips assembly project, clock digital assembly project, email enabled security group sharepoint, assembly project dsp

Tentang Majikan:
( 0 ulasan ) colorado springs, United States

ID Projek: #17031826