Vous êtes sur la page 1sur 13

QUEZON CITY POLYTECHNIC UNIVERSITY

673 Quirino Highway, San Bartolome Novaliches, Quezon City


ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019

ARDUINO LABORATORY REPORT NO. 1

SBEE1B / GROUP 8

Members:

FRANCISCO, LANBERT G.

EMANO, KEIR

FRONDA, ALEXIS JOSEPH

ENGR. REINIER A. NICOLAS

Instructor

Date Performed: January 12, 2019

Date Submitted: January 18, 2019


QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019

TABLE OF CONTENTS

INTRODUCTION .........................................................................................................................1

OBJECTIVES ...............................................................................................................................2

LIST OF MATERIALS AND EQUIPMENT .............................................................................2

METHODOLOGY / PROCEDURE ............................................................................................3

CIRCUIT SET-UP ........................................................................................................................8

OBSERVATION ............................................................................................................................9

CONCLUSION ............................................................................................................................10
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019

I. INTRODUCTION

Arduino is an open source programmable circuit board that can be integrated into a

wide variety of makerspace projects both simple and complex. It is a powerful tool and a

great platform for prototyping projects and inventions. In order to use an Arduino, one

should have the following toolkit, technical knowledge, and creativity to unlock its

unlimited potential.

Arduino is said to be a tiny computer that you can program to process inputs and

outputs between the device and external components you connect to it. The Arduino is

what is known as a physical or embedded computing platform. The knowledge on the

programming part is essential for the students who wish to manipulate the specifications

of an Arduino board and use it without restrictions. Needless to say, the students should

learn the fundamentals of Arduino to fully comprehend its function, components, and its

importance in their future projects.

In this experiment, we familiarize ourselves in the fundamental codes, and some

practical applications of an Arduino. We’ve done the blink experiment which shows the

core of the Arduino fundamentals.

1
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
II. OBJECTIVES

The primary objective of the experiment is to learn the syntaxes, codes, and

functionalities of an Arduino UNO board, and Arduino Integrated Development

Environment (IDE).

Specifically, the experiment sought to determine the following:

 Whether the learners can accurately set-up an LED, 220-ohm resistor, color-

coded wires, and an Arduino UNO board in a breadboard;

 Whether the learners can understand, execute, and be able to familiarize

themselves with the following functions in the template code given in the

Arduino IDE program

 Whether the learners can successfully execute the coded program to the set-

up and blink an LED.

III. LIST OF MATERIALS AND EQUIPMENT

 Arduino Uno Board

 Breadboard

 Jumper Wires

 USB Cable

 Red LED

 220-Ohm Resistor

2
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
IV. PROCEDURE

The experiment was all about setting up a resistor, LED, and Arduino board in a

breadboard, and execute the program in Arduino IDE program.

Specifically, the experiment was done according to this order:

 Step 1 - We prepared the materials to be used in the experiment.

3
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
 Step 2 - We built the set-up on breadboard by inserting the black jumper wire into

the Ground pin on the Arduino and then in the GND rail of the breadboard row 15.

 Step 3 - We inserted the red jumper wire into pin 13 on the Arduino and then the

other end into F7 on the breadboard.

4
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
 Step 4 - We placed the LED into H4 on the breadboard.

 Step 5 - After that, we bend both legs of a 220 Ohm resistor and place one leg in

the GND rail around row 4 and other leg in I4 on the breadboard.

5
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
 Step 6 - We connect the Arduino UNO to your computer via USB cable.

 Step 7 - We opened the Arduino Integrated Development Environment (IDE)

6
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
 Step 8 - We selected the Blink sketch from the list of sketches in the Arduino IDE

 Step 9 - After checking that the connections of LED, resistor, and the jumper wires

are correct, we verify the code and upload the Blink Sketch to compile the code in

the Arduino board.

7
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
V. CIRCUIT SET-UP

Blinking LED Set-up on breadboard and Arduino UNO board

Code for Blinking LED in Arduino IDE program

8
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}

Code for Blinking LED

VI. OBSERVATION

The learners have concluded the following observations:

 In this activity, we learned that the Arduino is a very versatile, flexible, and

powerful tool for creating a prototype circuit or tool. Also, we observed that

one should have the proper knowledge on the basics of electronics and

programming as well. Knowledge on the basic of electronics will be crucial in

analyzing the connection of the prototype circuit in the breadboard and in the

Arduino UNO as well.

 On the other hand, knowledge on the programming part will be crucial in

sending instructions to the Arduino UNO board. Personally, I observed that the

secret for Blinking LED is the amount of time before a certain command, which

9
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
is digitalWrite (LED_BUILTIN, HIGH), which is the command for

the brightness of an LED to go high, or digitalWrite (LED_BUILTIN,

LOW), which is the command for the brightness of an LED to go low, takes

place.

 The amount of time before a certain command take place is called the delay.

Usually the time is denoted in milliseconds (1 second = 1000 millisecond), the

higher the delay is, the slower it goes for the LED to blink and conversely, the

lower the delay, the quicker it is for the LED to blink.

VII. CONCLUSION

The primary objective of the experiment is to learn the syntaxes, codes, and

functionalities of an Arduino Uno board, and Arduino Integrated Development

Environment (IDE).

After the experiment, the learners were able to conclude the following:

 The learners can accurately set-up an LED, 220-ohm resistor, button switch,

color-coded wires, and an Arduino UNO board in a breadboard. I concluded

that that basic knowledge in electronics is required for us to analyze the

connections in the Arduino board and the prototype circuit in the

breadboard. It is also important to have knowledge on the electronics part

10
QUEZON CITY POLYTECHNIC UNIVERSITY
673 Quirino Highway, San Bartolome Novaliches, Quezon City
ELECTRONICS ENGINEERING DIRECTORATE
A.Y 2018-2019
because reading the values of the resistors requires decoding its color-coded

value and one can only do it when he/she has the knowledge about basic

electronics.

 The learners can understand, execute, and be able to familiarize themselves

with the following functions in the template code given in the Arduino IDE

program. As denoted in the code that the function for an LED to blink is the

digitalWrite (LED_BUILTIN, LOW) or digitalWrite

(LED_BUILTIN, HIGH) with the delay serves as the indicator on

how fast or slow the blink will going to be.

 Whether the learners can successfully execute the coded program to the set-

up and blink an LED. As shown in the set-up, we were able to successfully

follow the steps, verify, compile, and upload the code to the Arduino UNO

board and because of the correct connection, we were successful in blinking

an LED.

11