0% found this document useful (0 votes)
5 views11 pages

Introduction To Arduino

Arduino is an open-source platform featuring a microcontroller and a user-friendly IDE for programming. It offers various boards like Arduino Uno, Mega, and Nano, each with different specifications and capabilities. The document outlines the steps to write, compile, and upload a program using the Arduino IDE.

Uploaded by

qf9ysfjjrf
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)
5 views11 pages

Introduction To Arduino

Arduino is an open-source platform featuring a microcontroller and a user-friendly IDE for programming. It offers various boards like Arduino Uno, Mega, and Nano, each with different specifications and capabilities. The document outlines the steps to write, compile, and upload a program using the Arduino IDE.

Uploaded by

qf9ysfjjrf
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/ 11

INTRODUCTION TO ARDUINO

Arduino is a user-friendly open-source platform. Arduino has an onboard microcontroller and an


integrated development environment (IDE) is used to program it. Arduino board can be
programmed directly from the PC using FTDI (Future Technology Devices International) which
is easy compared to other similar platforms.

The advantages of using an Arduino Platform are as follows:


Low cost: Arduino boards are of relatively low cost as compared to other microcontroller
platforms.
Cross-platform: The Arduino software (IDE) is compatible with the Windows, Macintosh OSX,
and Linux operating systems.
User friendly: The Arduino software (IDE) is user friendly and easy to use for beginners and very
flexible for skilled programmers.
Open source: The Arduino is an open-source software and can be programmed with C, C++, or
AVR-C languages.
So, a variety of modules can be designed by the users.
Arduino platform comprises a microcontroller. It can be connected to a PC through a USB cable.
It is freely accessible and can be easily downloaded. It can also be modified by a programmer.
Different versions of Arduino boards are available in the market depending on the user
requirement.

Lets observed the different types of Arduino Boards that exists

1|Page
SIR MEEK
ARDUINO UNO
The Arduino/Genuino Uno has an onboard ATmega328 microcontroller. It has onboard six analog
input ports (A0–A5). Each pin can operate at 0–5 V.

It has 14 digital input/output (I/O) pins out of which 6 are PWM (Pulse Width Modulation) output,
6 analog inputs, 2 KB SRAM, 1 KB EEPROM, and operates at 16 MHz of frequency.

ARDUINO UNO

2|Page
SIR MEEK
ARDUINO MEGA
The Arduino MEGA has onboard ATmega2560 microcontroller. It has onboard 16 analog inputs,
54 digital I/O, USB connection, 4 UART, power jack, and a reset button. It operates at 16 MHz
frequency. The board can be operated with 5–12 V of external power; if supplied more than this,
it can damage the board. It has onboard 256 KB flash memory, 8 KB SRAM, and 4 KB EEPROM.

ARDUINO MEGA

3|Page
SIR MEEK
4|Page
SIR MEEK
ARDUINO NANO

The Arduino/Genuino Nano has onboard ATmega328 microcontroller. It has onboard 8 analog
and 14 digital I/O ports and 6 PWM of 8 bit. Each pin can operate at 0–5 V. It has onboard 32 KB
flash memory, 2 KB SRAM, 1 KB EEPROM, and operates at 16 MHz of frequency.

ARDUINO NANO

5|Page
SIR MEEK
STEPS TO WRITE A PROGRAM WITH ARDUINO IDE

This chapter describes the steps to write and compile a program with Arduino integrated
development environment (IDE). The Arduino IDE is an open-source software which makes it
user friendly for writing the code and then upload directly on Arduino board.

Step 1: Install Arduino IDE and open the Window

To begin, install the Arduino Programmer, IDE. The Figure below shows the opened window
Arduino IDE.

Step 2: Choose suitable version of Arduino. Arduino has many versions such as Uno, Mega, and
Nano. The most common is the Arduino Uno. Before starting the program find out the suitable
version of Arduino board for the project.

Set the board type and the USB serial port of board in the Arduino IDE. The Figure below shows
the steps to select the type of Arduino.

Click on “Tool,” and then click on “board.” Figure below shows the selection of “Arduino Uno.”

6|Page
SIR MEEK
7|Page
SIR MEEK
Step 3: Write and compile the program

Write program as per requirement of the project. Then “RUN” the program. The Figure below
shows the compilation of the program.

Step 4: Connect Arduino with the PC

Connect Arduino to the USB port of the PC with USB cable. Every Arduino has a different serial-
port address (e.g., COM2 and COM4), so it is required to recognize the port for the different
Arduino and select it in the IDE.

To check the port where the Arduino is connected, make right click on the “PC,” then go to
manager; a window will open. Then double click on the “Device Manager.” A window as shown
in Figure below will open. Click on the ports (COM&LPT) and the port at which the device is
connected can be found. Figure shows “COM6” is port for the device.

8|Page
SIR MEEK
Now click on the “Tool” heading of the Arduino IDE window.

Go to port and select the same port number, which was found at the device manager (select COM1
or COM2 etc.). Figure below shows the “COM6” as serial port of board.

9|Page
SIR MEEK
Step 5: Upload program in Arduino

Uploaded the new program to Arduino. Figure below shows how to upload the program.

10 | P a g e
SIR MEEK
11 | P a g e
SIR MEEK

You might also like