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

PPT
Intro to Arduino
PPTX
Introduction to Arduino
PDF
Introduction to Arduino
PPTX
Lesson sample introduction to arduino
PPTX
Arduino Workshop Day 2
PPTX
Basics of arduino uno
PDF
Arduino Lecture 1 - Introducing the Arduino
PPTX
Aurdino presentation
Intro to Arduino
Introduction to Arduino
Introduction to Arduino
Lesson sample introduction to arduino
Arduino Workshop Day 2
Basics of arduino uno
Arduino Lecture 1 - Introducing the Arduino
Aurdino presentation

What's hot (20)

PPTX
Introduction to Arduino
PDF
Lab2ppt
PDF
IOTC08 The Arduino Platform
PPT
Arduino Platform with C programming.
PPTX
Ardui no
PPTX
Arduino Microcontroller
PPTX
Arduino slides
PPTX
Arduino Workshop
PPTX
Introduction to the Arduino
PPTX
Introduction to Arduino Microcontroller
PDF
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
PDF
Arduino Development For Beginners
PDF
Presentation S4A
KEY
Intro to Arduino
PPTX
Arduino as an embedded industrial controller
PDF
2015-10-21 - Arduino workshop
ODP
Intro to Hardware Programming with the Arduino Uno
PPTX
Arduino and c programming
PDF
Arduino spooky projects_class1
Introduction to Arduino
Lab2ppt
IOTC08 The Arduino Platform
Arduino Platform with C programming.
Ardui no
Arduino Microcontroller
Arduino slides
Arduino Workshop
Introduction to the Arduino
Introduction to Arduino Microcontroller
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Development For Beginners
Presentation S4A
Intro to Arduino
Arduino as an embedded industrial controller
2015-10-21 - Arduino workshop
Intro to Hardware Programming with the Arduino Uno
Arduino and c programming
Arduino spooky projects_class1
Ad

Viewers also liked (20)

PPTX
Arduino Introduction (Blinking LED) Presentation (workshop #5)
PPT
Speed up your Tests - Devi Sridharan, ThoughtWorks
PDF
Adverteren op Facebook: Geavanceerde campagne-optimalisatie en analyse
PPTX
Market Research Efx
DOCX
Guía pensandolo bien
PPT
Presentation for CF at SCHOOL Webinar hosted by CFQ
PDF
Klikkrant GO! - 20100309
PDF
Ipsec SitetoSite secure vpn between mikrotik and astaro utm - in persian
PPTX
7/27/16 Deep Learning Top 5
PDF
Xây dựng giao diện website dựa trên mã nguồn joomla(tiếp theo)
PPTX
How to deal with cs work
DOCX
OEE Canyon Guide Training Checklist (1)
PPTX
Apresentação da COESCOLA - Aprendizagem Livre e Colaborativa
PPTX
Forrester & Perficient on SharePoint as a Social Business Platform
PPT
Demand Gen Case Study on Social Media
PDF
GeospatialDataAnalysis
PPTX
2. Cnnecst-Why the use of FPGA?
PPT
Head hunter 23.09.2010
DOC
Market research case indian paints limited
PPSX
How to deal with deadlines
Arduino Introduction (Blinking LED) Presentation (workshop #5)
Speed up your Tests - Devi Sridharan, ThoughtWorks
Adverteren op Facebook: Geavanceerde campagne-optimalisatie en analyse
Market Research Efx
Guía pensandolo bien
Presentation for CF at SCHOOL Webinar hosted by CFQ
Klikkrant GO! - 20100309
Ipsec SitetoSite secure vpn between mikrotik and astaro utm - in persian
7/27/16 Deep Learning Top 5
Xây dựng giao diện website dựa trên mã nguồn joomla(tiếp theo)
How to deal with cs work
OEE Canyon Guide Training Checklist (1)
Apresentação da COESCOLA - Aprendizagem Livre e Colaborativa
Forrester & Perficient on SharePoint as a Social Business Platform
Demand Gen Case Study on Social Media
GeospatialDataAnalysis
2. Cnnecst-Why the use of FPGA?
Head hunter 23.09.2010
Market research case indian paints limited
How to deal with deadlines
Ad

Similar to Arduino Day 1 Presentation (20)

PPTX
How to use an Arduino
PPTX
Arduino . .
PPT
01 Intro to the Arduino and it's basics.ppt
PPTX
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
PPTX
01_DIGITAL IO.pptx
PPTX
Arduino intro.pptx
PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
PPTX
Arduino programming
PPTX
Introduction to Arduino
PPTX
Introduction to Arduino
PPTX
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
PPTX
Arduino workshop
DOCX
Arduino and Circuits.docx
PPSX
Arduino اردوينو
PPTX
Arduino cic3
PDF
Arduino-workshop.computer engineering.pdf
PDF
Syed IoT - module 5
PDF
Embedded system course projects - Arduino Course
PPTX
Arduino Foundations
How to use an Arduino
Arduino . .
01 Intro to the Arduino and it's basics.ppt
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
01_DIGITAL IO.pptx
Arduino intro.pptx
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Arduino programming
Introduction to Arduino
Introduction to Arduino
INTRODUCTION TO ARDUINO and sensors for arduino.pptx
Arduino workshop
Arduino and Circuits.docx
Arduino اردوينو
Arduino cic3
Arduino-workshop.computer engineering.pdf
Syed IoT - module 5
Embedded system course projects - Arduino Course
Arduino Foundations

More from Yogendra Tamang (19)

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

Recently uploaded (20)

PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
introduction to high performance computing
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
Soil Improvement Techniques Note - Rabbi
PPT
Occupational Health and Safety Management System
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Artificial Intelligence
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPT
introduction to datamining and warehousing
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPTX
Current and future trends in Computer Vision.pptx
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Abrasive, erosive and cavitation wear.pdf
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
introduction to high performance computing
Visual Aids for Exploratory Data Analysis.pdf
Soil Improvement Techniques Note - Rabbi
Occupational Health and Safety Management System
Categorization of Factors Affecting Classification Algorithms Selection
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Artificial Intelligence
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
introduction to datamining and warehousing
Fundamentals of safety and accident prevention -final (1).pptx
III.4.1.2_The_Space_Environment.p pdffdf
86236642-Electric-Loco-Shed.pdf jfkduklg
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Current and future trends in Computer Vision.pptx
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Abrasive, erosive and cavitation wear.pdf

Arduino Day 1 Presentation