SlideShare a Scribd company logo
1 of 41
The Arduino life
Workshop on Arduino Embedded Development Board
1
The heart of engineering isn’t
calculation;
It’s problem solving.
Schools may teach the numbers first, but
calculation is neither the front end of
engineering note its end goal. Calculation is
one means among many to finding a
solution that provides useful, objectively
measurable improvement.
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
3
Industry / Robot /
System
Industry /
System
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”
5
Systems
Open loop
systems
Closed loop
systems
6
Open loop system
7
Closed loop
system
8
Multivariable control system
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.”
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
11
ANALOG DIGITAL
12
Communication
• PARALLEL
• SERIAL
Sender Receiver
1011000
13
Pulse Width Modulation
14
Pulse Width Modulation
15
Why Arduino..?
16
Lets Start
Arduino…!
17
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
18
Arduino Nano
Arduino Mega
Arduino LilyPad
Arduino Mini Arduino Leonardo
Arduino Uno
Types of Arduino Boards
19
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
20
21
VERIFY
UPLOAD
NEW TAB
OPEN
SAVE
SERIAL
MONITOR
BOARD &
SERIAL PORT
SELECTIONS
CODE GOES
HERE
Arduino IDE
22
Basic Coding
structure
23
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
24
 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.
25
 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)
26
Component List
 Arduino Uno
 USB cable
 LED, RGB LED
 LDR
 POT(10k)
 Resistors
 Temp sensor LM-35
 Motor Driver L293D, DC Motor
Connecting wire
27
LED Blink
28
Digital Read
29
Analog Read
30
LDR (Light Dependent Resistor)
31
LDR - Wiring
32
TEMP Sensor-LM35
33
34
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
35
L293D Functional
Block Diagram
36
37
DC Motor Control
using L293D
38
RGB LED
Vcc
Green
Blue
Red
39
“How much more Arduino can
do is only left to your
imagination”
40
Thank you
41

More Related Content

Similar to Arduino_Beginner.pptx

Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxethannguyen1618
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduinoSantosh Verma
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxaartis110
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptxAadilKk
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programmingPunit Goswami
 
Arduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionArduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionNEEVEE Technologies
 
imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02Haji Hussain
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdfJayanthi Kannan MK
 
Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino FoundationsJohn Breslin
 
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
 

Similar to Arduino_Beginner.pptx (20)

Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
Arduino
ArduinoArduino
Arduino
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptx
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptx
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
embedded system
embedded systemembedded system
embedded system
 
Arduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionArduino Programming - Brief Introduction
Arduino Programming - Brief Introduction
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
 
Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino Foundations
 
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
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 

Recently uploaded

2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfAayushChavan5
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...Amil baba
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证nhjeo1gg
 
group_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfgroup_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfneelspinoy
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree ttt fff
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxmapanig881
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024CristobalHeraud
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfSumit Lathwal
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造kbdhl05e
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfShivakumar Viswanathan
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRdollysharma2066
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 

Recently uploaded (20)

2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Pharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdfPharmaceutical Packaging for the elderly.pdf
Pharmaceutical Packaging for the elderly.pdf
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
 
group_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfgroup_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdf
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Untitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptxUntitled presedddddddddddddddddntation (1).pptx
Untitled presedddddddddddddddddntation (1).pptx
 
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
PORTFOLIO DE ARQUITECTURA CRISTOBAL HERAUD 2024
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Architecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdfArchitecture case study India Habitat Centre, Delhi.pdf
Architecture case study India Habitat Centre, Delhi.pdf
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdf
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 

Arduino_Beginner.pptx

  • 1. The Arduino life Workshop on Arduino Embedded Development Board 1
  • 2. The heart of engineering isn’t calculation; It’s problem solving. Schools may teach the numbers first, but calculation is neither the front end of engineering note its end goal. Calculation is one means among many to finding a solution that provides useful, objectively measurable improvement. 2
  • 3. 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 3
  • 4. Industry / Robot / System Industry / System 4
  • 5. 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” 5
  • 10. 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.” 10
  • 11. 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 11
  • 18. 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 18
  • 19. Arduino Nano Arduino Mega Arduino LilyPad Arduino Mini Arduino Leonardo Arduino Uno Types of Arduino Boards 19
  • 20. 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 20
  • 21. 21
  • 22. VERIFY UPLOAD NEW TAB OPEN SAVE SERIAL MONITOR BOARD & SERIAL PORT SELECTIONS CODE GOES HERE Arduino IDE 22
  • 24. 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 24
  • 25.  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. 25
  • 26.  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) 26
  • 27. Component List  Arduino Uno  USB cable  LED, RGB LED  LDR  POT(10k)  Resistors  Temp sensor LM-35  Motor Driver L293D, DC Motor Connecting wire 27
  • 31. LDR (Light Dependent Resistor) 31
  • 34. 34
  • 35. 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 35
  • 37. 37
  • 40. “How much more Arduino can do is only left to your imagination” 40