Beruflich Dokumente
Kultur Dokumente
ASSIGNMENT: WIRED SECURITY DOOR As a design engineer, you'll research and develop ideas for new products and production systems. You'll also improve the performance and efficiency of existing products. You need to do research using mathematical modeling to work out whether new developments and innovations would work. You have been employed in Security Supplier Company and the company needs you to be capable of working with their new product The Wired Security Door.
S1 S2
Sequence Detector
Door Lock
Clk
Figure 1: Wired Security Door
The Wired Security Door has a keypad with four keys numbered: 1,2,3,4 and a sequence detector as shown in Figure 1. The lock will open only when the correct sequence is entered.
Table 1: Keypad input and its output KEYPAD INPUT 1 2 3 4 CLK S1 1 1 1 1 0 0 1 1 OUTPUT S2 0 1 0 1
Table 1 shows the logic of each number when the keypad is pressed. Design a combination lock that will open the door only when user enters the correct sequence (refer to Table 2).
(a) Use JK Flip-Flops for the design. Show the state diagram, the transition table, the Boolean expressions, and the circuit diagram. Simulate the circuit by using Electronic Workbench to show that it is functioning.
2010/2011
(b) Design the same system by using the following components. Show the schematic diagram, the flowchart of the program flow and its programming codes. Simulate the circuit by using Proteus to show that it is functioning. PIC16F84A microcontroller (as the main controller) Push-button and SPST switches (as inputs) LEDs (as outputs)
* Depending on your design, you might not use some of the supplied components. You might need to add additional circuits for clock source and external reset *
ASSIGNMENT DUE: 8th August 2011 (Monday) This assignment carries 10% of the course assessment and is assessed by 2 methods: a) Circuit demonstration Date Venue : Monday, 8th August 2011 : Refer to the info posted on the Website
b) Assignment report Due date Venue : Monday, 8th August 2011 : Submit during circuit demonstration
Requirement : Comprehensive documentation of the developed system Format according to the IEEE report format
Rubric
: Do download the assessment rubric from the Website and bring along during demonstration/submission
2010/2011
Group Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Key-code sequence 1-4-2-1-3 1-1-4-3-2 4-1-2-4-3 3-2-2-4-1 4-2-1-2-3 2-4-2-3-1 2-2-3-4-1 4-3-3-4-1 2-4-2-1-3 1-2-4-4-3 2-1-1-3-4 3-3-1-1-2 4-2-1-3-1 4-2-4-1-3 1-1-2-4-3 3-2-2-3-4 1-2-4-4-3 3-2-1-1-4 2-3-1-4-4 4-2-1-1-3 3-2-3-3-4 1-2-3-4-2 3-2-1-1-4 4-2-2-1-3 2-3-4-2-1
2010/2011