SlideShare a Scribd company logo
1 of 38
The Arduino
Workshop on Arduino Embedded Development Board
1
Embedded Systems
Arduino Basics
Arduino Architecture
Arduino board layout. What are the resources available
Arduino IDE
Programming fundamentals
Learn by Doing – Sense, Control & Actuate
Project 1: LED Blinking
Project 2: RGB LED Interfacing & PWM Control
Project 3: Interfacing Sensors (Light, Temperature, etc.,)
Project 4: Interfacing Actuators (Motor Speed Control using PWM)
Introduction
2
Industry / Robot /
System
Industry /
System
3
System & Control
System / Plant: “A system may be a piece of equipment, perhaps just a set of machine
parts functioning together, the purpose of which is to perform a particular operation”.
Control System: “A control system is an interconnection of components forming a system
configuration that provide a desired system performance”
4
Systems
Open loop systems Closed loop systems
5
Open loop system
6
Closed loop system
7
Multivariable control system
8
Embedded Systems
"It is a combination of hardware and software to perform a specific task"
“An embedded system is a computer system with a dedicated function
within a larger mechanical or electrical system, often with real-time
computing constraints. It is embedded as part of a complete device often
including hardware and mechanical parts. Embedded systems control
many devices in common use today.”
9
Components of Embedded Systems
Power Supply Processor Memory Timers & Counters
Communication
Ports
Input & Output
Application Specific
Circuits
Software
Components
Stable & Smooth Output
Proper Output Current to Drive the Load
Perfect Power Efficiency
Stable in Different Temperature Range
Proper Noise Filtering
Proper Decoupling
Line Regulation changes
Load Regulation – Fluctuation in output voltage when
load current changes
Efficiency
Input/Output Ripple Voltage
Transient Response
Allowable Dissipation
• Speed
• Unit Price
• Packaging
• Performance
• Peripheral Set
• Timer on the Chip
• Operating Voltage
• Number of I/O Pins
• Power Consumption
• Amount of RAM and ROM
• Specialized Processing Units
• Architecture 8-bit, 16-bit, or 32-bit
• Read-Only memory(RAM)
• Random Access Memory(ROM)
• Electrically Erasable Programmable Read-Only
Memory (EEPROM)
• UART
• CAN
• SPI
• I2C
• USB
• Ethernet
• RS-232
• RS-423
• RS-485
• UART
• I2C
• SPI
• Power Supply
• Processor
• Display Device
• Buzzer for Alert
• Device Drivers
• MEMS devices
• Assembler
• Emulator
• Debugger
• Compiler
10
ANALOG DIGITAL
11
Pulse Width Modulation
12
Pulse Width Modulation
13
Why Arduino..?
14
arduino ( arrr-dween-oh )
(n.) It's an open-source physical computing platform based
on a simple microcontroller board, and a development
environment for writing software for the board.
Arduino Basics
15
Arduino Nano
Arduino Mega
Arduino LilyPad
Arduino Mini Arduino Leonardo
Arduino Uno
Types of Arduino Boards
16
Arduino Uno
Digital pins:
14 digital IO pins
6 are PWM pins (3, 5, 6, 9, 10, and 11).
Analog pins:
6 analog pins(A0, A1, A2, A3, A4, and A5)
Takes analog values as an input
17
18
VERIFY
UPLOAD
NEW TAB
OPEN
SAVE
SERIAL
MONITOR
BOARD &
SERIAL PORT
SELECTIONS
CODE GOES
HERE
Arduino IDE
19
Basic Coding
structure
20
setup() function
•Called when a sketch starts.
•To initialize variables, pin modes, start using libraries, etc.
•Will only run once, after each power-up or reset of the Arduino
board.
loop() function
•Loops consecutively.
•Code in the loop() section of the sketch is used to actively
control the Arduino board.
Commenting
•Any line that starts with two slashes (//) will not be read by the
compiler, so you can write anything you want after it.
Basic Coding structure
21
 pinMode()
Instruction used to set the mode (INPUT or OUTPUT) in
which we are going to use a pin.
Eg: pinMode (13, OUTPUT);
ie. setting pin13 as output.
 digitalWrite()
•Write a HIGH or a LOW value to a digital pin.
•Eg: digitalWrite (11, HIGH);
•ie. setting pin 11 to high.
22
 digitalRead()
•Reads the value from a specified digital pin,
either HIGH or LOW
•Eg: int inPin=7;
val = digitalRead(inPin);
•ie. reads the value from inPin and assigns it to val.
 delay()
•Pauses the program for the amount of time (in milliseconds)
specified as parameter.
•Eg: delay(1000);
•ie. waits for a second (1000 ms = 1 s)
23
Component List
 Arduino Uno
 USB cable
 LED, RGB LED
 LDR
 POT(10k)
 Resistors
 Temp sensor LM-35
 Motor Driver L293D, DC Motor
Connecting wire
24
LED Blink
25
Digital Read
26
Analog Read
27
LDR (Light Dependent Resistor)
28
LDR - Wiring
29
TEMP Sensor-LM35
30
31
Motor Driver Circuit (L293D)
 The L293 and L293D devices are quadruple high
current half-H drivers.
 Output Current of 600 mA per channel for L293D)
