SlideShare a Scribd company logo
ARDUINO
BY
SALIH MAHMOD
What is arduino
 Arduino is an open-source prototyping platform based on
easy-to-use hardware and software. Arduino boards are
able to read inputs - light on a sensor, a finger on a
button, or a Twitter message - and turn it into an output -
activating a motor, turning on an LED, publishing
something online. You can tell your board what to do by
sending a set of instructions to the microcontroller on the
board. To do so you use the arduino programming
language (based on wiring), and the arduino software
(IDE), based on processing .
Arduino development process
 Level1 based on 8 bit mcu like arduino uno ,mega ,nano , micro, lilypad
and demulive
Arduino development process
 Level2 based on 32 bit mcu like arduino due , zero and teensyduino
Arduino development process
 Level3 FPGA boards with mcu and programmed by arduino software
platform like papilio pro , one and duo .
Arduino architecture
 We will talk here about more common board arduino uno
Digital and Analog
Arduino programming platform (IDE)
 we program arduino using an programming languge named
“Arduino c” also we can program it using matlab , labview
,python ,c# ,flowcode and embedded c
 To start with arduio
1- download the arduino software (IDE)
2- connect the board
3- install the drivers
4- launch the arduino application
5- write code or open an example
6- select your board
7- select your serial port
8- upload the program
Arduino IDE
 Here we will go to arduino IDE to see it
Arduino c program body
-‫المتغيرات‬ ‫عن‬ ‫االعالن‬ ‫يتم‬
‫وانواعها‬ ‫وقيمها‬
-‫ت‬ ‫التي‬ ‫الدوال‬ ‫كتابة‬ ‫يتم‬‫نفذ‬
‫التشغيل‬ ‫عند‬ ‫واحدة‬ ‫مرة‬
-‫يع‬ ‫التي‬ ‫الدوال‬ ‫كتابة‬ ‫يتم‬‫اد‬
‫حيث‬ ‫دورة‬ ‫كل‬ ‫تنفيذها‬
‫بهذا‬ ‫يكتب‬ ‫الذي‬ ‫البرنامج‬
‫بصور‬ ‫يتكرر‬ ‫يبقى‬ ‫الجزء‬‫ة‬
‫النهائية‬ ‫حلقة‬
Data type
Digital I/O
 pinMode(pin, mode);
pin:- the number of the pin whose mode you wish to set
mode:- INPUT or OUTPUT
 digitalWrite(pin, value);
pin:- the pin number
value:- HIGH or LOW
 digitalRead(pin);
pin:- the number of the digital pin you want to read (int)
returns:- HIGH or LOW
Pullup and pulldown resistors
 If a pull-down resistor is used, the input pin will be LOW when the switch is
open and HIGH when the switch is closed.
 If a pull-up resistor is used, the input pin will be HIGH when the switch is
open and LOW when the switch is closed.
-To active pullup resistor in
arduino use this function
pinMode(2,INPUT_PULLUP)
;
this active pullup for pin 2
therefore
we will connect switch
between GND and pin2
Analog I/O
 analogRead(pin);
pin:- the number of the analog input pin to read from (0 to
5 on most boards)
returns:- int (0 to 1023)
 analogWrite(pin, value);
pin:- the pin to write to.
value:- the duty cycle: between 0 (always off) and 255
(always on).
Here we haven't DAC to generate an analog output but we
use PWM
PWM(Pulse Width Modulation)
- PWM, is a technique for getting
analog results with digital means.
Digital control is used to create a
square wave, a signal switched
between on and off. This on-off
pattern can simulate voltages in
between full on (5 Volts) and off (0
Volts) by changing the portion of
the time the signal spends on
versus the time that the signal
spends off.
Time functions
 millis() ;
Returns the number of milliseconds since the Arduino board began
running the current program. This number will overflow (go back to
zero), after approximately 50 days
 micros() ;
