SlideShare a Scribd company logo
Arduino
Introduction to Arduino
Mohamed Hussien
mohamed.hussien3@hotmail.com
Contents
 What is Arduino?
 Why Arduino ?
 Types of Arduino
 Arduino Language
 Arduino IDE
What is Arduino?
 Open Source physical computing platform you can make your own board, or
buy one.
 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.
 Very widespread, many projects openly available.
 Extra HW (shields) available.
Why Arduino ?
 Well documented , a lot of examples and a great community
 Open source Hardware/Software
 Work on different OS
(Linux , Windows and Mac)
 USB connection
 Cheap
Types of Arduino
 Arduino Uno
 Arduino Mega
 Arduino Leonardo
 Arduino micro
 LilyPad Arduino USB
 Arduino Pro Mini
 Arduino Fio
 Arduino Robot
Arduino Uno
Arduino Uno
 Microcontroller ATmega328
 Digital I/O Pins 14 (of which 6 provide PWM output)
 Analog Input Pins 6
 Clock Speed 16 MHz
 USB connection to PC via printer cable
 Power from USB or external power supply
Arduino Mega
Arduino Mega
 Microcontroller ATmega2560
 Digital I/O Pins 54 (of which 15 provide PWM output)
 Analog Input Pins 16
 Clock Speed 16 MHz
 USB connection to PC
 Power from USB or external power supply
 USB Port for connection to android smartphones
Arduino Leonardo
Arduino micro
LilyPad Arduino USB
Arduino Pro Mini
Arduino Fio
Arduino Esplora
Arduino Esplora
Arduino Shields
 Shields are boards that can be plugged on top of the Arduino PCB extending
its capabilities. The different shields follow the same philosophy as the
original toolkit: they are easy to mount, and cheap to produce.
Arduino Shields
 Arduino GSM Shield
Arduino Shields
 Arduino Ethernet Shield
Arduino Shields
 Arduino WiFi Shield
Arduino Shields
 Arduino Motor Shield
How does Arduino work?
 Write a code in your computer
 Upload it to the Arduino board
 Arduino board can the be used standalone
Arduino Language
 C like syntax, but simplified
 Abstracts the pin naming to numbers
 Trades efficience for ease of use
 Easy to learn, yet powerful
 Lots of example code
 Easy to reuse C-code from other projects
 Libraries can be written in C++
 Lots of libraries available
Arduino IDE
1
2
3
4
Arduino IDE
 Examples
Examples
 Blinking led
Examples
 Blinking led
// Example 01 : Blinking LED
const int LED = 13;
void setup ()
{
pinMode(LED, OUTPUT);
}
void loop ()
{
digitalWrite(LED, HIGH);
delay(1000);
digitalWrite(LED, LOW);
delay(1000);
}
Declare variables
Initialize pins i/o
Program body
Examples
 Blinking led
Examples
 Blinking led with switch
Examples
 Blinking led with switch
// Example 02 : Blinking LED With Switch
const int ledPin = 13;
const int buttonPin = 2;
int val;
void setup ( )
{
pinMode(ledPin, OUTPUT);
pinMode(buttonPin, INPUT);
}
Declare variables
Initialize pins i/o
Examples
 Blinking led with switch