DC Motor Drive – L293D
32
L293D Functional
Block Diagram
33
34
DC Motor Control
using L293D
35
RGB LED
Vcc
Green
Blue
Red
36
“How much more Arduino can
do is only left to your
imagination”
37
Thank you
38

More Related Content

Similar to Arduino_Beginner.pptx

Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduinoSantosh Verma
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxDinola2
 
Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architectureZeeshan Rafiq
 
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
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programmingPunit Goswami
 
Introduction to Arduino Webinar
Introduction to Arduino WebinarIntroduction to Arduino Webinar
Introduction to Arduino WebinarFragiskos Fourlas
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxaartis110
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATIONsoma saikiran
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformSHIMI S L
 

Similar to Arduino_Beginner.pptx (20)

Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
 
Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architecture
 
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
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
Introduction to Arduino Webinar
Introduction to Arduino WebinarIntroduction to Arduino Webinar
Introduction to Arduino Webinar
 
Embedded system
Embedded  systemEmbedded  system
Embedded system
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
arduino.pdf
arduino.pdfarduino.pdf
arduino.pdf
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptx
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
 
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital PlatformReal Time System Validation using Hardware in Loop (HIL) Digital Platform
Real Time System Validation using Hardware in Loop (HIL) Digital Platform
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 

More from aravind Guru

A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...
A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...
A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...aravind Guru
 
Word Warriors Questions of the symposium for students
Word Warriors Questions of the symposium for studentsWord Warriors Questions of the symposium for students
Word Warriors Questions of the symposium for studentsaravind Guru
 
Connections finale competitions answers.
Connections finale competitions answers.Connections finale competitions answers.
Connections finale competitions answers.aravind Guru
 
Pulp and Paper making (2).pptx
Pulp and Paper making (2).pptxPulp and Paper making (2).pptx
Pulp and Paper making (2).pptxaravind Guru
 
3.Project Management.pptx
3.Project Management.pptx3.Project Management.pptx
3.Project Management.pptxaravind Guru
 
Process Control Laboratory.pptx
Process Control Laboratory.pptxProcess Control Laboratory.pptx
Process Control Laboratory.pptxaravind Guru
 
SANJAY.K MINOR PROJECT 2-3.pptx
SANJAY.K MINOR PROJECT 2-3.pptxSANJAY.K MINOR PROJECT 2-3.pptx
SANJAY.K MINOR PROJECT 2-3.pptxaravind Guru
 
_tmpA8_ minor project ppt.pptx
_tmpA8_ minor project ppt.pptx_tmpA8_ minor project ppt.pptx
_tmpA8_ minor project ppt.pptxaravind Guru
 
application layer protocol for iot.pptx
application layer protocol for iot.pptxapplication layer protocol for iot.pptx
application layer protocol for iot.pptxaravind Guru
 