returns the number of microseconds since the Arduino board
began running the current program. This number will overflow (go
back to zero), after approximately 70 minutes.
 delay(ms) ;
ms: the number of milliseconds to pause (unsigned long)
Blink code example
Hardware Required
- Arduino Board
- LED
- resistor less than
1kohm
Blink code example
 void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Analog example I/O
Arduino shields
Arduino libraries
 Libraries are a collection of
code that makes it easy for
you to connect to a sensor,
display, module, etc. For
example, the built-
in LiquidCrystal library
makes it easy to talk to
character LCD displays.
There are hundreds of
additional libraries available
on the Internet for download.
Liquid crystal code example
Sensors and actuators
Sensors and actuators
Arduino اردوينو

More Related Content

What's hot (20)

Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Omer Kilic
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
Michael Senkow
 
برمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأولبرمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأول
Ahmed Sakr
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
Présentation Arduino par Christian, F5HOD
Présentation Arduino par Christian, F5HODPrésentation Arduino par Christian, F5HOD
Présentation Arduino par Christian, F5HOD
webmasterref68
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Yong Heui Cho
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
Betsy Eng
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
avikdhupar
 
Arduino uno
Arduino unoArduino uno
Arduino uno
creatjet3d labs
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
Rahat Sood
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Gaurav Pandey
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
Niket Chandrawanshi
 
Arduino
ArduinoArduino
Arduino
Paras Bhanot
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
SOAEnsAD
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDs
Varad Manglekar
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
Niket Chandrawanshi
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
Shyam Mohan
 
Formation arduino 2018
Formation arduino 2018Formation arduino 2018
Formation arduino 2018
Hichem Hamdi
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Omer Kilic
 
برمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأولبرمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأول
Ahmed Sakr
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
Présentation Arduino par Christian, F5HOD
Présentation Arduino par Christian, F5HODPrésentation Arduino par Christian, F5HOD
Présentation Arduino par Christian, F5HOD
webmasterref68
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Yong Heui Cho
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
Betsy Eng
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
avikdhupar
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
Rahat Sood
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Gaurav Pandey
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
SOAEnsAD
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDs
Varad Manglekar
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
Shyam Mohan
 
Formation arduino 2018
Formation arduino 2018Formation arduino 2018
Formation arduino 2018
Hichem Hamdi
 

Viewers also liked (20)

Fablogiapresent
FablogiapresentFablogiapresent
Fablogiapresent
yahya tawil
 
Waht is Arduino
Waht is ArduinoWaht is Arduino
Waht is Arduino
Wail Skanderi
 
Senior Project Presentation
Senior Project PresentationSenior Project Presentation
Senior Project Presentation
Tim Heath
 
الدارة الكهربائية البسيطة
الدارة الكهربائية البسيطةالدارة الكهربائية البسيطة
الدارة الكهربائية البسيطة
Ministère de l'éducation
 
ميكروكنترولر بشرح م احمد سميرفايد
ميكروكنترولر بشرح م احمد سميرفايدميكروكنترولر بشرح م احمد سميرفايد
ميكروكنترولر بشرح م احمد سميرفايد
Mahmoud Wanis
 
Oh intro
Oh introOh intro
Oh intro
yahya tawil
 
Hardware startup v3
Hardware startup v3Hardware startup v3
Hardware startup v3
yahya tawil
 
برمجة الأردوينو لليافعين
برمجة الأردوينو لليافعينبرمجة الأردوينو لليافعين
برمجة الأردوينو لليافعين
Wikilogia
 
Hardware startup
Hardware startup Hardware startup
Hardware startup
yahya tawil
 
برمجة الأردوينو - اليوم الثالث.
برمجة الأردوينو - اليوم الثالث. برمجة الأردوينو - اليوم الثالث.
برمجة الأردوينو - اليوم الثالث.
Ahmed Sakr
 
برمجة الأردوينو - اليوم الثاني
برمجة الأردوينو - اليوم الثانيبرمجة الأردوينو - اليوم الثاني
برمجة الأردوينو - اليوم الثاني
Ahmed Sakr
 
