SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
ARDUINO
Md. Nahidul Islam
Md.Nahidul Islam
EMBEDDED SYSTEM
An embedded system is a microprocessor- or microcontroller-
based system of hardware and software designed to perform
dedicated functions within a larger mechanical or electrical
system.
• Embedded system applications range from digital watches
and microwaves to hybrid vehicles and avionics.
• As much as 98 percent of all microprocessors manufactured
are used in embedded systems
An embedded system is a microcontroller and microprocessor based system which is designed to
performs Specific task.
Source: What is an Embedded System? Definition and FAQs | OmniSci
Fig: Block Diagram of a Embedded System
Environment
Sensors Clock
Operator
Controller
Software
Actuators Display
Md.Nahidul Islam
MICROPROCESSOR VS MICROCONTROLLER
• Microprocessor is the heart of Computer system.
• It is only a processor, so memory and I/O
components need to be connected externally.
• Cost of the entire system is high.
• It is mainly used in personal computers.
• Microprocessors are based on Von Neumann model.
• It's complex and expensive, with a large number of
instructions to process.
• Microprocessor-based systems can run at a very high
speed because of the technology involved.
• Micro Controller is the heart of an embedded system.
• Micro Controller has a processor along with internal
memory and I/O components.
• Cost of the entire system is low
• It is used mainly in a washing machine, MP3 players, and
embedded systems.
• Micro controllers arc based on Harvard architecture
• It's simple and inexpensive with less number of
instructions to process.
• Microcontroller based systems run up to 200MHz or more
depending on the architecture.
Source: Difference between Microprocessor and Microcontroller (guru99.com)
Md.Nahidul Islam
ARDUINO
Arduino is an open-source electronics platform based on easy-to-
use hardware and software.
• Arduino boards are relatively inexpensive compared to other
microcontroller platforms.
• The Arduino Software (IDE) runs on Windows, OSX, and Linux.
• The Arduino Software (IDE) is easy-to-use for beginners, yet
flexible enough for advanced users to take advantage of as well.
• The Arduino software is published as open source tools, available
for extension by experienced programmers.
• The language can be expanded through C++ libraries, and people
wanting to understand the technical details can make the leap
from Arduino to the AVR C programming language on which it's
based. Similarly, you can add AVR-C code directly into your
Arduino programs if you want to.
Source: https://www.arduino.cc/en/guide/introduction
It was in the year 2005 that the first
ever Arduino board was born in the
classrooms of the Interactive Design
Institute in Ivrea, Italy
Md.Nahidul Islam
TYPES OF ARDUINO BOARD
• Arduino Uno/R3
• Arduino Leonardo
• Arduino Due
• Arduino Yún
• Arduino Tre
• Arduino Micro Arduino Robot
• Arduino Esplora
• Arduino Mega
• Arduino Mini
• LilyPad Arduino
• Arduino Nano
• Arduino Fio
• Arduino Pro
• Arduino Ethernet
Arduino Uno Arduino Mega
Arduino Pro Mini
Arduino Nano
Arduino Leonardo
Md.Nahidul Islam
SOFTWARE (IDE)
The software used for programming Arduino is called the Integrated
Development Environment (IDE).
IDE is a Java application that works on many different platforms, including
PCs, Macs, and Linux systems.
It was developed for beginners who are not familiar with programming.
Includes a code editor, compiler, and uploader.
Symbol libraries for use of peripheral devices, such as serial ports and
various types of displays, are also included.
Arduino programs are called "sketches" and are written in a language very
similar to C or C ++
It is used to restart the
program from the first
line of it's sketch.
It is used to burn the program from
IDE, power the Arduino Uno & serial
communication to Serial.
It is used to general input output purpose. The board has 14
digital I/O pins (six capable of PWM output), 6 analog I/O pins
(A0-A5) It is used to analog-
to-digital (A/D) converter.
Dc Barrel Jack for 5~7v input 3.3v Output
5v Output
Md.Nahidul Islam
COMMUNICATION PROTOCOLS
A set of rules and regulations that allow two electronic devices to connect to exchange the data with one and another.
• Universal Asynchronous Reception and Transmission (UART)
Rx , Tx
• I2C Communication Protocols
The SPI (Serial Peripheral Interface) system setup is
relatively simple. Three pins are used for communicating
between a master and all slave devices:
• Shared/Serial Clock (SCLK)
• Master Out Slave In (MOSI)
• Master In Slave Out (MISO)
PROGRAMMING FUNCTIONS
Here are some of the most used functions in Arduino programming:
pinMode - Sets the pin mode to either INPUT or OUTPUT. pinMode(pin , mode);
analogRead - The analog voltage is read from the analog input terminal. analogRead(pin);
analogWrite - Writes an analog voltage to an analog output terminal. analogWrite(pin);
digitalRead - reads the value of the digital input pin. digitalRead(pin);
digitalWrite - sets the value of the digital output terminal to either HIGH or LOW. digitalWrite(pin ,value);
Serial.print - prints the data to the serial port as human-readable ASCII text.
delay- Pauses the program for the amount of time (in milliseconds) specified as parameter. delay(ms);
(There are 1000 milliseconds in a second.)
delayMicroseconds- Pauses the program for the amount of time (in microseconds). delayMicroseconds(us);
Source: https://www.arduino.cc/reference/en/#functions
PROGRAMMING LIBRARIES
Arduino libraries are sets of functions that allow you to control devices. Here are some of the most used libraries:
GPS library: An interrupt-based GPS library for no-parsing-required use.
LCD library : Those library allows an Arduino board to control various kinds of display.
Servo library: This library allows an Arduino board to control RC (hobby) servo motors
SD library: The SD library allows for reading from and writing to SD cards
Ethernet library: The library allows an Arduino board to connect to the Internet
Wi-Fi library: The library allows an Arduino board to connect to the Wi-Fi
Stepper library: This library allows you to control unipolar or bipolar stepper motors.
SPI library: Serial Peripheral Interface (SPI) is a synchronous serial data protocol used by microcontrollers for
communicating with one or more peripheral devices quickly over short distances
EEPROM library: The EEPROM library provides an easy to use interface to interact with the internal non-
volatile storage found on AVR based Arduino boards.
Software Serial library: The Software Serial library has been developed to allow serial communication on other
digital pins of the Arduino, using software to replicate the functionality
GSM library: With the Arduino GSM Shield, this library enables an Arduino board to do most of the operations
anyone can do with a GSM phone.
Sourec: https://www.arduino.cc/reference/en/libraries/
Md.Nahidul Islam
EX-01 LED BLYNKING
const int led1 = 13;
const int led2 = 10;
const int led3 = 6;
void setup()
{
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
}
void loop()
{
digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
digitalWrite(led3, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
View this project
Md.Nahidul Islam
EX-2 LED FADE
//LED PWM FADEING EXAMPLE
//Md.Nahidul Islam
const int LED=9; // Define LED for Pin 9
void setup()
{
pinMode (LED, OUTPUT); // Set the LED pin as a
n output
}
void loop()
{
for (int i=0; i<256; i++){
analogWrite(LED, i);
delay(10);
}
for (int i=255; i>=0; i--){
analogWrite(LED, i);
delay(10);
}
} View this project
Writing a value of 0 with analogWrite()
indicates a square wave with a duty
cycle of 0 percent (always low).
Writing a 255 value indicates a square
wave with a duty cycle of 100
percent (always high).
Writing a 127 value indicates a square
with a duty cycle of 50 percent (high
half of the time, low half of the time).
Md.Nahidul Islam
EX-3 POT SERIAL MONITOR
int pot = A0;
int value = 0;
void setup()
{
pinMode(pot, INPUT);
Serial.begin(9600);
}
void loop()
{
value = analogRead(pot);
Serial.print(" THE POT VALUE ");
Serial.println(value);
}
View this project
Thank You
I am a hardworking and ambitious individual with a great
passion for the Microcontroller and Embedded System industry.
I am currently in my third year of studying B.Sc. In Electrical &
Electronic Engineering at United International University.

Contenu connexe

Tendances

Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduinoBetsy Eng
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
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) - codewithgauriGaurav Pandey
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
arduino
 arduino arduino
arduinojhcid
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshopatuline
 
Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)Dragos Ionita
 

