SlideShare a Scribd company logo
3
Most read
5
Most read
8
Most read
University of Duhok
College of Science
CS Department
Arduino. What is Arduino?
Arduino is an open-source platform used for building
electronics projects.
Arduino consists of
• microcontroller : physical programmable circuit board
• software: IDE (Integrated Development Environment)
that runs on your computer, used to write and upload
computer code to the physical board.
The Arduino platform has become quite popular with people just
starting out with electronics, and for good reason. Unlike most
previous programmable circuit boards, the Arduino does not need a
separate piece of hardware (called a programmer) in order to load
new code onto the board – you can simply use a USB cable.
Additionally, the Arduino IDE uses a simplified version of C++, making
it easier to learn to program. Finally, Arduino provides a standard
form factor that breaks out the functions of the micro-controller into
a more accessible package.
It is an open source hardware, any one can get the details of its
design and modify it or make his own one himself.
Arduino boards:
UNO Mega LilyPad
Arduino BT Arduino Nano Arduino Mini
Arduino UNO:
Digital output
~: PWM.
0,1: Serial port.
In circuit Serial
programming
Atmel
Microcontroller
Analog input.
Power Supply
USB port
Power input
TX RX LEDs
Power LED
Reset Button
There are many varieties of Arduino boards that can be
used for different purposes:
 Power LED Indicator
There’s a tiny LED next to the word ‘ON’ This LED should light up
whenever you plug your Arduino into a power source. If this light
doesn’t turn on, there’s a good chance something is wrong. Time to
re-check your circuit!
Power (USB / Barrel Jack)
Every Arduino board needs a way to be connected to a power source.
The Arduino UNO can be powered from a USB cable coming from
your computer or a wall power supply that is terminated in a barrel
jack. The USB connection also used to load code onto your Arduino
board.
What's on the Arduino board?.
Cont..
 Reset Button
The Arduino has a reset button . Pushing it will temporarily connect
the reset pin to ground and restart any code that is loaded on the
Arduino. This can be very useful if your code doesn’t repeat, but you
want to test it multiple times.
 TX RX LEDs
TX is short for transmit, RX is short for receive. These LEDs will give
us some nice visual indications whenever our Arduino is receiving or
transmitting data (like when we’re loading a new program onto the
board).
Cont..
 Main IC
The black thing with all the metal legs is an IC, or Integrated Circuit .
Think of it as the brains of our Arduino. The main IC on the Arduino
is slightly different from board type to board type, but is usually from
the ATmega line of IC’s from the ATMEL company.
 Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)