التعامل مع بيئة برمجة أردوينو
التعامل مع بيئة برمجة أردوينوالتعامل مع بيئة برمجة أردوينو
التعامل مع بيئة برمجة أردوينو
Wikilogia
 
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعينأساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
Wikilogia
 
درس أنواع أجهزة الحاسب الآلي أول متوسط
درس أنواع أجهزة الحاسب الآلي أول متوسطدرس أنواع أجهزة الحاسب الآلي أول متوسط
درس أنواع أجهزة الحاسب الآلي أول متوسط
MAJEED3691
 
أنواع أجهزة الحاسب
أنواع أجهزة الحاسبأنواع أجهزة الحاسب
أنواع أجهزة الحاسب
tahanisaad
 
Business Model Canvas (Arabic) - نموذج العمل التجاري
Business Model Canvas (Arabic) - نموذج العمل التجاريBusiness Model Canvas (Arabic) - نموذج العمل التجاري
Business Model Canvas (Arabic) - نموذج العمل التجاري
Emad Saif
 
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Emad Saif
 
Business Model Canvas Poster - English
Business Model Canvas Poster - EnglishBusiness Model Canvas Poster - English
Business Model Canvas Poster - English
Emad Saif
 
Senior Project Presentation
Senior Project PresentationSenior Project Presentation
Senior Project Presentation
Tim Heath
 
الدارة الكهربائية البسيطة
الدارة الكهربائية البسيطةالدارة الكهربائية البسيطة
الدارة الكهربائية البسيطة
Ministère de l'éducation
 
ميكروكنترولر بشرح م احمد سميرفايد
ميكروكنترولر بشرح م احمد سميرفايدميكروكنترولر بشرح م احمد سميرفايد
ميكروكنترولر بشرح م احمد سميرفايد
Mahmoud Wanis
 
Hardware startup v3
Hardware startup v3Hardware startup v3
Hardware startup v3
yahya tawil
 
برمجة الأردوينو لليافعين
برمجة الأردوينو لليافعينبرمجة الأردوينو لليافعين
برمجة الأردوينو لليافعين
Wikilogia
 
Hardware startup
Hardware startup Hardware startup
Hardware startup
yahya tawil
 
برمجة الأردوينو - اليوم الثالث.
برمجة الأردوينو - اليوم الثالث. برمجة الأردوينو - اليوم الثالث.
برمجة الأردوينو - اليوم الثالث.
Ahmed Sakr
 
برمجة الأردوينو - اليوم الثاني
برمجة الأردوينو - اليوم الثانيبرمجة الأردوينو - اليوم الثاني
برمجة الأردوينو - اليوم الثاني
Ahmed Sakr
 
التعامل مع بيئة برمجة أردوينو
التعامل مع بيئة برمجة أردوينوالتعامل مع بيئة برمجة أردوينو
التعامل مع بيئة برمجة أردوينو
Wikilogia
 
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعينأساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
أساسيات الحساسات والإشارة التماثلية في الأردوينو لليافعين
Wikilogia
 
درس أنواع أجهزة الحاسب الآلي أول متوسط
درس أنواع أجهزة الحاسب الآلي أول متوسطدرس أنواع أجهزة الحاسب الآلي أول متوسط
درس أنواع أجهزة الحاسب الآلي أول متوسط
MAJEED3691
 
أنواع أجهزة الحاسب
أنواع أجهزة الحاسبأنواع أجهزة الحاسب
أنواع أجهزة الحاسب
tahanisaad
 
Business Model Canvas (Arabic) - نموذج العمل التجاري
Business Model Canvas (Arabic) - نموذج العمل التجاريBusiness Model Canvas (Arabic) - نموذج العمل التجاري
Business Model Canvas (Arabic) - نموذج العمل التجاري
Emad Saif
 
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Value Proposition Design (Arabic ) - تصميم القيمة المقدمة
Emad Saif
 
