ELD-302 Lab 2 - Logic Gates

docx

School

Thomas Edison State College *

*We aren’t endorsed by this school

Course

ELD - 302

Subject

Electrical Engineering

Date

Jan 9, 2024

Type

docx

Pages

29

Uploaded by kevinalandro

Report
Logic Gates Kevin Austin Thomas Edison State University ELD-302 Digital Electronics Professor Sohail Anwar December 30, 2023
Introduction The main purpose of this lab is to learn the operation of the logic gates by implementing a test rig that verifies the truth tables of simple two-input gates. Additionally, I will perform a logic experiment with a Word generator which displays timing diagrams on an oscilloscope. Experiments Experiment 1 I created the circuit below using two simple SPDT switches. On the right hand site I have an AND gate, OR gate, and XOR gate. All three gates are connected to a 500Ω resistor with the output connected to a red LED. The LED will light up when the output is high (1) and shut off when the output is low (0). Truth Tables:
A B AND 0 0 0 0 1 0 1 0 0 1 1 1 A B XOR 0 0 0 0 1 1 1 0 1 1 1 0 Experiment 2 For this experiment I developed a truth table for (AB)+(CD) using two AND gates and one OR gate. I connected four digital outputs to the inputs A,B,C and D to a red LED through a 500Ω resistor to the output. I’ve attached all the screenshots of the high output. A B OR 0 0 0 0 1 1 1 0 1 1 1 1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=0, B=0, C=1, D=1
A=0, B=1, C=1, D=1
A=1, B=0, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=1, C=0, D=1
A=1, B=1, C=0, D=0
A=1, B=1, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Truth Table A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 Experiment 3 In this experiment I developed a truth table for (AB)+(CD) using two OR gates and one AND gate. Once again I have connected a red LED through an 500Ω resistor. I’ve attached all high outputs.
A=1, B=1, C=1, D=0
A=1, B=1, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=1,C=0, D=1
A=1,B=0, C=1, D=0
A=1, B=0, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=0, C=0, D=1
A=0, B=1, C=1, D=0
A=0, B=1, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=0, B=1, C=0, D=1 Truth Table A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 1
0 1 1 0 1 0 1 1 1 1 1 0 0 0 0 1 0 0 1 1 1 0 1 0 1 1 0 1 1 1 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 Experiment 4 For this experiment I developed a truth table for (AB) XOR (CD) using two AND gates and one XOR gate. As before, I connected a red LED through a 500Ω resistor to the output. I’ve attached the screenshots that output a high.
A=1, B=1, C=0, D=0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=1, C=1, D=0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=1, C=0, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=1, B=0, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=0, B=1, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
A=0, B=0, C=1, D=1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Truth Table A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 Experiment 5 In this last experiment I recreated Figure 3-14 in the textbook. I used a word generator, four channel oscilloscope, and a 3-input AND gate. I was able to produce four different waveforms on the o’scope.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Word Generator, four-channel o’scope, 3-input AND Gate
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Conclusion Overall, this simulation experiment taught me more about the different logic gates and their truth tables. Combining the gates produced a much larger truth table which is very tedious to keep up with. It was very challenging keeping the 0’s and 1’s in order but I figured it out. Lastly, seeing the different waveforms on the o’scope put everything in perspective when it comes to binary sequencing.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help