You are on page 1of 13

ARDUINO IDE

FAMILIARIZATION
ACTIVITY 1

Engr. Rudy
Siguenza
April 2017
OBJECTIVES:
1. To familiarize students in using the Arduino UNO
Microcontroller Board and the Arduino IDE software.

2. To familiarize students in creating their own


Sketches using Arduino IDE.

3. To familiarize students in uploading Sketches to the


Arduino Board
INTRODUCTION:
The Arduino UNO Microcontroller Board
The Arduino UNO Microcontroller Board (or Aduino UNO
is a microcontroller board based on the ATmega328 and
ATmega168.
It works as a standalone board: simply connect it to a
computer using a USB cable. The Arduino is
programmed using the Arduino IDE (Integrated
Development Environment).
Arduino is ideal for beginner programmers and
hobbyists because of its simplicity compared to other
platforms. It is a multiplatform environment, as it can
run on Windows, Macintosh, and Linux.
THE ARDUINO UNO MICROCONTROLLER
BOARD
System
reset Compatible Shields Pin Port
Button

Power LED
USB port indicator

Programming/
Data transfer Debugging Port
LED indicator (ICSP)

DC Jack
External power
supply

Compatible Shields Pin Port


THE ARDUINO UNO MICROCONTROLLER
BOARD

U3

U2
U1
THE ARDUINO IDE
The Arduino Integrated Development Environment - or just
Arduino IDE - contains a text editor for writing code, a message
area, a text console, a toolbar with buttons for common
functions and a series of menus. It connects to the Arduino
board via USB to upload programs and communicate with it.

Programs written using the Arduino IDE are called sketches.


These sketches are written in the text editor and are saved
with the file extension .ino.
Steps in building a project using Arduino.
1. Write the code that tells the Ardiuino UNO what to
do on your computer usng the Arduino software.

2. Connect your Arduino UNO to your computer, and


upload your code into the board.

3. Build and connect your circuit to your Arduino UNO.


MATERIALS NEEDED:
1 PC
1 Keyboard and 1 Mouse
1 Arduino UNO Microcontroller Board
1 USB Cable
1 Breadboard
1 LED
1 Resistor (220)
Jumper wire
PROCEDURES:
A. Installing Arduino Software on Windows PC.
Downloading and Installing the Arduino Software on
computer.
(arduino.cc/en/Main/Software)

B. Exploring the Arduino IDE.


In Windows, double-click the icon of Arduino software on your
desktop ( or go to the folder).
Upload New
Open
Verify Save
C. Testing the set-up
3. Connnect the USB cable to Arduino board
and PC.
4. Check the setting of the board and the
port if properly connected.
Board: select Tools Boards (make sure
you select the board you you are using,
Arduino UNO).
Port: select Tools Serial port (select the
port you are using).
4. Upload the Blink sketch
Select: File Examples 01 Basics Blink, to
open a new window with the Blink sketch.
5. Click Upload to compile the code in Arduino board.
In uploading, you will see at the buttom of the window
Compiling sketch and then Uploading. It will indicate
Done uploading if the sketch uploaded without any
problems.
CHALLENGE ACTIVITY
Turns the LED on 10 times than when it is off.