SlideShare a Scribd company logo
1 of 27
CONCEPTS OF PROGRAMMING WITH
ARDUINO
G. Mahalakshmi Malini, AP/ECE
Avinashilingam Institute for Home Science and Higher Education for Women, School of
Engineering
Department of Electronics and Communication Engineering
Objective:
◦To understand the features, architecture
and programming of Arduino.
Outcomes:
◦At the end of the course, the student will be able
to
◦CO1: Understand Programming concepts of
Arduino Microcontroller with various interfaces
like memory & I/O devices.
◦CO2: Design real time problems using Arduino
Topics to be Discussed
◦Microprocessor
◦Microcontroller
◦System
◦Embedded System
◦Embedded system vs General computing system
what is the role of microprocessor in
embedded system?
◦ An embedded microprocessor is a computer chip used inside several devices and
equipments to provide added functionality. ...
◦ The functions of the microprocessor include fetching, decoding and processing the data.
Is microprocessor embedded system?
◦ Processor is the heart of an embedded system.
◦ It is the basic unit that takes inputs and produces an output after processing the data.
◦ For an embedded system designer, it is necessary to have the knowledge of
both microprocessors and microcontrollers.
What is the role of microcontroller in
embedded system?
◦ A microcontroller can be considered a self-contained system with a processor, memory and
peripherals and can be used as an embedded system.
◦ The majority of microcontrollers in use today are embedded in other machinery, such as
automobiles, telephones, appliances, and peripherals for computer systems.
System
◦ A system is an arrangement in which all its unit assemble and work
together according to a set of rules.
◦ It can also be defined as a way of working, organizing or doing one
or many tasks according to a fixed plan.
◦ For example, a watch is a time displaying system. Its components
follow a set of rules to show time.
◦ If one of its parts fails, the watch will stop working. So we can say,
in a system, all its subcomponents depend on each other.
SYSTEM EXAMPLES
WATCH
It is a time display SYSTEM.
Parts: Hardware, Needles, Battery, Dial, Chassis and Strap.
Rules
1.All needles move clockwise only
2.A thin needle rotates every second
3.A long needle rotates every minute
4.A short needle rotates every hour
5.All needles return to the original position after 12 hours
SYSTEM EXAMPLES
WASHING MACHINE
It is an automatic clothes washing SYSTEM Parts: Status display panel,
Switches & Dials, Motor, Power supply & control unit, Inner water level sensor
and solenoid valve.
Rules
1.Wash by spinning
2.Rinse
3.Drying
4.Wash over by blinking
5.Each step display the process stage
6.In case interruption, execute only the remaining
EMBEDDED SYSTEM
As its name suggests, Embedded means something that is attached to
another thing.
An embedded system can be thought of as a computer hardware system
having software embedded in it.
An embedded system can be an independent system or it can be a part of a
large system.
An embedded system is a microcontroller or microprocessor based system
which is designed to perform a specific task.
Embedded System vs General
Computing Systems
◦ A computer is an example of
general-purpose computing
system.
◦ A computer is a system that has
the following or more
components.
Computer Components (General
Computing System)
1) Microprocessor
2) A set of special purpose processor, for example graphic, input-output and network
processors
3) Large memory
4) I/O units, for example keyboard, mouse, digitizer, scanner, etc.
5) Output units, for example touch, LCD screen, video monitor and printer.
6) Networking units, for example Ethernet card, front-end processor-based server, bus drivers,
etc.
7) An operating system (OS)
Memory consist of the following parts
1) Caches in the processor.
2) Primary memory (semiconductor memory – RAM, ROM).
3) Secondary memory (magnetic memory located in hard disks)
General-purpose computing system
characteristics
◦ Program first loads in the RAM and then runs general-purpose programs,
programs of multiple users and multiple tasks.
◦ Requires an operating system (OS)
◦ Runs complex algorithms fast, and
◦ Provides a complex set of graphic or touch-screen user interfaces (GUIs).
General-purpose computing system
Constraints
◦ The system has little constraints of memory and no time deadlines to finish the
execution of the tasks of a program.
COMPONENTS OF EMBEDDED
SYSTEM
◦ It has Hardware
Processor, Timers, Interrupt controller, I/O Devices, Memories, Ports, etc.
◦ It has main Application Software
Which may perform concurrently the series of tasks or multiple tasks.
◦ It has Real Time Operating System (RTOS)
RTOS defines the way the system work. Which supervise the application software. It
sets the rules during the execution of the application program. A small scale embedded system
may not need an RTOS.
So we can define an embedded system as a Microcontroller based, software driven,
reliable, real-time control system.
Embedded System Characteristics
1. Dedicated functions
2. Dedicated complex algorithms
3. Dedicated (GUIs) and other user interfaces for the application
4. Real time operations— Defines the ways in which the system works.
5. Multi-rate operations — Different operations may take place at distinct rates.
For example, the audio, video, network data or stream and events have the
different rates and time constraints to finish associated processes.
EMBEDDED SYSTEM
CONSTRAINTS
◦ An embedded system is designed to keep in view three constraints:
– Available system memory
– Available processor speed
– The need to limit the power dissipation
When running the system continuously in cycles of wait for events, run, stop and
wakeup.
Introduction to Embedded System
Design
Steps in the Embedded System
Design Process.
Embedded system design process
consist of the following steps:
◦ Abstraction
In this stage the problem related to the system is abstracted.
Hardware – Software Architecture
Proper knowledge of hardware and software to be known before starting any
design process.
Extra Functional Properties
Extra functions to be implemented are to be understood completely from the
main design.
◦ System Related Family of Design
When designing a system, one should refer to a previous system-related family
of design.
Modular Design
Separate module designs must be made so that they can be used later on when
required.
◦ Mapping
Based on software mapping is done. For example, data flow and program flow
are mapped into one.
User Interface Design
In user interface design it depends on user requirements, environment
analysis and function of the system. For example, on a mobile phone if
we want to reduce the power consumption of mobile phones we take
care of other parameters, so that power consumption can be reduced.
◦ Refinement
Every component and module must be refined appropriately so that the
software team can understand.
Design Process and Design Examples
◦ Automatic Chocolate vending machine
◦ Let us consider an automatic chocolate vending machine.
◦ Understand several concepts of programming an embedded system as a
multitasking system.
ACVM
Arduino