Business Model Canvas Poster - English
Business Model Canvas Poster - EnglishBusiness Model Canvas Poster - English
Business Model Canvas Poster - English
Emad Saif
 
Ad

Similar to Arduino اردوينو (20)

Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
C.Vamsi Krishna
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
Mohamed Essam
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
Mujahid Hussain
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
baabtra.com - No. 1 supplier of quality freshers
 
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
arduino introduction by Engr. Kennedy V. Rodriguez.pptxarduino introduction by Engr. Kennedy V. Rodriguez.pptx
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
KennedyRodriguez5
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
DO!MAKERS
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
ΚΔΑΠ Δήμου Θέρμης
 
Starting with Arduino
Starting with Arduino Starting with Arduino
Starting with Arduino
MajdyShamasneh
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
SAURABHKUMAR892774
 
Introduction To Arduino-converted for s.pptx
Introduction To Arduino-converted for s.pptxIntroduction To Arduino-converted for s.pptx
Introduction To Arduino-converted for s.pptx
rtnmsn
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
LITS IT Ltd,LASRC.SPACE,SAWDAGOR BD,FREELANCE BD,iREV,BD LAW ACADEMY,SMART AVI,HEA,HFSAC LTD.
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptxarduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
ARUDINO UNO and RasberryPi with Python
 ARUDINO UNO and RasberryPi with Python ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
HebaEng
 
Arduino board program for Mobile robotss
Arduino board program for Mobile robotssArduino board program for Mobile robotss
Arduino board program for Mobile robotss
VSARAVANAKUMARHICETS
 
01 Intro to the Arduino and it's basics.ppt
01 Intro to the Arduino and it's basics.ppt01 Intro to the Arduino and it's basics.ppt
01 Intro to the Arduino and it's basics.ppt
pindi2197
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
Mohamed Essam
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
Mujahid Hussain
 
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
arduino introduction by Engr. Kennedy V. Rodriguez.pptxarduino introduction by Engr. Kennedy V. Rodriguez.pptx
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
KennedyRodriguez5
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
DO!MAKERS
 
Starting with Arduino
Starting with Arduino Starting with Arduino
Starting with Arduino
MajdyShamasneh
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
SAURABHKUMAR892774
 
Introduction To Arduino-converted for s.pptx
Introduction To Arduino-converted for s.pptxIntroduction To Arduino-converted for s.pptx
Introduction To Arduino-converted for s.pptx
rtnmsn
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
arduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptxarduino and its introduction deep dive ppt.pptx
arduino and its introduction deep dive ppt.pptx
SruSru1
 
ARUDINO UNO and RasberryPi with Python
 ARUDINO UNO and RasberryPi with Python ARUDINO UNO and RasberryPi with Python
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
HebaEng
 
Arduino board program for Mobile robotss
Arduino board program for Mobile robotssArduino board program for Mobile robotss
Arduino board program for Mobile robotss
VSARAVANAKUMARHICETS
 
01 Intro to the Arduino and it's basics.ppt
01 Intro to the Arduino and it's basics.ppt01 Intro to the Arduino and it's basics.ppt
01 Intro to the Arduino and it's basics.ppt
pindi2197
 
Ad

More from salih mahmod (6)

ابتكار من اجل التنمية 2016
ابتكار من اجل التنمية 2016ابتكار من اجل التنمية 2016
ابتكار من اجل التنمية 2016
salih mahmod
 
innovation for development ابتكار من اجل التنمية
innovation for development  ابتكار من اجل التنمية innovation for development  ابتكار من اجل التنمية
innovation for development ابتكار من اجل التنمية
salih mahmod
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
salih mahmod
 
Hackerspace & mosulspace
Hackerspace & mosulspace Hackerspace & mosulspace
Hackerspace & mosulspace
salih mahmod
 