AASP_SUMMIT2015_Project_Mgt.pptx
AASP_SUMMIT2015_Project_Mgt.pptxAASP_SUMMIT2015_Project_Mgt.pptx
AASP_SUMMIT2015_Project_Mgt.pptxaravind Guru
 
6.4 - Finance management and Resorce Mobilization.pptx
6.4 - Finance management and Resorce Mobilization.pptx6.4 - Finance management and Resorce Mobilization.pptx
6.4 - Finance management and Resorce Mobilization.pptxaravind Guru
 
26-170918023441.pptx
26-170918023441.pptx26-170918023441.pptx
26-170918023441.pptxaravind Guru
 
PID Controller Tuning
PID Controller TuningPID Controller Tuning
PID Controller Tuningaravind Guru
 

More from aravind Guru (18)

A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...
A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...
A PROFICIENT SENSOR NETWORK BASED SMART METER MULTI-DEMAND RESPONSE SYSTEM US...
 
Word Warriors Questions of the symposium for students
Word Warriors Questions of the symposium for studentsWord Warriors Questions of the symposium for students
Word Warriors Questions of the symposium for students
 
Connections finale competitions answers.
Connections finale competitions answers.Connections finale competitions answers.
Connections finale competitions answers.
 
Pulp and Paper making (2).pptx
Pulp and Paper making (2).pptxPulp and Paper making (2).pptx
Pulp and Paper making (2).pptx
 
3.Project Management.pptx
3.Project Management.pptx3.Project Management.pptx
3.Project Management.pptx
 
Process Control Laboratory.pptx
Process Control Laboratory.pptxProcess Control Laboratory.pptx
Process Control Laboratory.pptx
 
SANJAY.K MINOR PROJECT 2-3.pptx
SANJAY.K MINOR PROJECT 2-3.pptxSANJAY.K MINOR PROJECT 2-3.pptx
SANJAY.K MINOR PROJECT 2-3.pptx
 
_tmpA8_ minor project ppt.pptx
_tmpA8_ minor project ppt.pptx_tmpA8_ minor project ppt.pptx
_tmpA8_ minor project ppt.pptx
 
application layer protocol for iot.pptx
application layer protocol for iot.pptxapplication layer protocol for iot.pptx
application layer protocol for iot.pptx
 
AASP_SUMMIT2015_Project_Mgt.pptx
AASP_SUMMIT2015_Project_Mgt.pptxAASP_SUMMIT2015_Project_Mgt.pptx
AASP_SUMMIT2015_Project_Mgt.pptx
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
6.4 - Finance management and Resorce Mobilization.pptx
6.4 - Finance management and Resorce Mobilization.pptx6.4 - Finance management and Resorce Mobilization.pptx
6.4 - Finance management and Resorce Mobilization.pptx
 
26-170918023441.pptx
26-170918023441.pptx26-170918023441.pptx
26-170918023441.pptx
 
isoosimodel
isoosimodelisoosimodel
isoosimodel
 
PID Controller Tuning
PID Controller TuningPID Controller Tuning
PID Controller Tuning
 
2. IoT Intro.pptx
2. IoT Intro.pptx2. IoT Intro.pptx
2. IoT Intro.pptx
 
1. IoT.pptx
1. IoT.pptx1. IoT.pptx
1. IoT.pptx
 
BATCH 1.pptx
BATCH 1.pptxBATCH 1.pptx
BATCH 1.pptx
 

