SlideShare a Scribd company logo
ORGANIZED BY:
DIGITRONIX, WRC
www.digitronixnepal.blogspot.co
m
INTRODUCTION TO ARDUINO
- Open Source Hardware and Software Platform
-Self Contained Computer in an IC
INTEL 286
Arduino Diecimila
INTRODUCTION TO ARDUINO
- Based on AVR microcontrollers that are widely
popular for their RISC architecture, hight flash
memory, inbuilt different features
- Arduino Uses C programming(E A S Y)……
WHY ARDUINO?
- Inbuilt ADC, Serial Interface, PWM, IO pins
-Programming so easy……(Can be used available
libraries)
-Open Source platform
HARDWARE
I/O PORTS ========== 14
PWM ========== 6
Analog ========== 6
8 bit =======256
10 bit ======= 1023
ADC
DIFFERENT B0ARDS
DUE
ELEVEN
UNO
DIFFERENT B0ARDS
DUE
LILYPAD MEGANANO
SOFTWARE REQUIREMENTS
Arduino IDE
Serial Port Driver
ARDUINO PROGRAMMING BASICS
Void setup()
{
//your initialization code
}
GLOBAL Variables
1.
2.
Void loop()
{
//your repeating code
}
3.
int ledInput=13; //pin 13 is ledIput
EXAMPLE:
Example
void setup()
{
Serial,begin(9600); //serial port baudrate=9600bps
pinMode(ledInput, output); // configure pin 13 as output port
}
void loop()
{
digitalWrite(ledinput, high); //led=on
delay(500);
digitalWrite(ledinput, low); //led=off
delay(500);
}
Functions used in
setup()1. pinMode(13, OUTPUT); makes pin 13 as output pin
2. pinMode(8, INPUT); makes pin 8 as input pin
3. Serial.begin(9600) ; starts serial communication
with Baudrate 9600
Functions used in loop()
1. digitalWrite(13, HIGH): makes pin 13 high ie pin13=ON;
2. delay(500) : delays system by 500 ms.
3. analogRead() : Reads analog value
4. analogWrite() : writes anlog value(PWM)
5. Serial.print() : Prints at serial monitor
6. Serial.println() : prints at serial monitor with line break
EXERCISE:
Write the code and implement:
1. One led blinking at each 1s.
2. A led with ON time=600ms and OFF time=900ms
3. You are given 6 leds. Now light these leds in different patterns
int ledPin = 13; // choose the pin for the LED
int inPin = 2; // choose the input pin (for a pushbutton)
int val = 0; // variable for reading the pin status
void setup()
{
pinMode(ledPin, OUTPUT); // declare LED as output
pinMode(inPin, INPUT); // declare pushbutton as input
}
void loop()
{
val = digitalRead(inPin); // read input value
if (val == HIGH)
{
// check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
}
else {
digitalWrite(ledPin, HIGH); // turn LED ON
}
}
--What is debounce ?
--Bistable Switch
REVIEW:
ARDUINO INTRODUCTION
ARDUINO PROGRAMMING
LED BLINKING
BUTTON INTERFACING
Arduino Day 1 Presentation

More Related Content

What's hot (20)

PPTX
Introduction to Arduino
yeokm1
 
PDF
Lab2ppt
Zhentao Xu
 
PDF
IOTC08 The Arduino Platform
Eoin Brazil
 
PPT
Arduino Platform with C programming.
Govind Jha
 
PPTX
Ardui no
Amol Sakhalkar
 
PPTX
Arduino Microcontroller
Shyam Mohan
 
PPTX
Arduino slides
sdcharle
 
PPTX
Arduino Workshop
atuline
 
PPTX
Introduction to the Arduino
Wingston
 
PPTX
Introduction to Arduino Microcontroller
Mujahid Hussain
 
PDF
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Eoin Brazil
 
PDF
Arduino Development For Beginners
FTS seminar
 
PDF
Presentation S4A
Pedro González Romero
 
KEY
Intro to Arduino
Qtechknow
 
PPTX
Arduino as an embedded industrial controller
Jose Luis Poza Luján
 
PDF
2015-10-21 - Arduino workshop
trygvis
 
ODP
Intro to Hardware Programming with the Arduino Uno
Vui Nguyen
 
PPTX
Arduino and c programming
Punit Goswami
 
PDF
Arduino spooky projects_class1
Felipe Belarmino
 
Introduction to Arduino
yeokm1
 
Lab2ppt
Zhentao Xu
 
IOTC08 The Arduino Platform
Eoin Brazil
 
Arduino Platform with C programming.
Govind Jha
 
Ardui no
Amol Sakhalkar
 