More Related Content

What's hot

Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer OrganizationOm Prakash
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded HardwareSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded HardwareArti Parab Academics
 
Input output accessing
Input output accessingInput output accessing
Input output accessingankitraosingh
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization faria_khan
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5Umang Gupta
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 MicrocontrollersArti Parab Academics
 
Design an I/O system
Design an I/O systemDesign an I/O system
Design an I/O systemAARTHI SEETHA
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems MemorySYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems MemoryArti Parab Academics
 
COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5Dr.MAYA NAYAK
 
Microproccesor and Microcontrollers hardware basics
Microproccesor and Microcontrollers hardware basicsMicroproccesor and Microcontrollers hardware basics
Microproccesor and Microcontrollers hardware basicsashmus
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureBai Haqi
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interfacevishal choudhary
 
Unit 4-l ecture3-io interface
Unit 4-l ecture3-io interfaceUnit 4-l ecture3-io interface
Unit 4-l ecture3-io interfacevishal choudhary
 

What's hot (20)

Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded HardwareSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
 
Input output module
Input output moduleInput output module
Input output module
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 
I/O System
I/O SystemI/O System
I/O System
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Chapter1a
Chapter1aChapter1a
Chapter1a
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
 
Design an I/O system
Design an I/O systemDesign an I/O system
Design an I/O system
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems MemorySYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
 
COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5
 
Microproccesor and Microcontrollers hardware basics
Microproccesor and Microcontrollers hardware basicsMicroproccesor and Microcontrollers hardware basics
Microproccesor and Microcontrollers hardware basics
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
 
Unit 4-l ecture3-io interface
Unit 4-l ecture3-io interfaceUnit 4-l ecture3-io interface
Unit 4-l ecture3-io interface
 
Input & Output
Input & OutputInput & Output
Input & Output
 

Similar to Arduino

introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentationAmr Rashed
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfabdisahirko
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embeddedPavithra S
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded systemajitsaraf123
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsSandeep Reddy
 
es1-150721100817-lva1-app6891.pdf
es1-150721100817-lva1-app6891.pdfes1-150721100817-lva1-app6891.pdf
es1-150721100817-lva1-app6891.pdfAshwin180668
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded Systemrmkceteee
 
Embedded system by owais
Embedded system by owaisEmbedded system by owais
Embedded system by owaisOwais Mushtaq
 
Embedded system notes
Embedded system notesEmbedded system notes
Embedded system notesTARUN KUMAR
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanabhimaha09
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanAbhishek Mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanAbhishek Mahajan
 
Unit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesUnit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesDr. Pankaj Zope
 

Similar to Arduino (20)

introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentation
 
