You are on page 1of 5

A

Practical activity Report submitted

for Engineering Design Project-II (UTA-014)

by

OSHITA SINGH 102088016

Submitted to

Dr. RAVINDRA KUMAR

DEPARTMENT OF COMPUTER SCIENCE and ENGINEERING


THAPAR INSTITUTE OF ENGINEERING AND TECHNOLOGY,

(A DEEMED TO BE UNIVERSITY), PATIALA, PUNJAB

INDIA
July-Dec 2020
Experiment: 4

Objective: To make a walk of LED’S.

Software Used: Tinkercad Simulator

Hardware Component Used:

Sr. No Name of Components Value


1. RESISTOR 220 Ω
2. ARDUINO UNO
3. LED (7)

Theory:
1.ARDUINO UNO: The Arduino Uno is an open-source microcontroller board based on
the Microchip ATmega328P microcontroller . The board is equipped with sets of digital and
analog input/output (I/O) pins that may be interfaced to various expansion boards (shields)
and other circuits.[1] The board has 14 digital I/O pins (six capable of PWM output), 6 analog
I/O pins, and is programmable with the Arduino IDE (Integrated Development Environment),
via a type B USB cable.

2.LED: A light-emitting diode (LED) is a semiconductor light source that emits light
when current flows through it. Electrons in the semiconductor recombine with electron holes,
releasing energy in the form of photons.

3.RESISTOR: A resistor is a passive two-terminal electrical component that implements


electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce
current flow, adjust signal levels, to divide voltages, bias active elements, and terminate
transmission lines, among other uses.
Logical Circuit diagram (Tinkercad Circuit diagram):

Coding:

void setup()

pinMode(13, OUTPUT);

pinMode(12, OUTPUT);

pinMode(11, OUTPUT);

pinMode(10, OUTPUT);

pinMode(9, OUTPUT);

pinMode(8, OUTPUT);

pinMode(7, OUTPUT);

void loop()

{
for(int i=13;i>=7;i--)

digitalWrite(i , HIGH);

delay(500);

digitalWrite(i , LOW);

delay(500);

Discussion:

In this experiment, we have learnt that loops can be used to make different patterns out of
LED’S.

Signature of Faculty member

You might also like