Arduino Microcontroller
Shyam Mohan
 
Arduino slides
sdcharle
 
Arduino Workshop
atuline
 
Introduction to the Arduino
Wingston
 
Introduction to Arduino Microcontroller
Mujahid Hussain
 
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Eoin Brazil
 
Arduino Development For Beginners
FTS seminar
 
Presentation S4A
Pedro González Romero
 
Intro to Arduino
Qtechknow
 
Arduino as an embedded industrial controller
Jose Luis Poza Luján
 
2015-10-21 - Arduino workshop
trygvis
 
Intro to Hardware Programming with the Arduino Uno
Vui Nguyen
 
Arduino and c programming
Punit Goswami
 
Arduino spooky projects_class1
Felipe Belarmino
 

Viewers also liked (20)

PPTX
Arduino Introduction (Blinking LED) Presentation (workshop #5)
UNCG University Libraries
 
PPT
Speed up your Tests - Devi Sridharan, ThoughtWorks
Thoughtworks
 
PDF
Adverteren op Facebook: Geavanceerde campagne-optimalisatie en analyse
Komfo
 
PPTX
Market Research Efx
Stan Robinson, Jr.
 
DOCX
Guía pensandolo bien
Luis Miguel Galiano Velasquez
 
PPT
Presentation for CF at SCHOOL Webinar hosted by CFQ
Channon Goodwin
 
PDF
Klikkrant GO! - 20100309
VROBA
 
PDF
Ipsec SitetoSite secure vpn between mikrotik and astaro utm - in persian
Farid Nasiri
 
PPTX
7/27/16 Deep Learning Top 5
NVIDIA
 
PDF
Xây dựng giao diện website dựa trên mã nguồn joomla(tiếp theo)
thach28
 
PPTX
How to deal with cs work
maosongppt
 
DOCX
OEE Canyon Guide Training Checklist (1)
Colter Christensen
 
PPTX
Apresentação da COESCOLA - Aprendizagem Livre e Colaborativa
Marcio Okabe
 
PPTX
Forrester & Perficient on SharePoint as a Social Business Platform
Perficient, Inc.
 
PPT
Demand Gen Case Study on Social Media
ADG Online Solutions Pvt Ltd.
 
PDF
GeospatialDataAnalysis
Taylor Graham
 
PPTX
2. Cnnecst-Why the use of FPGA?
CNNECST - Convolutional Neural Networks
 
PPT
Head hunter 23.09.2010
Сообщество RegionBrand
 
DOC
Market research case indian paints limited
Prafulla Tekriwal
 
PPSX
How to deal with deadlines
Mark William
 
Arduino Introduction (Blinking LED) Presentation (workshop #5)
UNCG University Libraries
 
Speed up your Tests - Devi Sridharan, ThoughtWorks
Thoughtworks
 
Adverteren op Facebook: Geavanceerde campagne-optimalisatie en analyse
Komfo
 
Market Research Efx
Stan Robinson, Jr.
 
Guía pensandolo bien
Luis Miguel Galiano Velasquez
 
Presentation for CF at SCHOOL Webinar hosted by CFQ
Channon Goodwin
 
Klikkrant GO! - 20100309
VROBA
 
Ipsec SitetoSite secure vpn between mikrotik and astaro utm - in persian
Farid Nasiri
 
7/27/16 Deep Learning Top 5
NVIDIA
 
Xây dựng giao diện website dựa trên mã nguồn joomla(tiếp theo)
thach28
 
How to deal with cs work
maosongppt
 
OEE Canyon Guide Training Checklist (1)
Colter Christensen
 
Apresentação da COESCOLA - Aprendizagem Livre e Colaborativa
Marcio Okabe
 
Forrester & Perficient on SharePoint as a Social Business Platform
Perficient, Inc.
 
Demand Gen Case Study on Social Media
ADG Online Solutions Pvt Ltd.
 
GeospatialDataAnalysis
Taylor Graham
 
2. Cnnecst-Why the use of FPGA?
CNNECST - Convolutional Neural Networks
 
Head hunter 23.09.2010
Сообщество RegionBrand
 
Market research case indian paints limited
Prafulla Tekriwal
 
How to deal with deadlines
Mark William
 
Ad

Similar to Arduino Day 1 Presentation (20)

PPTX
How to use an Arduino
AntonAndreev13
 
PPTX
Arduino . .
dryazhinians
 
PPT
01 Intro to the Arduino and it's basics.ppt
pindi2197
 
PPTX
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
vasankarponnapalli2
 
PPTX
01_DIGITAL IO.pptx
ssuser593a2d
 
PPTX
Arduino intro.pptx
SanthanaMari11
 
PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
PPTX
Arduino programming
MdAshrafulAlam47
 
PPTX
Introduction to Arduino
Amarjeetsingh Thakur
 
PPTX
Introduction to Arduino
Amarjeetsingh Thakur
 
PPTX
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
Jo Mebs
 
PPTX
Arduino workshop
mayur1432
 
DOCX
Arduino and Circuits.docx
Ajay578679
 
PPSX
Arduino اردوينو
salih mahmod
 
PPTX
Arduino cic3
Jeni Shah
 
PDF
Arduino-workshop.computer engineering.pdf
AbhishekGiri933736
 
PDF
Syed IoT - module 5
Syed Mustafa
 
PDF
Embedded system course projects - Arduino Course
Elaf A.Saeed
 
PPTX
Arduino Foundations
John Breslin
 
How to use an Arduino
AntonAndreev13
 
Arduino . .
dryazhinians
 
01 Intro to the Arduino and it's basics.ppt
pindi2197
 
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
vasankarponnapalli2
 
01_DIGITAL IO.pptx
ssuser593a2d
 
Arduino intro.pptx
SanthanaMari11
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
Arduino programming
MdAshrafulAlam47
 
Introduction to Arduino
Amarjeetsingh Thakur
 
Introduction to Arduino
Amarjeetsingh Thakur
 
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
Jo Mebs
 
Arduino workshop
mayur1432
 
Arduino and Circuits.docx
Ajay578679
 
Arduino اردوينو
salih mahmod
 
Arduino cic3
Jeni Shah
 
Arduino-workshop.computer engineering.pdf
AbhishekGiri933736
 
Syed IoT - module 5
Syed Mustafa
 
Embedded system course projects - Arduino Course
Elaf A.Saeed
 
Arduino Foundations
John Breslin
 
Ad

More from Yogendra Tamang (19)

PPTX
.Net framework
Yogendra Tamang
 
PPTX
Asp.net orientation
Yogendra Tamang
 
PPTX
Azure machine learning tech mela
Yogendra Tamang
 
PPTX
Machine learning and azure ml studio gabc
Yogendra Tamang
 
PPTX
Machine learning and azure ml studio
Yogendra Tamang
 
PPTX
Image classification with Deep Neural Networks
Yogendra Tamang
 
PPTX
Efficient Neural Network Architecture for Image Classfication
Yogendra Tamang
 
PPTX
ADO.NET Introduction
Yogendra Tamang
 
PPTX
Introduction and Starting ASP.NET MVC
Yogendra Tamang
 
PPTX
Electronics projects
Yogendra Tamang
 
PPTX
Infromation Reprentation, Structured Data and Semantics
Yogendra Tamang
 
PPTX
Task programming
Yogendra Tamang
 
PPTX
Virtualization lab
Yogendra Tamang
 
PDF
Path finder
Yogendra Tamang
 
PPTX
Classification and Clustering
Yogendra Tamang
 
PPTX
Notation 3(n3)
Yogendra Tamang
 
PPTX
Cloud mobility final
Yogendra Tamang
 
PPTX
Natural language processing
Yogendra Tamang
 
PPTX
IP/Wi-Fi Based Robot
Yogendra Tamang
 
.Net framework
Yogendra Tamang
 
Asp.net orientation
Yogendra Tamang
 
Azure machine learning tech mela
Yogendra Tamang
 
Machine learning and azure ml studio gabc
Yogendra Tamang
 
Machine learning and azure ml studio
Yogendra Tamang
 
Image classification with Deep Neural Networks
Yogendra Tamang
 
Efficient Neural Network Architecture for Image Classfication
Yogendra Tamang
 
ADO.NET Introduction
Yogendra Tamang
 
Introduction and Starting ASP.NET MVC
Yogendra Tamang
 
Electronics projects
Yogendra Tamang
 
Infromation Reprentation, Structured Data and Semantics
Yogendra Tamang
 
Task programming
Yogendra Tamang
 
Virtualization lab
Yogendra Tamang
 
Path finder
Yogendra Tamang
 
Classification and Clustering
Yogendra Tamang
 
Notation 3(n3)
Yogendra Tamang
 
Cloud mobility final
Yogendra Tamang
 
Natural language processing
Yogendra Tamang
 
IP/Wi-Fi Based Robot
Yogendra Tamang
 

Recently uploaded (20)

PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PPTX
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PDF
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Distribution reservoir and service storage pptx
dhanashree78
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PDF
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PDF
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Distribution reservoir and service storage pptx
dhanashree78
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 

Arduino Day 1 Presentation