dhamo
dhamodhamo
dhamo
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdf
 
Module-1 Embedded computing.pdf
Module-1 Embedded computing.pdfModule-1 Embedded computing.pdf
Module-1 Embedded computing.pdf
 
EE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptxEE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptx
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embedded
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
es1-150721100817-lva1-app6891.pdf
es1-150721100817-lva1-app6891.pdfes1-150721100817-lva1-app6891.pdf
es1-150721100817-lva1-app6891.pdf
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
 
Embedded system by owais
Embedded system by owaisEmbedded system by owais
Embedded system by owais
 
Embedded system notes
Embedded system notesEmbedded system notes
Embedded system notes
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Embedded Device.pptx
Embedded Device.pptxEmbedded Device.pptx
Embedded Device.pptx
 
ERTS_IV_ECE.pptx
ERTS_IV_ECE.pptxERTS_IV_ECE.pptx
ERTS_IV_ECE.pptx
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Unit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesUnit-I Basic Embedded System Notes
Unit-I Basic Embedded System Notes
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
 

More from mahalakshmimalini

More from mahalakshmimalini (16)

Electronics components and connections
Electronics components and connectionsElectronics components and connections
Electronics components and connections
 
Arduino Functions
Arduino FunctionsArduino Functions
Arduino Functions
 
Arduino IDE
Arduino IDEArduino IDE
Arduino IDE
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Dc machines
Dc machines Dc machines
Dc machines
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
18 beps02 electrical technology
18 beps02  electrical technology18 beps02  electrical technology
18 beps02 electrical technology
 
Presentation1
Presentation1Presentation1
Presentation1
 
Pic 16 f877a architecture1
Pic 16 f877a architecture1Pic 16 f877a architecture1
Pic 16 f877a architecture1
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Energy Harvesting for Wearable Devices
Energy Harvesting for Wearable DevicesEnergy Harvesting for Wearable Devices
Energy Harvesting for Wearable Devices
 
Artifical Neural Network
Artifical Neural NetworkArtifical Neural Network
Artifical Neural Network
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
Background to nanotechnology
Background to nanotechnologyBackground to nanotechnology
Background to nanotechnology
 
Introduction to nano technology
Introduction to nano technologyIntroduction to nano technology
Introduction to nano technology
 
Unit I - Introduction to VLSI
Unit I -  Introduction to VLSIUnit I -  Introduction to VLSI
Unit I - Introduction to VLSI
 

Recently uploaded

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
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
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
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
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
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
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
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
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
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
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
 

Recently uploaded (20)

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
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
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
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
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
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
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
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.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...
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
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 )
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
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
 
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
 