Enterpreneutship - ريادة الاعمال
Enterpreneutship - ريادة الاعمالEnterpreneutship - ريادة الاعمال
Enterpreneutship - ريادة الاعمال
salih mahmod
 
Design thinking - التفكير التصميمي
Design thinking - التفكير التصميمي Design thinking - التفكير التصميمي
Design thinking - التفكير التصميمي
salih mahmod
 
ابتكار من اجل التنمية 2016
ابتكار من اجل التنمية 2016ابتكار من اجل التنمية 2016
ابتكار من اجل التنمية 2016
salih mahmod
 
innovation for development ابتكار من اجل التنمية
innovation for development  ابتكار من اجل التنمية innovation for development  ابتكار من اجل التنمية
innovation for development ابتكار من اجل التنمية
salih mahmod
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
salih mahmod
 
Hackerspace & mosulspace
Hackerspace & mosulspace Hackerspace & mosulspace
Hackerspace & mosulspace
salih mahmod
 
Enterpreneutship - ريادة الاعمال
Enterpreneutship - ريادة الاعمالEnterpreneutship - ريادة الاعمال
Enterpreneutship - ريادة الاعمال
salih mahmod
 
Design thinking - التفكير التصميمي
Design thinking - التفكير التصميمي Design thinking - التفكير التصميمي
Design thinking - التفكير التصميمي
salih mahmod
 

Recently uploaded (20)

Software_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdfSoftware_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
VanshMunjal7
 
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
ManiMaran230751
 
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdfISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
Introduction of Structural Audit and Health Montoring.pptx
Introduction of Structural Audit and Health Montoring.pptxIntroduction of Structural Audit and Health Montoring.pptx
Introduction of Structural Audit and Health Montoring.pptx
gunjalsachin
 
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
sebastianku31
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdfISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
ISO 4020-6.1- Filter Cleanliness Test Rig Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ISO 5011 Air Filter Catalogues .pdf
ISO 5011 Air Filter Catalogues      .pdfISO 5011 Air Filter Catalogues      .pdf
ISO 5011 Air Filter Catalogues .pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdfISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos10
 
Air Filter Flat Sheet Media-Catalouge-Final.pdf
Air Filter Flat Sheet Media-Catalouge-Final.pdfAir Filter Flat Sheet Media-Catalouge-Final.pdf
Air Filter Flat Sheet Media-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ENERGY STORING DEVICES-Primary Battery.pdf
ENERGY STORING DEVICES-Primary Battery.pdfENERGY STORING DEVICES-Primary Battery.pdf
ENERGY STORING DEVICES-Primary Battery.pdf
TAMILISAI R
 
Software Developer Portfolio: Backend Architecture & Performance Optimization
Software Developer Portfolio: Backend Architecture & Performance OptimizationSoftware Developer Portfolio: Backend Architecture & Performance Optimization
Software Developer Portfolio: Backend Architecture & Performance Optimization
kiwoong (daniel) kim
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
 
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.pptfy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
sukarnoamin
 
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdfSoftware_Engineering_in_6_Hours_lyst1728638742594.pdf
Software_Engineering_in_6_Hours_lyst1728638742594.pdf
VanshMunjal7
 
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
ManiMaran230751
 
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
Introduction of Structural Audit and Health Montoring.pptx
Introduction of Structural Audit and Health Montoring.pptxIntroduction of Structural Audit and Health Montoring.pptx
Introduction of Structural Audit and Health Montoring.pptx
gunjalsachin
 
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
sebastianku31
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos10
 
ENERGY STORING DEVICES-Primary Battery.pdf
ENERGY STORING DEVICES-Primary Battery.pdfENERGY STORING DEVICES-Primary Battery.pdf
ENERGY STORING DEVICES-Primary Battery.pdf
TAMILISAI R
 
Software Developer Portfolio: Backend Architecture & Performance Optimization
Software Developer Portfolio: Backend Architecture & Performance OptimizationSoftware Developer Portfolio: Backend Architecture & Performance Optimization
Software Developer Portfolio: Backend Architecture & Performance Optimization
kiwoong (daniel) kim
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
 
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.pptfy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
sukarnoamin
 

