Final Projek De

Embed Size (px)

Citation preview

  • 8/10/2019 Final Projek De

    1/10

    Faculty of Manufacturing Engineering

    BFM2313

    DIGITAL ELECTRONIC

    (FINAL PROJECT REPORT)

    NAME ID NUMBER

    MOHD FAISZIL BIN MOHD TAHIR FB10010

    RABIATUN NADZIRAH BT MUHAMMAD FB11005

    NUR SYAZWANI BT CHE AZLI FB11024

    NORAAZIPAH BT NOR AHMAD FB11023

    NURUL AIDA BT AMIR KHATIF FB11022

  • 8/10/2019 Final Projek De

    2/10

    1.0INTRODUCTION

    Digital electronics, or digital (electronic) circuits, representsignalsby discrete bands

    ofanaloglevels,rather than by a continuous range and it is description of digital electronics,

    gates, flip flops, analog to digital conversion, bits, bytes, nibbles and more. Digital

    electronics uses two voltage levels to represent one of two possible numbers or states in a

    device called a logic gate. Sometime in the description of these states they are represented in

    simple Boolean logic functions; "true" or "false" conditions, or they can be represented using

    a "on" or "off" state and of course in a binary form using a "0" or a "1". In a gate; if the

    voltage level is near 0 volts, it represents a "false", "off" or "0". If the voltage level is near

    the supply voltage normally 5 volts, sometime 3.3 volts it represents a "true", "on" or a "1".

    If we call a 0 or 1 state of a logic gate a bit, and string together 8 of these gates, we refer to

    that as a byte. Four bits of a byte is called a nibble; there are upper and lower nibbles.

    Digital electronics devices are usually made from large assemblies of logic gates. Digitaltechniques are useful because it is easier to get an electronic device to switch into one of a

    number of known states than to accurately reproduce a continuous range of values. Digital

    electronic circuits are usually made from large assemblies oflogic gates, simple electronic

    representations ofBoolean logic functions.

    By studying this subject we have done our final project which is we need to design a

    logic circuit using logic gate multiplexer to produce 12 digit identity card number. Before we

    start this project we had divided the the task for every member of our group .In this project

    we need to apply everything that we had learn in the class and lab. firstly we need to develop

    timer, design the counter , then combine the logic gate and lastly display the identity card

    number by using 7 segment display. A 7-segment decoder takes an input, typically a 4 bit

    binary number, and correctly drives a 7-segment LED display so that a person can see a

    number or letter as opposed to trying to interpret the original 4 bit binary number. The 7-

    segment display is so called because it is 7 bar shaped LEDs arranged in such a way that the

    numbers 0 to 9, and letters A to F, can be displayed. Seven segments is the minimum number

    which can uniquely display numbers and that is why they are used for many calculator or

    electronic displays.

    http://en.wikipedia.org/wiki/Signal_(electronics)http://en.wikipedia.org/wiki/Analog_electronicshttp://en.wikipedia.org/wiki/Electrical_potentialhttp://en.wikipedia.org/wiki/Logic_gatehttp://en.wikipedia.org/wiki/Boolean_logic#Digital_electronic_circuit_designhttp://en.wikipedia.org/wiki/Boolean_logic#Digital_electronic_circuit_designhttp://en.wikipedia.org/wiki/Logic_gatehttp://en.wikipedia.org/wiki/Electrical_potentialhttp://en.wikipedia.org/wiki/Analog_electronicshttp://en.wikipedia.org/wiki/Signal_(electronics)
  • 8/10/2019 Final Projek De

    3/10

    2.0OBJECTIVES

    The objectives of this final project are:

    1)

    To know details and understand about

    a.

    Fundamental of sequential logic circuit

    b.

    Latches

    c.

    Edge-triggered flip-flops

    d.

    Standard application of flip-flops, including counters

    e.

    Circuit Troubleshooting

    2)

    To make sure we all know all the standard digital components used in industry.

    3)

    To provide practical experience for the students to implement knowledge learnt in

    class

    4)

    To provide exposure on circuit design to the students

    a. To design a simple gating system based on knowledge learnt in previous lab

    session

    b. To rectify issue caused by design such as unavailable integrated circuit (IC) in

    market

    c.

    To compare specifications of the unavailable IC and market available ICd. To modify the circuit if similar IC cannot be found.

  • 8/10/2019 Final Projek De

    4/10

    3.0PROCEDURES

    1. Before proceeding with a specific counter design techniques, we had begun with a general

    definition of a sequential circuit or state machine. A general sequential circuit consists of acombination logic section and memory section (flip-flops).

    Step 1: State diagram

    0000

    0001

    1011

    1010 0010

    1001

    0011

    1000 0100

    0111 0101

    0110

    6

    5

    1

    2

    3

    4

    7

    8

    9

    10

    11

    0

  • 8/10/2019 Final Projek De

    5/10

    Step 2: Next state table

    PRESENT STATE NEXT STATE

    Q3 Q2 Q1 Q0 J0 J1 Q3 Q2 Q1 Q0 K0 K10 0 0 0 1 0 0 0 0 1 X X

    0 0 0 1 X 1 0 0 1 0 1 X

    0 0 1 0 1 X 0 0 1 1 X 0

    0 0 1 1 X X 0 1 0 0 1 1

    0 1 0 0 1 0 0 1 0 1 X X

    0 1 0 1 X 1 0 1 1 0 1 X

    0 1 1 0 1 X 0 1 1 1 X 0

    0 1 1 1 X X 1 0 0 0 1 1

    1 0 0 0 1 0 1 0 0 1 X X

    1 0 0 1 X 1 1 0 1 0 1 X

    1 0 1 0 1 X 1 0 1 1 X 01 0 1 1 X X 0 0 0 0 1 1

    Step 3: flip-flop transition table

    OUTPUT TRANSITION FLIP-FLOP INPUT

    Qn Qn+1 J K

    0 0 0 X

    0 1 1 X

    1 0 X 1

    1 1 X 0

    Step 4: Karnaugh map

    J0= Q2+ Q3

    Q1Q0

    Q3Q2

    00 01 11 10

    00 1 X X 1

    01 1 X X 1

    11 0 0 0 0

    10 1 X X 1

  • 8/10/2019 Final Projek De

    6/10

    K0=Q2+Q3

    J1= Q3Q0+ Q2Q0

    K1= Q3Q0 + Q2Q0

    Q1Q0

    Q3Q2

    00 01 11 10

    00 X 1 1 X

    01 X 1 1 X

    11 0 0 0 0

    10 X 1 1 X

    Q1Q0

    Q3Q2

    00 01 11 10

    00 0 1 X X

    01 0 1 X X

    11 0 0 0 0

    10 0 1 X X

    Q1Q0

    Q3Q2

    00 01 11 10

    00 X X 1 0

    01 X X 1 0

    11 0 0 0 0

    10 X X 1 0

  • 8/10/2019 Final Projek De

    7/10

    4.0RESULT AND DISCUSSION

  • 8/10/2019 Final Projek De

    8/10

  • 8/10/2019 Final Projek De

    9/10

    5.0CONCLUSION

  • 8/10/2019 Final Projek De

    10/10

    6.0

    REFERENCES

    1.http://en.wikipedia.org/wiki/Digital_electronics

    2.http://www.infoplease.com/encyclopedia/science/logic-circuit.html

    3.https://ece.uwaterloo.ca/~ece124/ECE_124_Lab_Manual_Summer_2012.pdf

    http://en.wikipedia.org/wiki/Digital_electronicshttp://en.wikipedia.org/wiki/Digital_electronics