Recently uploaded

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
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
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR 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
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
(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
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
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
 

Recently uploaded (20)

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
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
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
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
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
(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
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
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
 

Arduino_Beginner.pptx

  • 1. The Arduino Workshop on Arduino Embedded Development Board 1
  • 2. Embedded Systems Arduino Basics Arduino Architecture Arduino board layout. What are the resources available Arduino IDE Programming fundamentals Learn by Doing – Sense, Control & Actuate Project 1: LED Blinking Project 2: RGB LED Interfacing & PWM Control Project 3: Interfacing Sensors (Light, Temperature, etc.,) Project 4: Interfacing Actuators (Motor Speed Control using PWM) Introduction 2
  • 3. Industry / Robot / System Industry / System 3
  • 4. System & Control System / Plant: “A system may be a piece of equipment, perhaps just a set of machine parts functioning together, the purpose of which is to perform a particular operation”. Control System: “A control system is an interconnection of components forming a system configuration that provide a desired system performance” 4
  • 5. Systems Open loop systems Closed loop systems 5
  • 9. Embedded Systems "It is a combination of hardware and software to perform a specific task" “An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. Embedded systems control many devices in common use today.” 9
  • 10. Components of Embedded Systems Power Supply Processor Memory Timers & Counters Communication Ports Input & Output Application Specific Circuits Software Components Stable & Smooth Output Proper Output Current to Drive the Load Perfect Power Efficiency Stable in Different Temperature Range Proper Noise Filtering Proper Decoupling Line Regulation changes Load Regulation – Fluctuation in output voltage when load current changes Efficiency Input/Output Ripple Voltage Transient Response Allowable Dissipation • Speed • Unit Price • Packaging • Performance • Peripheral Set • Timer on the Chip • Operating Voltage • Number of I/O Pins • Power Consumption • Amount of RAM and ROM • Specialized Processing Units • Architecture 8-bit, 16-bit, or 32-bit • Read-Only memory(RAM) • Random Access Memory(ROM) • Electrically Erasable Programmable Read-Only Memory (EEPROM) • UART • CAN • SPI • I2C • USB • Ethernet • RS-232 • RS-423 • RS-485 • UART • I2C • SPI • Power Supply • Processor • Display Device • Buzzer for Alert • Device Drivers • MEMS devices • Assembler • Emulator • Debugger • Compiler 10
  • 15. arduino ( arrr-dween-oh ) (n.) It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Arduino Basics 15
  • 16. Arduino Nano Arduino Mega Arduino LilyPad Arduino Mini Arduino Leonardo Arduino Uno Types of Arduino Boards 16
  • 17. Arduino Uno Digital pins: 14 digital IO pins 6 are PWM pins (3, 5, 6, 9, 10, and 11). Analog pins: 6 analog pins(A0, A1, A2, A3, A4, and A5) Takes analog values as an input 17
  • 18. 18
  • 19. VERIFY UPLOAD NEW TAB OPEN SAVE SERIAL MONITOR BOARD & SERIAL PORT SELECTIONS CODE GOES HERE Arduino IDE 19
  • 21. setup() function •Called when a sketch starts. •To initialize variables, pin modes, start using libraries, etc. •Will only run once, after each power-up or reset of the Arduino board. loop() function •Loops consecutively. •Code in the loop() section of the sketch is used to actively control the Arduino board. Commenting •Any line that starts with two slashes (//) will not be read by the compiler, so you can write anything you want after it. Basic Coding structure 21
  • 22.  pinMode() Instruction used to set the mode (INPUT or OUTPUT) in which we are going to use a pin. Eg: pinMode (13, OUTPUT); ie. setting pin13 as output.  digitalWrite() •Write a HIGH or a LOW value to a digital pin. •Eg: digitalWrite (11, HIGH); •ie. setting pin 11 to high. 22
  • 23.  digitalRead() •Reads the value from a specified digital pin, either HIGH or LOW •Eg: int inPin=7; val = digitalRead(inPin); •ie. reads the value from inPin and assigns it to val.  delay() •Pauses the program for the amount of time (in milliseconds) specified as parameter. •Eg: delay(1000); •ie. waits for a second (1000 ms = 1 s) 23
  • 24. Component List  Arduino Uno  USB cable  LED, RGB LED  LDR  POT(10k)  Resistors  Temp sensor LM-35  Motor Driver L293D, DC Motor Connecting wire 24
  • 28. LDR (Light Dependent Resistor) 28
  • 31. 31
  • 32. Motor Driver Circuit (L293D)  The L293 and L293D devices are quadruple high current half-H drivers.  Output Current of 600 mA per channel for L293D) DC Motor Drive – L293D 32
  • 34. 34
  • 37. “How much more Arduino can do is only left to your imagination” 37