Arduino اردوينو

  • 2. What is arduino  Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the arduino programming language (based on wiring), and the arduino software (IDE), based on processing .
  • 3. Arduino development process  Level1 based on 8 bit mcu like arduino uno ,mega ,nano , micro, lilypad and demulive
  • 4. Arduino development process  Level2 based on 32 bit mcu like arduino due , zero and teensyduino
  • 5. Arduino development process  Level3 FPGA boards with mcu and programmed by arduino software platform like papilio pro , one and duo .
  • 6. Arduino architecture  We will talk here about more common board arduino uno
  • 8. Arduino programming platform (IDE)  we program arduino using an programming languge named “Arduino c” also we can program it using matlab , labview ,python ,c# ,flowcode and embedded c  To start with arduio 1- download the arduino software (IDE) 2- connect the board 3- install the drivers 4- launch the arduino application 5- write code or open an example 6- select your board 7- select your serial port 8- upload the program
  • 9. Arduino IDE  Here we will go to arduino IDE to see it
  • 10. Arduino c program body -‫المتغيرات‬ ‫عن‬ ‫االعالن‬ ‫يتم‬ ‫وانواعها‬ ‫وقيمها‬ -‫ت‬ ‫التي‬ ‫الدوال‬ ‫كتابة‬ ‫يتم‬‫نفذ‬ ‫التشغيل‬ ‫عند‬ ‫واحدة‬ ‫مرة‬ -‫يع‬ ‫التي‬ ‫الدوال‬ ‫كتابة‬ ‫يتم‬‫اد‬ ‫حيث‬ ‫دورة‬ ‫كل‬ ‫تنفيذها‬ ‫بهذا‬ ‫يكتب‬ ‫الذي‬ ‫البرنامج‬ ‫بصور‬ ‫يتكرر‬ ‫يبقى‬ ‫الجزء‬‫ة‬ ‫النهائية‬ ‫حلقة‬
  • 12. Digital I/O  pinMode(pin, mode); pin:- the number of the pin whose mode you wish to set mode:- INPUT or OUTPUT  digitalWrite(pin, value); pin:- the pin number value:- HIGH or LOW  digitalRead(pin); pin:- the number of the digital pin you want to read (int) returns:- HIGH or LOW
  • 13. Pullup and pulldown resistors  If a pull-down resistor is used, the input pin will be LOW when the switch is open and HIGH when the switch is closed.  If a pull-up resistor is used, the input pin will be HIGH when the switch is open and LOW when the switch is closed. -To active pullup resistor in arduino use this function pinMode(2,INPUT_PULLUP) ; this active pullup for pin 2 therefore we will connect switch between GND and pin2
  • 14. Analog I/O  analogRead(pin); pin:- the number of the analog input pin to read from (0 to 5 on most boards) returns:- int (0 to 1023)  analogWrite(pin, value); pin:- the pin to write to. value:- the duty cycle: between 0 (always off) and 255 (always on). Here we haven't DAC to generate an analog output but we use PWM
  • 15. PWM(Pulse Width Modulation) - PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off.
  • 16. Time functions  millis() ; Returns the number of milliseconds since the Arduino board began running the current program. This number will overflow (go back to zero), after approximately 50 days  micros() ; returns the number of microseconds since the Arduino board began running the current program. This number will overflow (go back to zero), after approximately 70 minutes.  delay(ms) ; ms: the number of milliseconds to pause (unsigned long)
  • 17. Blink code example Hardware Required - Arduino Board - LED - resistor less than 1kohm
  • 18. Blink code example  void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }
  • 21. Arduino libraries  Libraries are a collection of code that makes it easy for you to connect to a sensor, display, module, etc. For example, the built- in LiquidCrystal library makes it easy to talk to character LCD displays. There are hundreds of additional libraries available on the Internet for download.