Tendances (20)

Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Arduino
ArduinoArduino
Arduino
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
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
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino & Robotics
Introduction to Arduino & Robotics Introduction to Arduino & Robotics
Introduction to Arduino & Robotics
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
arduino
 arduino arduino
arduino
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)Robotics and Arduino (Arduino UNO)
Robotics and Arduino (Arduino UNO)
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Arduino and robotics
Arduino and roboticsArduino and robotics
Arduino and robotics
 
Arduino course
Arduino courseArduino course
Arduino course
 
Ardui no
Ardui no Ardui no
Ardui no
 
Embedded system
Embedded systemEmbedded system
Embedded system
 

Similaire à Introduction of Arduino Uno

Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3hari prasad
 
4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdfRynefelElopre2
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerArun Kumar
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptxMohamed Essam
 
introduction of arduino and node mcu
introduction of arduino and node mcuintroduction of arduino and node mcu
introduction of arduino and node mcu6305HASANBASARI
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno boardGaurav
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxJayashreeSelvam5
 
Integrated development environment
Integrated development environmentIntegrated development environment
Integrated development environmentMakers of India
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Embedded application development
Embedded application developmentEmbedded application development
Embedded application developmentAakash Raj
 
What is Arduino
What is ArduinoWhat is Arduino
What is ArduinoSKUGme
 