Arduino

  • 1. CONCEPTS OF PROGRAMMING WITH ARDUINO G. Mahalakshmi Malini, AP/ECE Avinashilingam Institute for Home Science and Higher Education for Women, School of Engineering Department of Electronics and Communication Engineering
  • 2. Objective: ◦To understand the features, architecture and programming of Arduino.
  • 3. Outcomes: ◦At the end of the course, the student will be able to ◦CO1: Understand Programming concepts of Arduino Microcontroller with various interfaces like memory & I/O devices. ◦CO2: Design real time problems using Arduino
  • 4. Topics to be Discussed ◦Microprocessor ◦Microcontroller ◦System ◦Embedded System ◦Embedded system vs General computing system
  • 5. what is the role of microprocessor in embedded system? ◦ An embedded microprocessor is a computer chip used inside several devices and equipments to provide added functionality. ... ◦ The functions of the microprocessor include fetching, decoding and processing the data.
  • 6. Is microprocessor embedded system? ◦ Processor is the heart of an embedded system. ◦ It is the basic unit that takes inputs and produces an output after processing the data. ◦ For an embedded system designer, it is necessary to have the knowledge of both microprocessors and microcontrollers.
  • 7. What is the role of microcontroller in embedded system? ◦ A microcontroller can be considered a self-contained system with a processor, memory and peripherals and can be used as an embedded system. ◦ The majority of microcontrollers in use today are embedded in other machinery, such as automobiles, telephones, appliances, and peripherals for computer systems.
  • 8. System ◦ A system is an arrangement in which all its unit assemble and work together according to a set of rules. ◦ It can also be defined as a way of working, organizing or doing one or many tasks according to a fixed plan. ◦ For example, a watch is a time displaying system. Its components follow a set of rules to show time. ◦ If one of its parts fails, the watch will stop working. So we can say, in a system, all its subcomponents depend on each other.
  • 9. SYSTEM EXAMPLES WATCH It is a time display SYSTEM. Parts: Hardware, Needles, Battery, Dial, Chassis and Strap. Rules 1.All needles move clockwise only 2.A thin needle rotates every second 3.A long needle rotates every minute 4.A short needle rotates every hour 5.All needles return to the original position after 12 hours
  • 10. SYSTEM EXAMPLES WASHING MACHINE It is an automatic clothes washing SYSTEM Parts: Status display panel, Switches & Dials, Motor, Power supply & control unit, Inner water level sensor and solenoid valve. Rules 1.Wash by spinning 2.Rinse 3.Drying 4.Wash over by blinking 5.Each step display the process stage 6.In case interruption, execute only the remaining
  • 11. EMBEDDED SYSTEM As its name suggests, Embedded means something that is attached to another thing. An embedded system can be thought of as a computer hardware system having software embedded in it. An embedded system can be an independent system or it can be a part of a large system. An embedded system is a microcontroller or microprocessor based system which is designed to perform a specific task.
  • 12. Embedded System vs General Computing Systems ◦ A computer is an example of general-purpose computing system. ◦ A computer is a system that has the following or more components.
  • 13.
  • 14. Computer Components (General Computing System) 1) Microprocessor 2) A set of special purpose processor, for example graphic, input-output and network processors 3) Large memory 4) I/O units, for example keyboard, mouse, digitizer, scanner, etc. 5) Output units, for example touch, LCD screen, video monitor and printer. 6) Networking units, for example Ethernet card, front-end processor-based server, bus drivers, etc. 7) An operating system (OS)
  • 15. Memory consist of the following parts 1) Caches in the processor. 2) Primary memory (semiconductor memory – RAM, ROM). 3) Secondary memory (magnetic memory located in hard disks)
  • 16. General-purpose computing system characteristics ◦ Program first loads in the RAM and then runs general-purpose programs, programs of multiple users and multiple tasks. ◦ Requires an operating system (OS) ◦ Runs complex algorithms fast, and ◦ Provides a complex set of graphic or touch-screen user interfaces (GUIs).
  • 17. General-purpose computing system Constraints ◦ The system has little constraints of memory and no time deadlines to finish the execution of the tasks of a program.
  • 18. COMPONENTS OF EMBEDDED SYSTEM ◦ It has Hardware Processor, Timers, Interrupt controller, I/O Devices, Memories, Ports, etc. ◦ It has main Application Software Which may perform concurrently the series of tasks or multiple tasks. ◦ It has Real Time Operating System (RTOS) RTOS defines the way the system work. Which supervise the application software. It sets the rules during the execution of the application program. A small scale embedded system may not need an RTOS. So we can define an embedded system as a Microcontroller based, software driven, reliable, real-time control system.
  • 19. Embedded System Characteristics 1. Dedicated functions 2. Dedicated complex algorithms 3. Dedicated (GUIs) and other user interfaces for the application 4. Real time operations— Defines the ways in which the system works. 5. Multi-rate operations — Different operations may take place at distinct rates. For example, the audio, video, network data or stream and events have the different rates and time constraints to finish associated processes.
  • 20. EMBEDDED SYSTEM CONSTRAINTS ◦ An embedded system is designed to keep in view three constraints: – Available system memory – Available processor speed – The need to limit the power dissipation When running the system continuously in cycles of wait for events, run, stop and wakeup.
  • 21. Introduction to Embedded System Design Steps in the Embedded System Design Process. Embedded system design process consist of the following steps:
  • 22. ◦ Abstraction In this stage the problem related to the system is abstracted. Hardware – Software Architecture Proper knowledge of hardware and software to be known before starting any design process. Extra Functional Properties Extra functions to be implemented are to be understood completely from the main design.
  • 23. ◦ System Related Family of Design When designing a system, one should refer to a previous system-related family of design. Modular Design Separate module designs must be made so that they can be used later on when required. ◦ Mapping Based on software mapping is done. For example, data flow and program flow are mapped into one.
  • 24. User Interface Design In user interface design it depends on user requirements, environment analysis and function of the system. For example, on a mobile phone if we want to reduce the power consumption of mobile phones we take care of other parameters, so that power consumption can be reduced. ◦ Refinement Every component and module must be refined appropriately so that the software team can understand.
  • 25. Design Process and Design Examples ◦ Automatic Chocolate vending machine ◦ Let us consider an automatic chocolate vending machine. ◦ Understand several concepts of programming an embedded system as a multitasking system.
  • 26. ACVM