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

Arduino

The document provides an introduction to Arduino, including what Arduino is, the different types of Arduino boards, how to set up the Arduino IDE, and how to configure and test an Arduino board by uploading a Blink example sketch.

Uploaded by

Takhtet Network
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Arduino

The document provides an introduction to Arduino, including what Arduino is, the different types of Arduino boards, how to set up the Arduino IDE, and how to configure and test an Arduino board by uploading a Blink example sketch.

Uploaded by

Takhtet Network
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Northern Technical University

Engineering technical college of Mosul


Electrical Power Technologies
Engineering

Arduino

Prepared by
Hasan Yousef Mohammed

1
INTRODICTION
Arduino is an open-source platform used for building electronics projects.
Arduino consists of both a physical programmable circuit board (often
referred to as a microcontroller) and a piece of software, or IDE (Integrated
Development Environment) that runs on your computer, used to write and
upload computer code to the physical board.

2
Types of Arduino

3
Arduino IDE: Initial Setup

Download Arduino Integrated Design Environment (IDE) here (Most recent


version: 1.6.5): https://www.arduino.cc/en/Main/Software This is the
Arduino IDE once it’s been opened. It opens into a blank sketch where you
can start programming immediately. First, we should configure the board
and port settings to allow us to upload code. Connect your Arduino board
to the PC via the USB cable.

4
IDE: Board Setup

You have to tell the Arduino IDE what board you are uploading to. Select the
Tools pulldown menu and go to Board. This list is populated by default with
the currently available Arduino Boards that are developed by Arduino. If
you are using an Uno or an Uno-Compatible Clone (ex. Funduino, SainSmart,
IEIK, etc.), select Arduino Uno. If you are using another board/clone, select
that board.

IDE: COM Port Setup

If you downloaded the Arduino IDE before plugging in your Arduino board,
when you plugged in the board, the USB drivers should have installed
5
automatically. The most recent Arduino IDE should recognize connected
boards and label them with which COM port they are using. Select the
Tools pulldown menu and then Port. Here it should list all open COM
ports, and if there is a recognized Arduino Board, it will also give it’s
name. Select the Arduino board that you have connected to the PC. If the
setup was successful, in the bottom right of the Arduino IDE, you should
see the board type and COM number of the board you plan to program.
Note: the Arduino Uno occupies the next available COM port; it will not
always be COM3.

At this point, your board should be set up for programming, and you can begin writing and
uploading code

6
Testing Your Settings: Uploading Blink

One common procedure to test whether the board you are using is
properly set up is to upload the “Blink” sketch. This sketch is included with
all Arduino IDE releases and can be accessed by the File pull-down menu
and going to Examples, 01.Basics, and then select Blink . Standard Arduino
Boards include a surface-mounted LED labeled “L” or “LED” next to the
“RX” and “TX” LEDs, that is connected to digital pin 13. This sketch will
blink the LED at a regular interval, and is an easy way to confirm if your
board is set up properly and you were successful in uploading code. Open
the “Blink” sketch and press the “Upload” button in the upper-left corner
to upload “Blink” to the board.

Upload Button:

7
8

You might also like