SlideShare a Scribd company logo
1 of 19
INTRODUCTION
TO
ARDUINO PLATFORM
What is an Arduino ?
• Open Source electronic prototyping platform based
on flexible easy to use hardware and software.
It's intended for artists, designers, hobbyists, and anyone
interested in creating interactive objects or environments
• Arduino is best for it’s hardware ,but also need software to program
that hardware
• Both the hardware and software are called Arduino
• This combination enable to create projects that sense and control the
physical word.
Arduino Software
• Software program ,called Sketches,are created on a computer using
the Arduino intergratd development environment(IDE).
• The IDE enables you to write and edit code and convert this code into
the instructions that Arduino hardware understands.
• The IDE also transfer those instruction to the Arduino board
(it’s called uploading)
Arduino Hardware
• The Arduino board is where the code you write is executed.
• The board can only control and respond to electricity ,so specific
components are attached to it to enable it to interact with the real
world.
• Ex- sensors, actuators
•The Arduino integrated development environment (IDE) is a cross-platform
application written in Java, and is derived from the IDE for the Processing
programming language and the Wiring projects
•The Arduino Uno board can be programmed with the Arduino software.
•Select “Arduino Uno from the Tools > Board menu (according to the
microcontroller on your board).
The Arduino integrated development environment (IDE)
•The ATmega328 on the Arduino Uno comes preburned with a
bootloader that allows you to upload new code to it without the
use of an external hardware programmer. It communicates using
the original STK500 protocol.
•32kbyte is the flash memory(program storing)
•8 bit microcontroller(ALU= 8bit)
•2 kb SRAM(Data)
Installing the Integrated Development Environment (IDE)
The Arduino software for Windows, Mac, and Linux can be downloaded from
http://
arduino.cc/en/Main/Software.
The Windows download is a ZIP file. Unzip the file to any convenient directory—
Program Files/Arduino is a sensible place.
On Windows, use the USB cable to connect your PC and the Arduino board
and wait for the Found New Hardware Wizard to appear. You can let the
wizard search for drivers and they will install automatically.
Setting Up the Arduino Board
Plug the board into a USB port on your computer and check that the
green LED power indicator on the board illuminates
•An orange LED near the center of the board (labeled “Pin 13 LED” in Figure 1-
4) should flash on and off when the board is powered up (boards come from the
factory preloaded with software to flash the LED as a simple check that the
board is working).
•If the pin 13 LED is flashing, the sketch is running correctly, which means the
chip on the board is working. If the green power LED is on but the pin 13 LED is
not flashing, it could be that the factory code is not on the chip
Using the Integrated Development Environment
(IDE) to Prepare an Arduino Sketch
Use the Arduino IDE to create, open, and modify sketches that define what the board
will do. You can use buttons along the top of the IDE to perform these actions (shown
in Figure 1-5), or you can use the menus or keyboard shortcuts (shown in Figure 1-6).
The Sketch Editor area is where you view and edit code for a sketch. It supports
common text editing keys such as Ctrl-F (⌘+F on a Mac) for find, Ctrl-Z (⌘+Z on a
Mac) for undo, Ctrl-C (⌘+C on a Mac) to copy highlighted text, and Ctrl-V (⌘+V
on a Mac) to paste highlighted text.
Figure 1-5. Arduino IDE
Figure 1-6 shows how to load the Blink
sketch (the sketch that comes preloaded
on a new Arduino board). After you’ve
started the IDE, go to the
File→Examples menu
and select 1.Basics→Blink,
as shown in Figure 1-6.
The code for blinking the built-in LED
will be displayed in the Sketch Editor
window.
Before the code can be sent to the board, it needs to be converted into
instructions that can be read and executed by the Arduino controller
chip; this is called compiling. To do this, click the compile button (the
top-left button with a triangle inside), or select
Sketch→Verify/Compile.
You should see a message that reads “Compiling...” in the message
area below the text editing window. After a second or two, a message
that reads “Done Compiling” will appear. The black console area will
contain the following additional message:
Binary sketch size: 1008 bytes (of a 32256 byte maximum)
The exact message may differ depending on the Arduino version; it is
telling you the size of the sketch and the maximum size that your
board can accept.
If there are errors in the code, the compiler will print one or more error
messages in the console window.
To prevent accidental overwriting of the examples, the Arduino IDE does not
allow you to save changes to the provided example sketches.
You must rename them using the Save As menu option. You can save
sketches you write yourself with the Save button.
Code uploaded onto the board cannot be downloaded back onto your computer.
Make sure you save your sketch code on your computer. You cannot save
changes back to the example files; you need to use Save As and give the changed
file another name.
Uploading and Running the Blink Sketch
Connect your Arduino board to your computer using the USB cable. Load the
Blink sketch into the IDE
Next, select Tools→Board from the drop-down menu and select the name of the
board you have connected.
Now select Tools→Serial Port. You will get a drop-down list of available serial
ports on your computer. Each machine will have a different combination of
serial ports, depending on what other devices you have used with your
computer.
On Windows, they will be listed as numbered COM entries. If there is only one
entry, select it. If there are multiple entries, your board will probably be the last
entry.
Embedded L1_notes_unit2_architecture.pptx

More Related Content

Similar to Embedded L1_notes_unit2_architecture.pptx

Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full TutorialAkshay Sharma
 
Indroduction the arduino
Indroduction the arduinoIndroduction the arduino
Indroduction the arduinoHasarinda Manjula
 
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHWORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHijdpsjournal
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerArun Kumar
 
Arduino and Circuits.docx
Arduino and Circuits.docxArduino and Circuits.docx
Arduino and Circuits.docxAjay578679
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentationC.Vamsi Krishna
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno boardGaurav
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boardselprocus
 
