Department of Electronic Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

7
Department of Electronic & Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

description

Department of Electronic & Electrical Engineering One way of connecting it to the PIC Ohm resistors limit current if 2 switches pressed.

Transcript of Department of Electronic Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Page 1: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

Combination Lock.

Plan.Demo.

Brief Report.Code.

Page 2: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

KEYPAD

Page 3: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

One way of connecting it to the PIC.

http://www.campuscomponent.com/interfacing-boards/4x4-matrix-keypad-23

470 Ohm resistors limit current if 2 switches pressed.

Page 4: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

BASIC operation

Light an LED if and only if the keys 1 5 9 0 are pressed in sequence.

20/60 marks

Page 5: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

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 . . . . . .

Page 6: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

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.   

Page 7: Department of Electronic  Electrical Engineering Combination Lock. Plan. Demo. Brief Report. Code.

Department of Electronic & Electrical Engineering

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).