Physics Projjecc Epicc
Physics Projjecc Epicc
Class: XII B
Register No:
1
N.S.N. MEMORIAL SENIOR
SECONDARY SCHOOL
CHENNAI
BONAFIDE CERTIFICATE
2
INDEX
1 ACKNOWLEDGEMENT 4
2 OBJECTIVE 5
3 INTRODUCTION 6
4 PROCEDURE 10
6 APPLICATIONS 12
7 BIBLIOGRAPHY 14
3
ACKNOWLEDGEMENT
Register number:
Signature:
4
OBJECTIVE
5
INTRODUCTION
Logic gates are the basic building blocks of any digital system. It
is an electronic circuit having one or more than one input and
only one output. Based on this, logic gates are named as AND
gate, OR gate, NOT gate etc.
NOT Gate:
The NOT gate is the simplest of all the gates, it is also the only
gate that only has one input.
AND Gate:
The AND gate has an output of zero unless all of its inputs are at
one.
OR Gate:
The output of the OR gate is one whenever any of its inputs are
set to one.
NAND Gate:
6
NOR Gate:
7
behaviour of light is used in building a line follower robot.
8
AIM:
To construct a line follower robot using Arduino microcontroller
to demonstrate the working of logic gates and infrared sensors .
MATERIALS REQUIRED:
CIRCUIT DIAGRAM
PROCEDURE:
9
Step 3: Upload the code to the Arduino and connect it to the
batteries or you can even use a power bank to run the Arduino.
Step 4: Test it on a black path.
WORKING:
1. When both the left and right sensor senses white then
the robot moves forward.
10
11
WORKING OF THE ROBOT
UTILITY VALUE:
Basic logic gates are widely used, both with and without
microcontrollers. For simple circuits, they can offer both cost
and performance advantages. They can also be used along with
CPU’s and MCU’s to create very complex designs or to simplify
programming.
12
foundations of all digital electronic devices and components.
APPLICATIONS:
PRECAUTIONS:
1. Connections should be neat, clean and tight.
2. The components must be handled with care, so as to not
break them or cause any damage.
SOURCES OF ERROR:
1. Circuit connections may be wrong.
2. Errors may arise in the code for the Arduino.
RESULT:
The working of logic gates has been successfully demonstrated
13
by the construction of a line follower robot.
BIBLIOGRAPHY
https://www.techtarget.com/whatis/
definition/logic-gate-AND-OR-XOR-NOT-
NAND-NOR-and-XNOR
https://projecthub.arduino.cc/
https://en.wikipedia.org/wiki/
Passive_infrared_sensor#:~:text=A
%20passive%20infrared%20sensor
%20(PIR,alarms%20and%20automatic
%20lighting%20applications.
14