SlideShare a Scribd company logo
Unit 46
Embedded
Systems
Unit Tutor – Athira Sobha
Embedded Systems and Arduino Architecture
Embedded Systems and Arduino Architecture
Embedded Systems and Arduino Architecture
What is an Embedded System?
• An embedded system is a device or product which contains
one or more tiny computers hidden inside it.
• This hidden computer is usually a microcontroller which is
used to control the device and give it added intelligence.
• https://www.youtube.com/watch?v=3v0J0Em02FM
• https://www.youtube.com/watch?v=AyWmxrYM5yk
Embedded Systems and Arduino Architecture
What is a Microcontroller?
What is a Microcontroller?
• A Microcontroller is a VLSI (Very Large Scale Integration)
Integrated Circuit (IC) that contains electronic computing
unit and logic unit (combinedly known as CPU), Memory
(Program Memory and Data Memory), I/O Ports (Input /
Output Ports) and few other components integrated on a
single chip.
• If a device or an application involves measuring, storing,
calculating, controlling or displaying information, then
device contains a Microcontroller in it.
Microcontroller Architecture
https://www.electronicshub.org/microcontrollers-basics-structure-
applications/
Components of Microcontroller
• Central Processing Unit (CPU)
• Program Memory (ROM – Read Only Memory)
• Data Memory (RAM – Random Access Memory)
• Timers and Counters
• I/O Ports (I/O – Input/Output)
• Serial Communication Interface
• Clock Circuit (Oscillator Circuit)
• Interrupt Mechanism
• Class Activity – Multiple choice Questions
1. CPU - Central Processing Unit or CPU is the brain of the
Microcontroller. It consists of an Arithmetic Logic Unit (ALU) and a
Control Unit (CU). A CPU reads, decodes and executes instructions
to perform Arithmetic, Logic and Data Transfer operations.
2. Memory - Any Computational System requires two types of
memory: Program Memory and Data Memory.
• Program Memory, as the name suggests, contains the program
i.e. the instructions to be executed by the CPU. It is Read Only
Memory or ROM
• Data Memory on the other hand, is required to store temporary
data while executing the instructions. It is Random Access
Memory or RAM [ also called Read Write Memory (R/W M)]
• https://www.shiksha.com/online-courses/articles/types-of-memo
ry-in-computer/
Major components of
Microcontrolller
3. I/O Ports
• The interface for the Microcontroller to the external world is
provided by the I/O Ports or Input/Output Ports.
• Inputs device like Switches, Keypads, etc. provide information
from the user to the CPU in the form of Binary Data.
• The CPU, upon receiving the data from the input devices,
executes appropriate instructions and gives response through
Output Devices like LEDs, Displays, Printers, etc.
Other components in Microcontroller
1. Bus - A System bus is a group of connecting wire that connect
the CPU with other peripherals like Memory, I/O Ports and
other supporting components.
2. Timers/Counters - They provide the operations of Time Delays
and counting external events.
3. Serial Port - Serial communication (also called RS232
communication) enables a microcontroller to be connected to
another microcontroller or to a PC using a serial cable. Some
microcontrollers have built-in hardware called USART
(universal synchronous-asynchronous receiver-transmitter) to
implement a serial communication interface.
4. Interrupts – are signals that tell the microcontroller to stop
what it is doing and execute a specific function, called an interrupt
service routine (ISR). An interrupt temporarily stops or terminates
a service or a current process.
• Interrupts can be triggered by various sources, such as buttons,
sensors, serial communication, or other peripherals.
5. ADC (Analog to Digital Converter)- The ADC Circuit forms the
interface between the external Analog Input devices and the CPU
of the Microcontroller.
6. DAC (Digital to Analog Converter) - DAC forms the bridge
between the CPU of the Microcontroller and the external analog
devices
L01 Explore the principle features of a microcontroller and explain
the purpose of its constituent parts.
Assignment question - Part 1:
• You have been given Arduino Uno and
has been asked to critically evaluate
microcontroller architectures and
subsystems, exploring characteristics
such as electrical, timing and size for
which Arduino Uno used to do all its
performance. In doing so, you
must explain the function of the main
microcontroller elements referring by
examining its input/output hardware
interfaces and the software
architecture required.
Assessment criteria for Part 1(Need theoretical
explanations only)
P1 – Examine the hardware interfaces and software
architecture of a selected microcontroller
• Explain in detail about hardware components of Arduino
board with proper diagrams
• Also explain about the Arduino codes called sketches,
compiling and uploading of code to ardunio board. Include
basic functions of blocks in a code.
• Class Activity – Label the given Arduino Uno worksheet
Arduino
UNO-Hardware
Layout
Arduino Functionality – Hardware
Components
• ATMega328P - This is the CPU of the Arduino. This microcontroller
is responsible for holding all of your compiled code and executing
the commands you specify.
• Reset button - Reset the CPU chip to restart the execution of
your program.
• DC Barrel Jack(External Power supply) - The barrel jack is
another method of powering the Arduino Uno microcontroller,
both 9V and 12V adapters can connect to the jack.
• USB Plug – The type B USB port on the Arduino is used for
providing communication with a computer. This enables to
loading of firmware onto the board.
• In-Circuit Serial Programmer[ICSP] - These pins are
used to code and boot an Arduino from an external source.
These pins allow inter workings of two or more Arduino
boards and also allow you to upload your firmware.
• I/O Ports - The Arduino Uno has both digital and analogue
inputs, there are 14 digital input pins, and 6 analogue pins.
• https://www.electronicshub.org/arduino-uno-pinout/ -
Arduino Pinout Specifications
• https://www.tutorialspoint.com/arduino/arduino_overview.h
tm
- Arduino Tutorial
Arduino Software
• Arduino Uno requires uploaded code (called Sketches) which it
executes.
• This is done through Arduino Integrated Development
Environment (IDE) – an application downloaded on a parent
device to write code.
• Code is written in C++.
• Every Arduino script includes two main functions:
• Setup(): Involves declaring variables, pins as input or output, data
rate for the serial terminal etc
• Loop(): Ensures the script will run as the board is powered.
P2 – Explain the function of main microcontroller
elements
• Explain about microcontroller structure and describe its
components with proper diagrams
M1 – Evaluate microcontroller architectures and subsystems
exploring characteristics such as electrical, timing and size.
D1 – Critically evaluate microcontroller architectures and
subsystems exploring characteristics such as electrical,
timing and size.
• Explain about different types of memory architectures –
Harvard Vs Von Neumann
• Also explain about different types of Instruction sets – CISC Vs
RISC