// Example 02 : Blinking LED With Switch
void loop()
{
val = digitalRead(buttonPin);
if (val == HIGH)
{
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
else {digitalWrite(ledPin, LOW); } }
Program body
Good Bye 

More Related Content

PPTX
Introduction to Arduino
PPTX
Arduino Microcontroller
PPTX
Basics of arduino uno
PPS
What is Arduino ?
PPT
arduino-ppt
PDF
Introduction to arduino
PPT
Arduino presentation by_warishusain
PPTX
Arduino and c programming
Introduction to Arduino
Arduino Microcontroller
Basics of arduino uno
What is Arduino ?
arduino-ppt
Introduction to arduino
Arduino presentation by_warishusain
Arduino and c programming

What's hot (20)

PPTX
Different Arduino Boards
PPTX
Introduction to Arduino
PPTX
Arduino
PDF
Introducing... Arduino
PPTX
Introduction to Arduino
ODP
Introduction to Arduino
PPTX
Arduino uno
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Aurdino presentation
PPS
Arduino Uno Pin Description
PPTX
What are the different types of arduino boards
PPTX
Introduction to Arduino and Hands on to Iot
PPT
arduino-1
PPTX
Introduction to Arduino
PDF
Arduino Development For Beginners
PDF
Arduino Introduction Presentation
PDF
Arduino presentation
PPTX
Introduction to arduino
PDF
Introducing the Arduino
PPTX
Arduino
Different Arduino Boards
Introduction to Arduino
Arduino
Introducing... Arduino
Introduction to Arduino
Introduction to Arduino
Arduino uno
Introduction to Arduino Hardware and Programming
Aurdino presentation
Arduino Uno Pin Description
What are the different types of arduino boards
Introduction to Arduino and Hands on to Iot
arduino-1
Introduction to Arduino
Arduino Development For Beginners
Arduino Introduction Presentation
Arduino presentation
Introduction to arduino
Introducing the Arduino
Arduino
Ad

Viewers also liked (13)

PPTX
Хэвлэлийн эрх чөлөө Монголд 2012-2013
PPTX
7 foi law citizens' reguest
PPTX
Сэтгүүлчдийн аюулгүй байдлыг хангах, тэдний эсрэг гэмт хэрэг ял шийтгэлгүй өн...
DOCX
Uganda: Food processing and agribusiness investment opportunities
PPTX
"Мэдээллийн ил тод байдал ба мэдээлэл авах эрхийн тухай хууль" Х.Наранжаргал
PPTX
Carmona Estates (House and Lot)
PPTX
JMP for Ethanol Producers
PPTX
“МЭДЭЭЛЛИЙН ИЛ ТОД БАЙДАЛ БА МЭДЭЭЛЭЛ АВАХ ЭРХИЙН ТУХАЙ” хууль. Хүний нөөцийн...
PPTX
Wildlifeinindia
PPTX
"Мэдээллийн ил тод байдал ба мэдээлэл авах эрхийн тухай” хууль
PPTX
gsm based control of electrical appliances
PPTX
үзэл бодлоо илэрхийлэх эрх чөлөө ба нэр хүнд гутаах гэмт хэрэг
PPTX
Introduction to the Arduino
Хэвлэлийн эрх чөлөө Монголд 2012-2013
7 foi law citizens' reguest
Сэтгүүлчдийн аюулгүй байдлыг хангах, тэдний эсрэг гэмт хэрэг ял шийтгэлгүй өн...
Uganda: Food processing and agribusiness investment opportunities
"Мэдээллийн ил тод байдал ба мэдээлэл авах эрхийн тухай хууль" Х.Наранжаргал
Carmona Estates (House and Lot)
JMP for Ethanol Producers
“МЭДЭЭЛЛИЙН ИЛ ТОД БАЙДАЛ БА МЭДЭЭЛЭЛ АВАХ ЭРХИЙН ТУХАЙ” хууль. Хүний нөөцийн...
Wildlifeinindia
"Мэдээллийн ил тод байдал ба мэдээлэл авах эрхийн тухай” хууль
gsm based control of electrical appliances
үзэл бодлоо илэрхийлэх эрх чөлөө ба нэр хүнд гутаах гэмт хэрэг
Introduction to the Arduino
Ad

Similar to Introduction to arduino (20)

PPTX
Microcontroller arduino uno board
PDF
Report on arduino
PPT
Arduino
PPTX
PDF
Download full ebook of Arduino In Easy Steps Stuart Yarnold instant download pdf
PPTX
Arduino Programming Software Development
DOCX
Interoperability in Internet of Things (IOT)
PPTX
1.Arduino Ecosystem.pptx
PPTX
INTRODUCTION_TO_ARDUINO uno, applications
PPTX
Introduction-to-Arduino-PowerPoint-Presentation-on-Arduino.pptx
PPT
PPTX
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
PPTX
Taller IoT en la Actualidad
PPTX
An Introduction To Arduino.pptx
PDF
Introduction of Arduino Uno
PDF
Arduino - Learning.pdf
PPT
ARDUINO_presentation
PPT
ARDUINO_presentation_by_Ravishankar_Pati.ppt
PPT
ARDUINO presentation by Bamidele Samuel.ppt
PPTX
Introduction to Arduino (Parts of Arduino Microcontroller) .pptx
Microcontroller arduino uno board
Report on arduino
Arduino
Download full ebook of Arduino In Easy Steps Stuart Yarnold instant download pdf
Arduino Programming Software Development
Interoperability in Internet of Things (IOT)
1.Arduino Ecosystem.pptx
INTRODUCTION_TO_ARDUINO uno, applications
Introduction-to-Arduino-PowerPoint-Presentation-on-Arduino.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
Taller IoT en la Actualidad
An Introduction To Arduino.pptx
Introduction of Arduino Uno
Arduino - Learning.pdf
ARDUINO_presentation
ARDUINO_presentation_by_Ravishankar_Pati.ppt
ARDUINO presentation by Bamidele Samuel.ppt
Introduction to Arduino (Parts of Arduino Microcontroller) .pptx

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
A Presentation on Artificial Intelligence
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
MYSQL Presentation for SQL database connectivity
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
NewMind AI Weekly Chronicles - August'25-Week II
A Presentation on Artificial Intelligence
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
Accuracy of neural networks in brain wave diagnosis of schizophrenia
MYSQL Presentation for SQL database connectivity
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Introduction to arduino