Up and running with Arduino
Up and running with Arduino Up and running with Arduino
Up and running with Arduino KUET
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)AkshetPatel
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoMohamed Essam
 

Similar to Embedded L1_notes_unit2_architecture.pptx (20)

Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full Tutorial
 
Indroduction arduino
Indroduction arduinoIndroduction arduino
Indroduction arduino
 
Indroduction the arduino
Indroduction the arduinoIndroduction the arduino
Indroduction the arduino
 
arduino uno.pptx
arduino uno.pptxarduino uno.pptx
arduino uno.pptx
 
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHWORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontroller
 
Arduino and Circuits.docx
Arduino and Circuits.docxArduino and Circuits.docx
Arduino and Circuits.docx
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
 
Arduino
ArduinoArduino
Arduino
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Ardu
ArduArdu
Ardu
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Up and running with Arduino
Up and running with Arduino Up and running with Arduino
Up and running with Arduino
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 

Recently uploaded

Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
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
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 

Recently uploaded (20)

young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
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
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 

Embedded L1_notes_unit2_architecture.pptx

  • 2. What is an Arduino ? • Open Source electronic prototyping platform based on flexible easy to use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments
  • 3. • Arduino is best for it’s hardware ,but also need software to program that hardware • Both the hardware and software are called Arduino • This combination enable to create projects that sense and control the physical word.
  • 4. Arduino Software • Software program ,called Sketches,are created on a computer using the Arduino intergratd development environment(IDE). • The IDE enables you to write and edit code and convert this code into the instructions that Arduino hardware understands. • The IDE also transfer those instruction to the Arduino board (it’s called uploading)
  • 5. Arduino Hardware • The Arduino board is where the code you write is executed. • The board can only control and respond to electricity ,so specific components are attached to it to enable it to interact with the real world. • Ex- sensors, actuators
  • 6.
  • 7. •The Arduino integrated development environment (IDE) is a cross-platform application written in Java, and is derived from the IDE for the Processing programming language and the Wiring projects •The Arduino Uno board can be programmed with the Arduino software. •Select “Arduino Uno from the Tools > Board menu (according to the microcontroller on your board). The Arduino integrated development environment (IDE)
  • 8. •The ATmega328 on the Arduino Uno comes preburned with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol. •32kbyte is the flash memory(program storing) •8 bit microcontroller(ALU= 8bit) •2 kb SRAM(Data)
  • 9. Installing the Integrated Development Environment (IDE) The Arduino software for Windows, Mac, and Linux can be downloaded from http:// arduino.cc/en/Main/Software. The Windows download is a ZIP file. Unzip the file to any convenient directory— Program Files/Arduino is a sensible place.
  • 10. On Windows, use the USB cable to connect your PC and the Arduino board and wait for the Found New Hardware Wizard to appear. You can let the wizard search for drivers and they will install automatically.
  • 11. Setting Up the Arduino Board Plug the board into a USB port on your computer and check that the green LED power indicator on the board illuminates
  • 12. •An orange LED near the center of the board (labeled “Pin 13 LED” in Figure 1- 4) should flash on and off when the board is powered up (boards come from the factory preloaded with software to flash the LED as a simple check that the board is working). •If the pin 13 LED is flashing, the sketch is running correctly, which means the chip on the board is working. If the green power LED is on but the pin 13 LED is not flashing, it could be that the factory code is not on the chip
  • 13. Using the Integrated Development Environment (IDE) to Prepare an Arduino Sketch Use the Arduino IDE to create, open, and modify sketches that define what the board will do. You can use buttons along the top of the IDE to perform these actions (shown in Figure 1-5), or you can use the menus or keyboard shortcuts (shown in Figure 1-6). The Sketch Editor area is where you view and edit code for a sketch. It supports common text editing keys such as Ctrl-F (⌘+F on a Mac) for find, Ctrl-Z (⌘+Z on a Mac) for undo, Ctrl-C (⌘+C on a Mac) to copy highlighted text, and Ctrl-V (⌘+V on a Mac) to paste highlighted text.
  • 15. Figure 1-6 shows how to load the Blink sketch (the sketch that comes preloaded on a new Arduino board). After you’ve started the IDE, go to the File→Examples menu and select 1.Basics→Blink, as shown in Figure 1-6. The code for blinking the built-in LED will be displayed in the Sketch Editor window.
  • 16. Before the code can be sent to the board, it needs to be converted into instructions that can be read and executed by the Arduino controller chip; this is called compiling. To do this, click the compile button (the top-left button with a triangle inside), or select Sketch→Verify/Compile. You should see a message that reads “Compiling...” in the message area below the text editing window. After a second or two, a message that reads “Done Compiling” will appear. The black console area will contain the following additional message: Binary sketch size: 1008 bytes (of a 32256 byte maximum) The exact message may differ depending on the Arduino version; it is telling you the size of the sketch and the maximum size that your board can accept.
  • 17. If there are errors in the code, the compiler will print one or more error messages in the console window. To prevent accidental overwriting of the examples, the Arduino IDE does not allow you to save changes to the provided example sketches. You must rename them using the Save As menu option. You can save sketches you write yourself with the Save button. Code uploaded onto the board cannot be downloaded back onto your computer. Make sure you save your sketch code on your computer. You cannot save changes back to the example files; you need to use Save As and give the changed file another name.
  • 18. Uploading and Running the Blink Sketch Connect your Arduino board to your computer using the USB cable. Load the Blink sketch into the IDE Next, select Tools→Board from the drop-down menu and select the name of the board you have connected. Now select Tools→Serial Port. You will get a drop-down list of available serial ports on your computer. Each machine will have a different combination of serial ports, depending on what other devices you have used with your computer. On Windows, they will be listed as numbered COM entries. If there is only one entry, select it. If there are multiple entries, your board will probably be the last entry.