More Related Content

PPTX
LECT 2.pptx
PPTX
microcontroller-presentation-1-638 (30 files merged).pptx
PPTX
Micro Controllers engineering - computer engineering
PPTX
Microcontroller presentation
PPTX
Embedded systems 101 final
PPTX
arduino-1.pptxbxavvgAzccgzs fla sh ga aana
PPT
Embedded systems POWER SUPPLIES ARDUINO UNO
PPT
Embedded systems applications and atmega328.ppt
LECT 2.pptx
microcontroller-presentation-1-638 (30 files merged).pptx
Micro Controllers engineering - computer engineering
Microcontroller presentation
Embedded systems 101 final
arduino-1.pptxbxavvgAzccgzs fla sh ga aana
Embedded systems POWER SUPPLIES ARDUINO UNO
Embedded systems applications and atmega328.ppt

Similar to Embedded Systems and Arduino Architecture (20)

PPT
micro controllers 1.ppt
PPTX
Iot Workshop NITT 2015
PDF
Introduction to arduino
PDF
Introduction to Arduino
PPTX
ATmegaMicrocontrollerArchitecturenotes.pptx
PPTX
Arduino and its hw architecture
PPTX
Microcontroller
PPT
MKLecture01eng.ppt
PPTX
PPT WITH GRP.pptx Which microcontroller used in our projects ?
PPTX
MICRO_CONTROLLER PRACTICE1_Programming.pptx
PPTX
Project report on embedded system using 8051 microcontroller
PPTX
6-MicrocontrollersSystemLessonOneSix.pptx
PPTX
Embeded System for Artificial intelligence 2.pptx
PPTX
Embedded for Artificial Intelligence 2.pptx
PPTX
Lecture 1.1.1 (Introduction to Microcontroller and Microprrocessor) (1).pptx
DOCX
Arduino PAPER ABOUT INTRODUCTION
PPTX
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
PPTX
Arduino board program for Mobile robotss
PPTX
Unit 1 Introduction to Arduino BOARD.pptx
PPTX
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
micro controllers 1.ppt
Iot Workshop NITT 2015
Introduction to arduino
Introduction to Arduino
ATmegaMicrocontrollerArchitecturenotes.pptx
Arduino and its hw architecture
Microcontroller
MKLecture01eng.ppt
PPT WITH GRP.pptx Which microcontroller used in our projects ?
MICRO_CONTROLLER PRACTICE1_Programming.pptx
Project report on embedded system using 8051 microcontroller
6-MicrocontrollersSystemLessonOneSix.pptx
Embeded System for Artificial intelligence 2.pptx
Embedded for Artificial Intelligence 2.pptx
Lecture 1.1.1 (Introduction to Microcontroller and Microprrocessor) (1).pptx
Arduino PAPER ABOUT INTRODUCTION
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Arduino board program for Mobile robotss
Unit 1 Introduction to Arduino BOARD.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
Ad

