Lab #1: Digital Logic Gates
1. Truth Table
a. 7400(NAND)
Connect :
s1 to s2
s3 to s4.
S1 and s3 to positive terminal
s2 and s4 to the ground
s1 and s2 to pin 1
s3 and s4 to pin 2
pin 3 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal.
b. 7402(NOR)
Connect :
s1 to s2
s3 to s4.
S1 and s3 to positive terminal
s2 and s4 to the ground
s1 and s2 to pin 2
s2 and s3 to pin 3
pin 1 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal.
c. 7404(Inverter)
Connect :
s1 to s2
S1 to positive terminal
S2 to ground
s1 to pin 1
pin 2 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
d. 7408(AND)
Connect :
s1 to s2
s3 to s4
S1 and s3 to positive terminal
s2 and s4 to the ground
s1 and s2 to pin 1
s3 and s4 to pin 2
pin 3 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
e. 7432(OR)
Connect :
s1 to s2
s3 to s4.
S1 and s3 to positive terminal
s2 and s4 to the ground
s1 and s2 to pin 1
s3 and s4 to pin 2
pin 3 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
f. 7486(XOR)
Connect :
s1 to s2
s3 to s4
S1 and s3 to positive terminal
s2 and s4 to the ground
s1 and s2 to pin 1
s3 and s4 to pin 2
pin 3 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
2. Propagation Delay
a. Connect:
s1 to s2
S1 to positive terminal
S2 to ground
s1 to pin 1
pin 2 to a resistor and led
pin 2 to pin 3
pin 4 to pin 5
pin 6 to pin 13
pin 12 to pin 11
pin 10 to pin 9
pin 8 to resistor and led
two led to the ground
pin 7 to the ground
pin 14 to positive terminal
b. Observation:
3. Universal NAND Gate
a. As an Inverter
Connections:
s1 to s2
S1 to positive terminal
s2 to the ground
pin 1 to pin 2
pin 3 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal.
b. As a two-input AND
Connect :
s1 to s2
s3 to s4
S1 and s3 to positive terminal
S2 and s4 to the ground
s1 and s2 to pin 1
s3 and s4 to pin 2
pin 3 to pin 4 and pin 5
pin 6 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
c. As a two-input OR
Connect :
s1 to s2
s3 to s4
S1 and s3 to positive terminal
S2 and s4 to the ground
s1 and s2 to pin 1 and pin 2
s3 and s4 to pin 4 and pin 5
pin 3 to 13
pin 6 to 12
pin 11 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
d. As a two-input NOR
Connect :
s1 to s2
s3 to s4.
S1 and s3 to positive terminal
S2 and s4 to the ground
s1 and s2 to pin 1 and pin 2
s3 and s4 to pin 4 and pin 5
pin 3 to 13
pin 6 to 12
pin 11 to pin 10 and pin 9
pin 8 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
e. As a two-input XOR
Connect :
s1 to s2
s3 to s4.
S1 and s2 to positive terminal
S3 and s4 to the ground
s1 and s2 to pin 1 and pin 12
s3 and s4 to pin 2 and pin 4
pin 3 to pin 5 and pin 13
pin 11 to pin 10
pin 6 to pin 9
pin 8 to a resistor and led
led to the ground
pin 7 to the ground
pin 14 to positive terminal
4. NAND circuit
Connection:
Truth Table
A B C D AB CD AB+CD
1 1 1 1 1 1 1
1 1 1 0 1 0 1
1 1 0 1 1 0 1
1 1 0 0 1 0 1
1 0 1 1 0 1 1
1 0 1 0 0 0 0
1 0 0 1 0 0 0
1 0 0 0 0 0 0
0 1 1 1 0 1 1
0 1 1 0 0 0 0
0 1 0 1 0 0 0
0 1 0 0 0 0 0
0 0 1 1 0 1 1
0 0 1 0 0 0 0
0 0 0 1 0 0 0
0 0 0 0 0 0 0
LAB#2: Binary and Decimal Numbers
1. Binary Counter
Pin 10 to push button
Push button to ground
Pin 9 and pin 11 to led 1 and R1
Pin 5 to led 2 and R2
Pin 4 to led 3 and R3
Pin 8 to led 4 and R4
R2 ro r1
r1 and r2 to ground
LED’s and pin 7 to ground
Pin14 to positive terminal
2. BDC counter
Pin 10 to push button
Push button to ground
Pin 9 and pin 11 to led 1 and R1
Pin 5 and pin 12 to led 2 and R2
Pin 4 to led 3 and R3
Pin 8 and pin 13 to led 4 and R4
LED’s and pin 7 to ground
Pin14 to positive terminal
3. Other counters
a. 0101
Pin 10 to push button
Push button to ground
Pin 9 and pin 11 to led 1 and R1
Pin 5 and pin 12 to led 2 and R2
Pin 4 and pin 13 to led 3 and R3
Pin 8 to led 4 and R4
LED’s and pin 7 to ground
Pin14 to positive terminal
b. 0111
Pin 10 to push button
Push button to ground
Pin 9 and pin 11 to led 1 and R1
Pin 5 to led 2 and R2
Pin 4 to led 3 and R3
Pin 8 , pin 12, pin 13 to led 4 and R4
LED’s and pin 7 to ground
Pin14 to positive terminal
c. 1011
Pin 10 to push button
Push button to ground
Pin 9 and pin 11 to led 1 and R1
Pin 5 to led 2 and R2
Pin 4 and pin 12 to led 3 and R3
Pin 8 and pin 13 to led 4 and R4
LED’s and pin 7 to ground
Pin14 to positive terminal