80 likes | 274 Views
Combination Lock. Plan. Demo. Brief Report. Code. KEYPAD. One way of connecting it to the PIC. 470 Ohm resistors limit current if 2 switches pressed. http://www.campuscomponent.com/interfacing-boards/4x4-matrix-keypad-23. BASIC operation.
E N D
Combination Lock. Plan. Demo. Brief Report. Code.
One way of connecting it to the PIC. 470 Ohm resistors limit current if 2 switches pressed. http://www.campuscomponent.com/interfacing-boards/4x4-matrix-keypad-23
BASIC operation Light an LED if and only if the keys 1 5 9 0 are pressed in sequence. 20/60 marks
Advance features (20/60) Example cool features. De-bounce switches. User programmable password. Super user. Alarm if wrong number entered 3 times? Use the power saving feature of PIC for long battery life. Display for user feedback / messages. Store password in EEPROM in case battery goes flat! etc . . . . . .
Combination lock Initial design document. (10/60 for a satisfactory submission): deadline by 6th Lab ( 14:15 17th March) The purpose of this is to allow you to get feedback on your plan. Circuit diagram. Mile stones (evolutionary development). The logic of what you plan implement. • flow charts AND / OR pseudo code. • you may want to use activity/state diagrams (google this) • you should attempt to break the problem into routines if possible. You should discuss your document with us in the lab to get feedback and once it has been approved submit it to moodle for our records.
Brief report + demo. (40/60): deadline the last lab 14:15 14th April Brief report. Circuit diagram and list of features. • (moodle submission + hard copy for us to use for verification at the demo) Source code.(moodle submission) Demo. To get the marks you must demonstrate your circuit (both members of group need to be present) please have a hard copy of you report ready for our records) Basic operation will be awarded 20/60 Additional marks will be awarded for: • cool features • good coding (comments / structure / readability).