1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

11
1 Forging new generations of engineers

Transcript of 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

Page 1: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

1

Forging new generations of engineers

Page 2: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

2

DESIGN EXAMPLE“Date of Birth Problem”

Page 3: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

3

Combinational Logic Application

Date of Birth

7-Segment Display

Driver Logic Circuit

abcdefg

X

Y

Z

Design a combinational logic circuit that has three inputs and seven outputs. As the inputs count from 000 to 111, the seven outputs will generate the required logic to display your date of birth on a seven segment display.

Page 4: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

4

X Y Z

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

-

-

Example:

If your date of birth is July 23, 1961, the circuit will display the output shown to the right 07 23 61. There are dashes between numbers.

Circuit Inputs

Display

Page 5: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

Common AnodeLED Display

+5 V

Logic ForSegment A

270 - 330

0 Segment Is ON !1 Segment Is OFF !

Page 6: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

X Y Z

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

a b c d e f g

a

g

f b

d

e c

0 0 0 0 0 0 1 a

g

f b

d

e c

a

g

f b

d

e c

0 0 0 1 1 1 1

1 0 0 1 1 1 1

a

g

f b

d

e c

0 0 0 0 0 0 1

0 0 0 1 1 1 1

0 0 1 0 0 1 0

0 0 0 0 1 1 0

0 1 0 0 0 0 0

Display

-

-

1 1 1 1 1 1 0

1 1 1 1 1 1 0

Page 7: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

X X

Y Z

Y Z

Y Z

Y Z

Logic ForSegment “a”

0

0

0

1

0

1

1

0

a = XZ+X’YZ’

X Z

X Y Z

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

a b c d e f g

1 0 0 1 1 1 1

0 0 0 0 0 0 1

0 0 0 1 1 1 1

0 0 1 0 0 1 0

0 0 0 0 1 1 0

0 1 0 0 0 0 0

Display

-

-

1 1 1 1 1 1 0

1 1 1 1 1 1 0 X’YZ’

Page 8: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

8

Create Boolean Equations for all 7 Segments

a = XZ+X’YZ’

e =

f =

c =

b =

d =

g =

Page 9: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

9

DOB 7-Segment Display Driver Circuit

7404Inverters

7432OR Gates

7408AND Gates

7408

Page 10: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

10

7-Segment LED Display

Page 11: 1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”

11

Assignment

– Design a Date-of-Birth 7-Segment Display Driver Circuit for your birth date. Include the truth table, K-Maps & logic design.

– Simulate your design using circuit design software.

– Breadboard and test your design.