Home > other >  Single chip microcomputer digital tube display the password
Single chip microcomputer digital tube display the password

Time:12-06

MCU final examination
1, show:
The first screen, show the password (20 points)
The second screen, display temperature (10)
Lower limit on the third panel: display (10)
2, the key (4 x4) :
0 ~ 9 show number, confirm key "10", "11" set key, "12" delete button, "13" key switch, "14" keys, "15" key, reduction (60)
3, the function:
Enter the password interface: enter the password and press the ok button, the password is correct, enter the temperature display interface, press the switch button, can change the upper and lower temperature, and the storage temperature of upper and lower limits to the AT24C04, only under the correct password, the key switch, switch is valid, (20 points)
-- --
Enter the password interface
T - - 2, 3,
Temperature display
H 3-5 L 2 0
Upper and lower temperature
If the wrong password, LED1 flashing, 0.2 seconds to enter the password input interface, can enter the password again, LED1 closed (10),
Press set key, change passwords, if found in the process of setting, setting error, can use the delete button to delete the wrong number, enter again, when press the confirm button, set the password (6th password) is successful, the initial password is 654321 (10) :
S - 6 5 4 3 2 1
Set the interface
If input wrong password more than 2 times, LED2 light, buzzer alarm, (15)
If the temperature is higher than the upper limit, LED3 shining with 0.5 seconds, the temperature is lower than the lower limit, LED4 shining with 1 second (5 points),
4, extend:
Display the time the 2018-4-9-08-59-30, moving from left to right, according to display is completed, enter the password input interface, (20 points)

CodePudding user response:

Contains hardware design? LED digital tube, a total of a few? 6? 7? 8?
Limit in C or assembly language?
  • Related