You are on page 1of 6

EED2003 Logic Design - 2019 Fall Experiment 1

Experiment 1
1 OBJECTIVE
Understand basic electrical components, equipment and test ICs. Using logic gates for logic
circuits implementations.

Equipment available in the lab

• Adjustable power supply

Equipment ensured by the students

• Breadboard

• Multimeter (measure current, voltage, resistance)

• Patch wires

• Components

– 7400 NAND Gate (x3)


– 7408 AND Gate (x3)
– Switch (x4)
– LED (x4)
– 4.7 kΩ (x4)
– 470 Ω (x2)

2 Preliminary
Read the experiment sheet carefully. Fill in the tables from Table 1 to Table 8.

1 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ
EED2003 Logic Design - 2019 Fall Experiment 1

3 Logic Circuit Testing


3.1 Circuit 1

+5V +5V

4.7kΩ
4.7kΩ
LED1
A 470Ω

B
S1
S2

Figure 1: Circuit 1

1. Correctly place the 14-pin package 7408 positive AND gate in the breadboard by using
datasheet.

2. Use wires and cables to connect S1 to pin1 of the IC, S2 to pin 2 of the IC, and connect
pin 3 to LED1 as shown in Figure 1. (Do not connect +5V or GND to any pin)

3. Switching the inputs as needed (0 or 1), test the AND gate and fill in its truth table with
the results you see in Table 1.

A B AB

0 0

0 1

1 0

1 1

Table 1:

4. Repeat the above, but this time connect +5V to pin 14 of the IC. Write the results you
see in Table 2.

2 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ
EED2003 Logic Design - 2019 Fall Experiment 1

A B AB

0 0

0 1

1 0

1 1

Table 2:

5. Repeat the above, but this time connect +5V to pin 14 and GND to pin 7 of the IC. Write
the results you see in Table 3.

A B AB

0 0

0 1

1 0

1 1

Table 3:

3.2 Circuit 2
1. Correctly place the 14-pin package 7400 positive NAND gate in the breadboard using
datasheet.

2. Use wires and cables to connect S1 to pin 1 of the IC, S2 to pin 2 of the IC, and connect
pin 3 to LED1 as shown in Figure 2. (Do not connect +5V or GND to any pin)

3 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ
EED2003 Logic Design - 2019 Fall Experiment 1

+5V +5V

4.7kΩ
4.7kΩ
LED1
A 470Ω

S1
S2

Figure 2: Circuit 2

3. Switching the inputs as needed (0 or 1), test the NAND gate and fill in its truth table
with the results you see in Table 4.

A B (AB)’

0 0

0 1

1 0

1 1

Table 4:

4. Repeat the above, but this time connect +5V to pin 14 of the IC. Write the results you
see in Table 5.

A B (AB)’

0 0

0 1

1 0

1 1

Table 5:

4 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ
EED2003 Logic Design - 2019 Fall Experiment 1

5. Repeat the above, but this time connect +5V to pin 14 and GND to pin 7 of the IC. Write
the results you see in Table 6.

A B (AB)’

0 0

0 1

1 0

1 1

Table 6:

6. Question: What is the importance of connecting power and ground to a digital logic IC?

4 NAND Gate
1. Correctly place the 14-pin package 7400 positive NAND gate and 7408 positive AND gate
in the breadboard by using data-sheet.

2. Use wires and cables to connect S1 , S2 , and S3 to the IC, as shown in Figure 3. Connect
E to LED as output of the circuit.

+5V +5V +5V

4.7kΩ
4.7kΩ 4.7kΩ
A
D 470Ω
E
B
C
S1
S2 S3

Figure 3: Circuit 3

3. Do not forget to connect Vcc and GND of ICs. (Connect +5V to pin 14 and GND to pin
7 of the ICs.)

4. Determine each state on D and E according to all combination of the inputs A, B and C.
Fill in the results in Table 7.

5 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ
EED2003 Logic Design - 2019 Fall Experiment 1

A B C D E

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

Table 7:

5. Switching the inputs as needed (0 or 1), test the logic circuit as shown in Figure 2 and fill
in results you see in Table 8.

A B C D E

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

Table 8:

6 Instr. Aygül ERCANDOĞU


Res. Asst. Ekrem YAVUZ

You might also like