Similaire à Introduction of Arduino Uno (20)

Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3
 
4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontroller
 
arduino.pdf
arduino.pdfarduino.pdf
arduino.pdf
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx
 
introduction of arduino and node mcu
introduction of arduino and node mcuintroduction of arduino and node mcu
introduction of arduino and node mcu
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
 
Integrated development environment
Integrated development environmentIntegrated development environment
Integrated development environment
 
Ardunio
ArdunioArdunio
Ardunio
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
Arduino
ArduinoArduino
Arduino
 
Embedded application development
Embedded application developmentEmbedded application development
Embedded application development
 
What is Arduino
What is ArduinoWhat is Arduino
What is Arduino
 

Dernier

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Dernier (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

Introduction of Arduino Uno

  • 2. Md.Nahidul Islam EMBEDDED SYSTEM An embedded system is a microprocessor- or microcontroller- based system of hardware and software designed to perform dedicated functions within a larger mechanical or electrical system. • Embedded system applications range from digital watches and microwaves to hybrid vehicles and avionics. • As much as 98 percent of all microprocessors manufactured are used in embedded systems An embedded system is a microcontroller and microprocessor based system which is designed to performs Specific task. Source: What is an Embedded System? Definition and FAQs | OmniSci Fig: Block Diagram of a Embedded System Environment Sensors Clock Operator Controller Software Actuators Display
  • 3. Md.Nahidul Islam MICROPROCESSOR VS MICROCONTROLLER • Microprocessor is the heart of Computer system. • It is only a processor, so memory and I/O components need to be connected externally. • Cost of the entire system is high. • It is mainly used in personal computers. • Microprocessors are based on Von Neumann model. • It's complex and expensive, with a large number of instructions to process. • Microprocessor-based systems can run at a very high speed because of the technology involved. • Micro Controller is the heart of an embedded system. • Micro Controller has a processor along with internal memory and I/O components. • Cost of the entire system is low • It is used mainly in a washing machine, MP3 players, and embedded systems. • Micro controllers arc based on Harvard architecture • It's simple and inexpensive with less number of instructions to process. • Microcontroller based systems run up to 200MHz or more depending on the architecture. Source: Difference between Microprocessor and Microcontroller (guru99.com)
  • 4. Md.Nahidul Islam ARDUINO Arduino is an open-source electronics platform based on easy-to- use hardware and software. • Arduino boards are relatively inexpensive compared to other microcontroller platforms. • The Arduino Software (IDE) runs on Windows, OSX, and Linux. • The Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well. • The Arduino software is published as open source tools, available for extension by experienced programmers. • The language can be expanded through C++ libraries, and people wanting to understand the technical details can make the leap from Arduino to the AVR C programming language on which it's based. Similarly, you can add AVR-C code directly into your Arduino programs if you want to. Source: https://www.arduino.cc/en/guide/introduction It was in the year 2005 that the first ever Arduino board was born in the classrooms of the Interactive Design Institute in Ivrea, Italy
  • 5. Md.Nahidul Islam TYPES OF ARDUINO BOARD • Arduino Uno/R3 • Arduino Leonardo • Arduino Due • Arduino Yún • Arduino Tre • Arduino Micro Arduino Robot • Arduino Esplora • Arduino Mega • Arduino Mini • LilyPad Arduino • Arduino Nano • Arduino Fio • Arduino Pro • Arduino Ethernet Arduino Uno Arduino Mega Arduino Pro Mini Arduino Nano Arduino Leonardo
  • 6. Md.Nahidul Islam SOFTWARE (IDE) The software used for programming Arduino is called the Integrated Development Environment (IDE). IDE is a Java application that works on many different platforms, including PCs, Macs, and Linux systems. It was developed for beginners who are not familiar with programming. Includes a code editor, compiler, and uploader. Symbol libraries for use of peripheral devices, such as serial ports and various types of displays, are also included. Arduino programs are called "sketches" and are written in a language very similar to C or C ++
  • 7. It is used to restart the program from the first line of it's sketch. It is used to burn the program from IDE, power the Arduino Uno & serial communication to Serial. It is used to general input output purpose. The board has 14 digital I/O pins (six capable of PWM output), 6 analog I/O pins (A0-A5) It is used to analog- to-digital (A/D) converter. Dc Barrel Jack for 5~7v input 3.3v Output 5v Output
  • 9. COMMUNICATION PROTOCOLS A set of rules and regulations that allow two electronic devices to connect to exchange the data with one and another. • Universal Asynchronous Reception and Transmission (UART) Rx , Tx • I2C Communication Protocols The SPI (Serial Peripheral Interface) system setup is relatively simple. Three pins are used for communicating between a master and all slave devices: • Shared/Serial Clock (SCLK) • Master Out Slave In (MOSI) • Master In Slave Out (MISO)
  • 10. PROGRAMMING FUNCTIONS Here are some of the most used functions in Arduino programming: pinMode - Sets the pin mode to either INPUT or OUTPUT. pinMode(pin , mode); analogRead - The analog voltage is read from the analog input terminal. analogRead(pin); analogWrite - Writes an analog voltage to an analog output terminal. analogWrite(pin); digitalRead - reads the value of the digital input pin. digitalRead(pin); digitalWrite - sets the value of the digital output terminal to either HIGH or LOW. digitalWrite(pin ,value); Serial.print - prints the data to the serial port as human-readable ASCII text. delay- Pauses the program for the amount of time (in milliseconds) specified as parameter. delay(ms); (There are 1000 milliseconds in a second.) delayMicroseconds- Pauses the program for the amount of time (in microseconds). delayMicroseconds(us); Source: https://www.arduino.cc/reference/en/#functions
  • 11. PROGRAMMING LIBRARIES Arduino libraries are sets of functions that allow you to control devices. Here are some of the most used libraries: GPS library: An interrupt-based GPS library for no-parsing-required use. LCD library : Those library allows an Arduino board to control various kinds of display. Servo library: This library allows an Arduino board to control RC (hobby) servo motors SD library: The SD library allows for reading from and writing to SD cards Ethernet library: The library allows an Arduino board to connect to the Internet Wi-Fi library: The library allows an Arduino board to connect to the Wi-Fi Stepper library: This library allows you to control unipolar or bipolar stepper motors. SPI library: Serial Peripheral Interface (SPI) is a synchronous serial data protocol used by microcontrollers for communicating with one or more peripheral devices quickly over short distances EEPROM library: The EEPROM library provides an easy to use interface to interact with the internal non- volatile storage found on AVR based Arduino boards. Software Serial library: The Software Serial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality GSM library: With the Arduino GSM Shield, this library enables an Arduino board to do most of the operations anyone can do with a GSM phone. Sourec: https://www.arduino.cc/reference/en/libraries/
  • 12. Md.Nahidul Islam EX-01 LED BLYNKING const int led1 = 13; const int led2 = 10; const int led3 = 6; void setup() { pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); pinMode(led3, OUTPUT); } void loop() { digitalWrite(led1, HIGH); digitalWrite(led2, HIGH); digitalWrite(led3, HIGH); delay(1000); // Wait for 1000 millisecond(s) digitalWrite(led1, LOW); digitalWrite(led2, LOW); digitalWrite(led3, LOW); delay(1000); // Wait for 1000 millisecond(s) } View this project
  • 13. Md.Nahidul Islam EX-2 LED FADE //LED PWM FADEING EXAMPLE //Md.Nahidul Islam const int LED=9; // Define LED for Pin 9 void setup() { pinMode (LED, OUTPUT); // Set the LED pin as a n output } void loop() { for (int i=0; i<256; i++){ analogWrite(LED, i); delay(10); } for (int i=255; i>=0; i--){ analogWrite(LED, i); delay(10); } } View this project Writing a value of 0 with analogWrite() indicates a square wave with a duty cycle of 0 percent (always low). Writing a 255 value indicates a square wave with a duty cycle of 100 percent (always high). Writing a 127 value indicates a square with a duty cycle of 50 percent (high half of the time, low half of the time).
  • 14. Md.Nahidul Islam EX-3 POT SERIAL MONITOR int pot = A0; int value = 0; void setup() { pinMode(pot, INPUT); Serial.begin(9600); } void loop() { value = analogRead(pot); Serial.print(" THE POT VALUE "); Serial.println(value); } View this project
  • 15. Thank You I am a hardworking and ambitious individual with a great passion for the Microcontroller and Embedded System industry. I am currently in my third year of studying B.Sc. In Electrical & Electronic Engineering at United International University.