DIGITAL DESIGN USING LOGIC.LY

TASK – YOUR FIRST LOGIC GATE

 

 

TASK DESCRIPTION

 

In this task, you will create a simple circuit with an AND logic gate.  You will also learn how to create a truth table (logic table) by toggling the inputs and noting the resulting output.

 

TASK


You will create a simple circuit with an AND logic gate that will allow you to change the inputs and see the resulting output.  Make sure you label the inputs A and B and the output Q.

You will need the following components:

 

·        And gate

·        Light bulb

·        2 Toggle switch

·        3 Labels


A) Create the circuit below.  Make sure the labels are well placed.  Make sure the wires are “square”.

The switches represent the inputs A and B.  The light bulb’s state represents the output Q.  So if the light bulb is off, Q is 0.  But if the light bulb is on, Q is 1.

 

 

B) We can now create a truth table by toggling through the different input combinations.

 

A

B

Q

0

0

 

0

1

 

1

0

 

1

1

 


i) Toggle both switches so they are at Logical 0 (off).  Write down the corresponding value of Q.

ii) Toggle the switches so A=0 and B=1.  Write down the corresponding value of Q.

 

iii) Toggle the switches so A=1 and B=0.  Write down the corresponding value of Q.

 

iv) Toggle the switches so A=1 and B=1.  Write down the corresponding value of Q.

 

Of course, this simply allowed us the verify the truth table for an AND gate.  In the next tasks, you will be able to use this process to find the truth table of more advanced circuits.

TO SUBMIT

 

A screen capture of your diagram.  (No need to submit the truth table.)