SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshopatuline
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt maineddy royappa
 
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
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduinoyeokm1
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training pptNishant Kayal
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the ArduinoCharles A B Jr
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoYong Heui Cho
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
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
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoVishnu
 

Was ist angesagt? (20)

Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 
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
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino IDE
Arduino IDE Arduino IDE
Arduino IDE
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Arduino and robotics
Arduino and roboticsArduino and robotics
Arduino and robotics
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
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
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 

Kürzlich hochgeladen (20)

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 

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.