Recently uploaded (20)

PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
01-Introduction-to-Information-Management.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Structure & Organelles in detailed.
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Basic Mud Logging Guide for educational purpose
PDF
Classroom Observation Tools for Teachers
PDF
VCE English Exam - Section C Student Revision Booklet
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
01-Introduction-to-Information-Management.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Structure & Organelles in detailed.
Microbial diseases, their pathogenesis and prophylaxis
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
O7-L3 Supply Chain Operations - ICLT Program
Anesthesia in Laparoscopic Surgery in India
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Final Presentation General Medicine 03-08-2024.pptx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Basic Mud Logging Guide for educational purpose
Classroom Observation Tools for Teachers
VCE English Exam - Section C Student Revision Booklet
Ad

Embedded Systems and Arduino Architecture

  • 5. What is an Embedded System? • An embedded system is a device or product which contains one or more tiny computers hidden inside it. • This hidden computer is usually a microcontroller which is used to control the device and give it added intelligence. • https://www.youtube.com/watch?v=3v0J0Em02FM • https://www.youtube.com/watch?v=AyWmxrYM5yk
  • 7. What is a Microcontroller?
  • 8. What is a Microcontroller? • A Microcontroller is a VLSI (Very Large Scale Integration) Integrated Circuit (IC) that contains electronic computing unit and logic unit (combinedly known as CPU), Memory (Program Memory and Data Memory), I/O Ports (Input / Output Ports) and few other components integrated on a single chip. • If a device or an application involves measuring, storing, calculating, controlling or displaying information, then device contains a Microcontroller in it.
  • 10. Components of Microcontroller • Central Processing Unit (CPU) • Program Memory (ROM – Read Only Memory) • Data Memory (RAM – Random Access Memory) • Timers and Counters • I/O Ports (I/O – Input/Output) • Serial Communication Interface • Clock Circuit (Oscillator Circuit) • Interrupt Mechanism • Class Activity – Multiple choice Questions
  • 11. 1. CPU - Central Processing Unit or CPU is the brain of the Microcontroller. It consists of an Arithmetic Logic Unit (ALU) and a Control Unit (CU). A CPU reads, decodes and executes instructions to perform Arithmetic, Logic and Data Transfer operations. 2. Memory - Any Computational System requires two types of memory: Program Memory and Data Memory. • Program Memory, as the name suggests, contains the program i.e. the instructions to be executed by the CPU. It is Read Only Memory or ROM • Data Memory on the other hand, is required to store temporary data while executing the instructions. It is Random Access Memory or RAM [ also called Read Write Memory (R/W M)] • https://www.shiksha.com/online-courses/articles/types-of-memo ry-in-computer/ Major components of Microcontrolller
  • 12. 3. I/O Ports • The interface for the Microcontroller to the external world is provided by the I/O Ports or Input/Output Ports. • Inputs device like Switches, Keypads, etc. provide information from the user to the CPU in the form of Binary Data. • The CPU, upon receiving the data from the input devices, executes appropriate instructions and gives response through Output Devices like LEDs, Displays, Printers, etc.
  • 13. Other components in Microcontroller 1. Bus - A System bus is a group of connecting wire that connect the CPU with other peripherals like Memory, I/O Ports and other supporting components. 2. Timers/Counters - They provide the operations of Time Delays and counting external events. 3. Serial Port - Serial communication (also called RS232 communication) enables a microcontroller to be connected to another microcontroller or to a PC using a serial cable. Some microcontrollers have built-in hardware called USART (universal synchronous-asynchronous receiver-transmitter) to implement a serial communication interface.
  • 14. 4. Interrupts – are signals that tell the microcontroller to stop what it is doing and execute a specific function, called an interrupt service routine (ISR). An interrupt temporarily stops or terminates a service or a current process. • Interrupts can be triggered by various sources, such as buttons, sensors, serial communication, or other peripherals. 5. ADC (Analog to Digital Converter)- The ADC Circuit forms the interface between the external Analog Input devices and the CPU of the Microcontroller. 6. DAC (Digital to Analog Converter) - DAC forms the bridge between the CPU of the Microcontroller and the external analog devices
  • 15. L01 Explore the principle features of a microcontroller and explain the purpose of its constituent parts. Assignment question - Part 1: • You have been given Arduino Uno and has been asked to critically evaluate microcontroller architectures and subsystems, exploring characteristics such as electrical, timing and size for which Arduino Uno used to do all its performance. In doing so, you must explain the function of the main microcontroller elements referring by examining its input/output hardware interfaces and the software architecture required.
  • 16. Assessment criteria for Part 1(Need theoretical explanations only) P1 – Examine the hardware interfaces and software architecture of a selected microcontroller • Explain in detail about hardware components of Arduino board with proper diagrams • Also explain about the Arduino codes called sketches, compiling and uploading of code to ardunio board. Include basic functions of blocks in a code. • Class Activity – Label the given Arduino Uno worksheet
  • 18. Arduino Functionality – Hardware Components • ATMega328P - This is the CPU of the Arduino. This microcontroller is responsible for holding all of your compiled code and executing the commands you specify. • Reset button - Reset the CPU chip to restart the execution of your program. • DC Barrel Jack(External Power supply) - The barrel jack is another method of powering the Arduino Uno microcontroller, both 9V and 12V adapters can connect to the jack. • USB Plug – The type B USB port on the Arduino is used for providing communication with a computer. This enables to loading of firmware onto the board.
  • 19. • In-Circuit Serial Programmer[ICSP] - These pins are used to code and boot an Arduino from an external source. These pins allow inter workings of two or more Arduino boards and also allow you to upload your firmware. • I/O Ports - The Arduino Uno has both digital and analogue inputs, there are 14 digital input pins, and 6 analogue pins. • https://www.electronicshub.org/arduino-uno-pinout/ - Arduino Pinout Specifications • https://www.tutorialspoint.com/arduino/arduino_overview.h tm - Arduino Tutorial
  • 20. Arduino Software • Arduino Uno requires uploaded code (called Sketches) which it executes. • This is done through Arduino Integrated Development Environment (IDE) – an application downloaded on a parent device to write code. • Code is written in C++. • Every Arduino script includes two main functions: • Setup(): Involves declaring variables, pins as input or output, data rate for the serial terminal etc • Loop(): Ensures the script will run as the board is powered.
  • 21. P2 – Explain the function of main microcontroller elements • Explain about microcontroller structure and describe its components with proper diagrams M1 – Evaluate microcontroller architectures and subsystems exploring characteristics such as electrical, timing and size. D1 – Critically evaluate microcontroller architectures and subsystems exploring characteristics such as electrical, timing and size. • Explain about different types of memory architectures – Harvard Vs Von Neumann • Also explain about different types of Instruction sets – CISC Vs RISC