Lesson 10     Logic and  Digital Electronic

 

Inverter (also called NOT Gate

    In the digital world, there are only 0 and 1. There is No 1.3, 1.7, 3 or 4. in digital world.

    The function of inverter is to convert 0 to 1, or convert 1 to 0.

We use higher voltage to present 1, lower voltage to present 0. The interface voltage is

about 1/2 voltage of the IC power. (2.25V in our case)

There are 6 inverters in one 4069 IC.

 

 


 

 

 

input A

output Y

  0

  1

  1

  0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AND Gate  Both input A and input B must be 1 ,then the Y output 1

 

 

 

 

 

A

B

Y

  0

  0

  0

  0

  1

  0

  1

  0

  0

  1

  1

  1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OR Gate  Either input A or input B is 1 , then the Y output 1

   

 

 

 

 

  A

  B

  Y

  0

  0

  0

  0

  1

  1

  1

  0

  1

  1

  1

  1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 NAND Gate

 

 

NAND=AND+NOT                                                                                                  

 

 

 

 

 

 

 

 

 

 

  A

  B

  Y

  0

  0

  1

  0

  1

  1

  1

  0

  1

  1

  1

  0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Experiment  1  NOT gate (Invertor)    

 

 


 

 

 


 

 

Be careful when lift IC from breadboard. The pins of IC is easy to bend. and broken.

You may use a pen to lift IC from IC bottom.

The purpose of R1 is to let the input of inverter to be grounded when switch is off.

 

 

 

 

 

 

 

 

 

Experiment 2   OR gate                          

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Experiment 3  AND Gate

 

 

 

 

 

 

 

 

 

 

 

We use 4.5V for IC Power. So the voltage of input greater then 2.25 will be signal “1”.

The voltage of input smaller then 2.25 will be signal “0”.

 

 

 

 

Experiment 4  Fill the true value table before doing experiment.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Experiment 5  Self-keep circuit

 

 

 

 

 

 

 

 

 

 

Press S , LED keep shining

 

 

 

 

 

 

 

 

 

 

 

 

Press S and loosen, LED keep shining until press R

 

 

 

 

 

Experiment 6   NAND Gate                

 

 

 

 

 

 

 

 

 

 

 

Experiment 7   Make NOT with NAND

 

 

 

 

 

 

 

 

 

 

Experiment 8   Make AND with NAND         

 

 

 

 

 

 

 

 

 

 

Experiment 9   make OR with NAND

 

 

 

 

 

 

 

 

 

 

 

 

 

Experiment 10 

From Experiment 7,8,9 we know that NOT,OR,AND can be replace by NANDs. 

So, Experiment 4 may be replaced with the following circuit.  We use two ICs in experiment 4. But here we use one IC (4011) Only.

 

 

 

 

 

 

 

 

Experiment 11                                

Self-keep circuit with 4 NAND gates.            ,

This circuit is equql to experiment 5            .

 

 

 

 

 

 

 

 

 

 

 

 

Experiment 12  

When someone near and in the darkness then the LED shines automatically