# Project report OR Gate

## Acknowledgement

I would like to express my special thanks of gratitude to my teacher (Name of the teacher) as well as our principal (Name of the principal)who gave me the golden opportunity to do this wonderful project on the topic (Write the topic name), which also helped me in doing a lot of Research and i came to know about so many new things I am really thankful to them. Secondly i would also like to thank my parents and friends who helped me a lot in finalizing this project within the limited time frame.

## Aim

Aim of this project is to demonstrate the working of two input OR gate using diode and LED.

## Introduction

The Logic OR Gate is a type of digital logic circuit whose output goes HIGH to a logic level 1 only when one or more of its inputs are HIGH.
The output, Q of a “Logic OR Gate” only returns “LOW” again when ALL of its inputs are at a logic level “0”. In other words for a logic OR gate, any “HIGH” input will give a “HIGH”, logic level “1” output.
The logic or Boolean expression given for a digital logic OR gate is that for Logical Addition which is denoted by a plus sign, ( + ) giving us the Boolean expression of:  X+Y = Z.
Thus a logic OR gate can be correctly described as an “Inclusive OR gate” because the output is true when both of its inputs are true (HIGH). Then we can define the operation of a 2-input logic OR gate as being:

“If either X or Y is true, then Z is true”

## OR gate truth table ## Material required

Diode:- A diode is an electronic component with two electrodes. It allows electricity to go through it only in one direction.
Resistor:-The resistor is a passive electrical component to create resistance in the flow of electric current.
LED:- An LED produces light when electricity flows through.
Battery:- A 9V dc battery is used to power this circuit.
Battery snap connector:- To connect the battery terminals to the rest of circuit.
Soldering Iron:-  To solder the various components used in this project.
Switches:- For controlling the input to the circuit.

## Circuit Diagram ## Working

• When X=0 Y=0

When both the input is zero i.e. no switch is turned on, no current flows through the LED. Thus LED remains off, giving us no output. Hence Z=0

• When X=1 Y=0

In this case diode D1 is connected to the positive terminal of the battery and diode D1 becomes forward biased allowing current to flow through LED which in turn turns on the LED. Hence Z=1

• When X=0 Y=1

In this case diode D2 is connected to the positive terminal of the battery and diode D2 becomes forward biased allowing current to flow through LED which turns on the LED. Hence Z=1

• When X=1 Y=1

In this case both diodes D1, D2 is connected to the positive terminal of the battery. Both diodes D1, D2 becomes forward biased allowing current to flow through LED which turns on the LED. Hence Z=1