The pins on your Arduino are the places where you connect wires to
construct a circuit (probably in conjuction with a breadboard and
some wire. They usually have black plastic ‘headers’ that allow you
to just plug a wire right into the board. The Arduino has several
different kinds of pins, each of which is labeled on the board and
used for different functions.
Cont..
• GND : Short for ‘Ground’. There are several GND pins on the Arduino, any
of which can be used to ground your circuit.
• 5V & 3.3V : the 5V pin supplies 5 volts of power, and the 3.3V pin supplies
3.3 volts of power.
• Analog : The area of pins under the ‘Analog In’ label (A0 through A5 on the
UNO) are Analog In pins. These pins can read the signal from an analog
sensor (like a temperature sensor) and convert it into a digital value that we
can read.
• Digital : Across from the analog pins are the digital pins (0 through 13 on
the UNO). These pins can be used for both digital input (like telling if a
button is pushed) and digital output (like powering an LED).
• PWM : You may have noticed the tilde (~) next to some of the digital pins (3,
5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital pins, but
can also be used for something called Pulse-Width Modulation (PWM). but
for now, think of these pins as being able to simulate analog output (like
fading an LED in and out).
• AREF : Stands for Analog Reference. Most of the time you can leave this
pin alone. It is sometimes used to set an external reference voltage
(between 0 and 5 Volts) as the upper limit for the analog input pins.
You can download the Arduino IDE
(The program used to write code and
uploading it to arduino boards) from:
http://arduino.cc/en/Main/Software
Arduino IDE:
Arduino IDE:
Arduino IDE:
Arduino IDE:
• Verify: Checks your code for errors.
• Upload: Compiles your code and uploads it to the Arduino
board.
• New: Creates a new sketch.
• Open: Presents a menu of all the sketches in your sketchbook.
Clicking one will open it within the current window.
• Save: Saves your sketch.
• Serial Monitor: used to receive serial data from the board and
send the serial data to the board.
Arduino IDE:
From an idea to a final project, we usually follow the following steps:
ArduinoLanguage The basic sketch (program) has two required functions:
1- void setup ( )
{
statements;
}
2- void loop ( )
{
statements;
}
 The setup function is for preparation or initialization
and the loop function is for execution.
 The setup function runs once when you power the
board or press reset button. The loop function runs
over and over again forever.
 In Arduino: Variables, functions, comments, control/loop
statements, arithmetic/comparison/logical operators, and
anything related are same as in C/C++.
 Arduino language reference is in the link below:
http://www.arduino.cc/en/Reference/HomePage
Thank You 

More Related Content

What's hot (20)

PPT
Arduino presentation by_warishusain
student
 
PPTX
PPT ON Arduino
Ravi Phadtare
 
PPT
Intro to Arduino
avikdhupar
 
PPTX
Introduction to Arduino
Green Moon Solutions
 
PPTX
Introduction to arduino ppt main
eddy royappa
 
PPTX
Introduction to the Arduino
Wingston
 
PDF
Introduction to Arduino Programming
James Lewis
 
PDF
Arduino Workshop Day 1 - Basic Arduino
Vishnu
 
PPTX
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
PPTX
Introduction to Arduino
Omer Kilic
 
PPS
Arduino Uno Pin Description
Niket Chandrawanshi
 
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Gaurav Pandey
 
PPTX
Ardui no
Amol Sakhalkar
 
PPTX
Introduction to Arduino
Yong Heui Cho
 
PPTX
Heart beat detector using arduino
Varshaa Khandagale
 
PPT
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
PPTX
Arduino
Jerin John
 
PDF
Report on arduino
Ravi Phadtare
 
PDF
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
PDF
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 
Arduino presentation by_warishusain
student
 
PPT ON Arduino
Ravi Phadtare
 
Intro to Arduino
avikdhupar
 
Introduction to Arduino
Green Moon Solutions
 
Introduction to arduino ppt main
eddy royappa
 
Introduction to the Arduino
Wingston
 
Introduction to Arduino Programming
James Lewis
 
Arduino Workshop Day 1 - Basic Arduino
Vishnu
 
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
Introduction to Arduino
Omer Kilic
 
Arduino Uno Pin Description
Niket Chandrawanshi
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Gaurav Pandey
 
Ardui no
Amol Sakhalkar
 
Introduction to Arduino
Yong Heui Cho
 
Heart beat detector using arduino
Varshaa Khandagale
 
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
Arduino
Jerin John
 
Report on arduino
Ravi Phadtare
 
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 

Similar to Introduction to arduino (20)

PPTX
Lecture 7
vishal choudhary
 
PDF
Arduino microcontroller ins and outs with pin diagram
ArifatunNesa
 
PPT
Introduction to Arduino 16822775 (2).ppt
ansariparveen06
 
PDF
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
Ruby Hermano
 
PDF
Getting Started With Arduino_Tutorial
NYCCTfab
 
DOCX
Robotics and Embedded Systems
Ankan Naskar
 
PDF
Arduino-workshop.computer engineering.pdf
AbhishekGiri933736
 
PPTX
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
menchc1207
 
PPTX
arduino and its introduction deep dive ppt.pptx
SruSru1
 
PPTX
Arduino Family
mahalakshmimalini
 
PPTX
Introduction to Arduino (Parts of Arduino Microcontroller) .pptx
JhonatanGarciaMendez
 
PPTX
Internet of Things prescribed by University
Sanjay Kumar
 
PDF
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
PPTX
arduino uno
20PA013BHOOMIKAP
 
PDF
aurduino-200107075953.pdf
HebaEng
 
PPTX
Arduino: On-board components description, IDE and Programming
Pawan Dubey, PhD
 
PPTX
Robotics Session day 1
Afzal Ahmad
 
PDF
Arduino_IOT Arduino_IOT Arduino_IOTArdui
deepikayadav216323
 
PPTX
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
MarcheryAlingal
 
PPTX
Arduino
VigneshABME
 
Lecture 7
vishal choudhary
 
Arduino microcontroller ins and outs with pin diagram
ArifatunNesa
 
Introduction to Arduino 16822775 (2).ppt
ansariparveen06
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
Ruby Hermano
 
Getting Started With Arduino_Tutorial
NYCCTfab
 
Robotics and Embedded Systems
Ankan Naskar
 
Arduino-workshop.computer engineering.pdf
AbhishekGiri933736
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
menchc1207
 
arduino and its introduction deep dive ppt.pptx
SruSru1
 
Arduino Family
mahalakshmimalini
 
Introduction to Arduino (Parts of Arduino Microcontroller) .pptx
JhonatanGarciaMendez
 
Internet of Things prescribed by University
Sanjay Kumar
 
VERY NICE FOR CSE 3RD YEAR AND IOT STUDENTS
neelamsanjeevkumar
 
arduino uno
20PA013BHOOMIKAP
 
aurduino-200107075953.pdf
HebaEng
 
Arduino: On-board components description, IDE and Programming
Pawan Dubey, PhD
 
Robotics Session day 1
Afzal Ahmad
 
Arduino_IOT Arduino_IOT Arduino_IOTArdui
deepikayadav216323
 
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
MarcheryAlingal
 
Arduino
VigneshABME
 
Ad

More from Jawaher Abdulwahab Fadhil (20)

PDF
Binary adder
Jawaher Abdulwahab Fadhil
 
PPT
Number system
Jawaher Abdulwahab Fadhil
 
PDF
Add instruction-part1
Jawaher Abdulwahab Fadhil
 
PPTX
Dealing with 8086 memory
Jawaher Abdulwahab Fadhil
 
PPTX
MOV instruction part1
Jawaher Abdulwahab Fadhil
 
PDF
Cisco webex installation guide
Jawaher Abdulwahab Fadhil
 
PPTX
A survey on the applications of smart home
Jawaher Abdulwahab Fadhil
 
PPT
Flag register and add instruction
Jawaher Abdulwahab Fadhil
 
PDF
Computer Organization -part 1
Jawaher Abdulwahab Fadhil
 
PPTX
iOS Operating System
Jawaher Abdulwahab Fadhil
 
PPTX
Android Operating system
Jawaher Abdulwahab Fadhil
 
PPTX
Types of Mobile Applications
Jawaher Abdulwahab Fadhil
 
PDF
Ultrasonic with buzzer
Jawaher Abdulwahab Fadhil
 
PDF
Lecture6 modulation
Jawaher Abdulwahab Fadhil
 
PDF
Lecture 5: The Convolution Sum
Jawaher Abdulwahab Fadhil
 
PDF
Lecture 4: Classification of system
Jawaher Abdulwahab Fadhil
 
PDF
Lecture3: Operations of Ct signals
Jawaher Abdulwahab Fadhil
 
PDF
Lecture2 : Common continuous time signals
Jawaher Abdulwahab Fadhil
 
PDF
Lecture1: Introduction to signals
Jawaher Abdulwahab Fadhil
 
PDF
Arduino- Serial communication
Jawaher Abdulwahab Fadhil
 
Add instruction-part1
Jawaher Abdulwahab Fadhil
 
Dealing with 8086 memory
Jawaher Abdulwahab Fadhil
 
MOV instruction part1
Jawaher Abdulwahab Fadhil
 
Cisco webex installation guide
Jawaher Abdulwahab Fadhil
 
A survey on the applications of smart home
Jawaher Abdulwahab Fadhil
 
Flag register and add instruction
Jawaher Abdulwahab Fadhil
 
Computer Organization -part 1
Jawaher Abdulwahab Fadhil
 
iOS Operating System
Jawaher Abdulwahab Fadhil
 
Android Operating system
Jawaher Abdulwahab Fadhil
 
Types of Mobile Applications
Jawaher Abdulwahab Fadhil
 
Ultrasonic with buzzer
Jawaher Abdulwahab Fadhil
 
Lecture6 modulation
Jawaher Abdulwahab Fadhil
 
Lecture 5: The Convolution Sum
Jawaher Abdulwahab Fadhil
 
Lecture 4: Classification of system
Jawaher Abdulwahab Fadhil
 
Lecture3: Operations of Ct signals
Jawaher Abdulwahab Fadhil
 
Lecture2 : Common continuous time signals
Jawaher Abdulwahab Fadhil
 
Lecture1: Introduction to signals
Jawaher Abdulwahab Fadhil
 
Arduino- Serial communication
Jawaher Abdulwahab Fadhil
 
Ad

Recently uploaded (20)

PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PPTX
Different types of inheritance in odoo 18
Celine George
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
DOCX
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PPTX
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
PDF
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
How to Manage Expiry Date in Odoo 18 Inventory
Celine George
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Different types of inheritance in odoo 18
Celine George
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Lesson 1 - Nature and Inquiry of Research
marvinnbustamante1
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
How to Manage Expiry Date in Odoo 18 Inventory
Celine George
 

Introduction to arduino

  • 1. University of Duhok College of Science CS Department
  • 2. Arduino. What is Arduino? Arduino is an open-source platform used for building electronics projects. Arduino consists of • microcontroller : physical programmable circuit board • software: IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board.
  • 3. The Arduino platform has become quite popular with people just starting out with electronics, and for good reason. Unlike most previous programmable circuit boards, the Arduino does not need a separate piece of hardware (called a programmer) in order to load new code onto the board – you can simply use a USB cable. Additionally, the Arduino IDE uses a simplified version of C++, making it easier to learn to program. Finally, Arduino provides a standard form factor that breaks out the functions of the micro-controller into a more accessible package. It is an open source hardware, any one can get the details of its design and modify it or make his own one himself.
  • 4. Arduino boards: UNO Mega LilyPad Arduino BT Arduino Nano Arduino Mini
  • 5. Arduino UNO: Digital output ~: PWM. 0,1: Serial port. In circuit Serial programming Atmel Microcontroller Analog input. Power Supply USB port Power input TX RX LEDs Power LED Reset Button
  • 6. There are many varieties of Arduino boards that can be used for different purposes:  Power LED Indicator There’s a tiny LED next to the word ‘ON’ This LED should light up whenever you plug your Arduino into a power source. If this light doesn’t turn on, there’s a good chance something is wrong. Time to re-check your circuit! Power (USB / Barrel Jack) Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be powered from a USB cable coming from your computer or a wall power supply that is terminated in a barrel jack. The USB connection also used to load code onto your Arduino board. What's on the Arduino board?.
  • 7. Cont..  Reset Button The Arduino has a reset button . Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on the Arduino. This can be very useful if your code doesn’t repeat, but you want to test it multiple times.  TX RX LEDs TX is short for transmit, RX is short for receive. These LEDs will give us some nice visual indications whenever our Arduino is receiving or transmitting data (like when we’re loading a new program onto the board).
  • 8. Cont..  Main IC The black thing with all the metal legs is an IC, or Integrated Circuit . Think of it as the brains of our Arduino. The main IC on the Arduino is slightly different from board type to board type, but is usually from the ATmega line of IC’s from the ATMEL company.  Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF) The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjuction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.
  • 9. Cont.. • GND : Short for ‘Ground’. There are several GND pins on the Arduino, any of which can be used to ground your circuit. • 5V & 3.3V : the 5V pin supplies 5 volts of power, and the 3.3V pin supplies 3.3 volts of power. • Analog : The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO) are Analog In pins. These pins can read the signal from an analog sensor (like a temperature sensor) and convert it into a digital value that we can read. • Digital : Across from the analog pins are the digital pins (0 through 13 on the UNO). These pins can be used for both digital input (like telling if a button is pushed) and digital output (like powering an LED). • PWM : You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital pins, but can also be used for something called Pulse-Width Modulation (PWM). but for now, think of these pins as being able to simulate analog output (like fading an LED in and out). • AREF : Stands for Analog Reference. Most of the time you can leave this pin alone. It is sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.
  • 10. You can download the Arduino IDE (The program used to write code and uploading it to arduino boards) from: http://arduino.cc/en/Main/Software Arduino IDE:
  • 13. Arduino IDE: • Verify: Checks your code for errors. • Upload: Compiles your code and uploads it to the Arduino board. • New: Creates a new sketch. • Open: Presents a menu of all the sketches in your sketchbook. Clicking one will open it within the current window. • Save: Saves your sketch. • Serial Monitor: used to receive serial data from the board and send the serial data to the board.
  • 14. Arduino IDE: From an idea to a final project, we usually follow the following steps:
  • 15. ArduinoLanguage The basic sketch (program) has two required functions: 1- void setup ( ) { statements; } 2- void loop ( ) { statements; }
  • 16.  The setup function is for preparation or initialization and the loop function is for execution.  The setup function runs once when you power the board or press reset button. The loop function runs over and over again forever.  In Arduino: Variables, functions, comments, control/loop statements, arithmetic/comparison/logical operators, and anything related are same as in C/C++.  Arduino language reference is in the link below: http://www.arduino.cc/en/Reference/HomePage