Program the control unit for an electronic safe. Each time an input key is pressed the red LEDs should blink to indicate that a key is pressed. For example: 1. If any of the blue keypad keys is pressed both red LEDs must blink. 2. If the left black button is pressed the left red LED must blink 3. If the right black button is pressed the right red LED must blink. To distinguish the output letter from numbers on eight segment LEDs, you must display the period (“.”) segment. For example, an output of the letter “B” should also have the period displayed but an output of the number “8” should not display a period.
The 8-Segment display and LEDs will show the status of the safe:
• U: unlocked • L: locked • P: programming a code • C: confirming a new code • F: forgetting an old code • A: a programming request was successful • 'E': programming fault.
The safe starts unlocked. The safe cannot be locked if there are no valid codes.
To lock the safe (this should work at ANY time): 1. press the left black button (assuming you have valid code).
To unlock the safe (This should work ONLY when the safe is locked): 1. Enter a valid code sequence 2. Press the left black button.
To learn a new code (codes must be 4 to 7 digits(buttons) inclusive, and the first digit of the code represents a unique user i.e. no two users can have the same first digit): 1. Press the right black button once 2. 8-segment should show 'P' 3. Enter a new code sequence 4. Press the right black button again. 5. 8-segment should show 'C' 6. Enter the same code sequence 7. Press the right black button a third time. 8. If the code was correct 8-segment displays 'A'
9. If the code was incorrect 8-segment display 'E'
To forget an old code: 1. Press the right black button 2. 8-segment should show 'P' 3. Enter an old code sequence 4. Press the right black button again. 5. 8-segment should show 'F' 6. Enter the same code sequence 7. Press the right black button a third time 8. If the codes match 8-segment displays 'A' 9. If the codes did not match 8-segment displays 'E'
4 freelancers are bidding on average $75 for this job
Hi I can program that, but i need the s hematic and the keypad data, send me that Regards Relevant Skills and Experience C langauge, arduino, micronctroller, electronics,