0% found this document useful (0 votes)
67 views

A Practical Activity Report Submitted For Engineering Design Project-II (UTA-014) by

This document is a practical activity report submitted by Oshita Singh for an engineering design project using an Arduino Uno. It describes an experiment with the objective to study Arduino programming functions like delay(), pinMode(), and digitalWrite() by making a circuit with two LEDs and resistors connected to an Arduino and programming them to blink alternately. The circuit diagram and code are provided, which uses delays to toggle the LEDs on and off one after the other to demonstrate understanding of the functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

A Practical Activity Report Submitted For Engineering Design Project-II (UTA-014) by

This document is a practical activity report submitted by Oshita Singh for an engineering design project using an Arduino Uno. It describes an experiment with the objective to study Arduino programming functions like delay(), pinMode(), and digitalWrite() by making a circuit with two LEDs and resistors connected to an Arduino and programming them to blink alternately. The circuit diagram and code are provided, which uses delays to toggle the LEDs on and off one after the other to demonstrate understanding of the functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

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: 2
Objective: To study the different functions used in Arduino

programming(delay(),pinMode(),digitalWrite()) and binary display.

Software Used: Tinkercad Simulator

Hardware Component Used:

Sr. No Name of Components Value


1. Resistor(2) 220 Ω
2. ARDUINO UNO
3. LED(2)

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:

int pin1=13;

int pin2=12;

void setup()

pinMode(pin1, OUTPUT);

pinMode(pin2, OUTPUT);

}
void loop()

digitalWrite(pin1 ,HIGH);

delay(500);

digitalWrite(pin1 ,LOW);

delay(200);

digitalWrite(pin2 ,HIGH);

delay(500);

digitalWrite(pin2 ,LOW);

delay(200);

Discussion:

In this experiment, we have learnt how make a circuit of two LED’S and make them glow
one by one. The delay function helps us in recording the time between the ON state of one
LED and the OFF state of the other.

Signature of Faculty member

You might also like