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

PPTX
Basics of arduino uno
PPT
Intro to Arduino
PPTX
Introduction to Arduino
PDF
Introduction to Arduino
PPTX
Lesson sample introduction to arduino
PPTX
Arduino Workshop Day 2
PDF
Arduino Lecture 1 - Introducing the Arduino
PPTX
Aurdino presentation
Basics of arduino uno
Intro to Arduino
Introduction to Arduino
Introduction to Arduino
Lesson sample introduction to arduino
Arduino Workshop Day 2
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)

PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
PPT
01 Intro to the Arduino and it's basics.ppt
PPTX
Arduino cic3
PDF
Syed IoT - module 5
PDF
Arduino-workshop.computer engineering.pdf
PPTX
Understanding Arduino Uno Code(simple coding).pptx
PPTX
Arduino programming
PPTX
Fun with arduino
PDF
Introduction of Arduino Uno
PPT
Embedded system programming using Arduino microcontroller
PPTX
Introduction To Arduino-converted for s.pptx
PPTX
Programming with arduino
PDF
Arduino reference
PPTX
Arduino Workshop Slides
PPTX
Arduino Slides With Neopixels
PPTX
Arduino . .
PDF
The IoT Academy IoT Training Arduino Part 3 programming
PDF
Arduino programming part1
PPT
Arduino_CSE ece ppt for working and principal of arduino.ppt
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
01 Intro to the Arduino and it's basics.ppt
Arduino cic3
Syed IoT - module 5
Arduino-workshop.computer engineering.pdf
Understanding Arduino Uno Code(simple coding).pptx
Arduino programming
Fun with arduino
Introduction of Arduino Uno
Embedded system programming using Arduino microcontroller
Introduction To Arduino-converted for s.pptx
Programming with arduino
Arduino reference
Arduino Workshop Slides
Arduino Slides With Neopixels
Arduino . .
The IoT Academy IoT Training Arduino Part 3 programming
Arduino programming part1
Arduino_CSE ece ppt for working and principal of arduino.ppt

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)

PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
PPT on Performance Review to get promotions
PDF
737-MAX_SRG.pdf student reference guides
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Artificial Intelligence
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Well-logging-methods_new................
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Fundamentals of safety and accident prevention -final (1).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT on Performance Review to get promotions
737-MAX_SRG.pdf student reference guides
Model Code of Practice - Construction Work - 21102022 .pdf
Foundation to blockchain - A guide to Blockchain Tech
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Artificial Intelligence
CYBER-CRIMES AND SECURITY A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mechanical Engineering MATERIALS Selection
bas. eng. economics group 4 presentation 1.pptx
UNIT 4 Total Quality Management .pptx
Well-logging-methods_new................

Arduino Day 1 Presentation