Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

Similar documents
Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

Microprocessors/Microcontrollers

Introduction to Microcontrollers

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers

Introducing Microcontrollers System Design

Overview of Microcontroller and Embedded Systems

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Computer Organization

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Basic Components of Digital Computer

MECE336 Microprocessors I

Robotic Systems ECE 401RB Fall 2006

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

EE 308: Microcontrollers

Summer 2003 Lecture 18 07/09/03

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

CS-424/580A Microcontrollers and Robotics

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Memory & Simple I/O Interfacing

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

Lecture (02) PIC16F84 (I)

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

Lecture 1. Course Overview and The 8051 Architecture

3.1 Description of Microprocessor. 3.2 History of Microprocessor


Computer Hardware Requirements for Real-Time Applications

Explain the functions of the main components of a basic computer system (Part 2) S. Neebar

Microprocessor. Dr. Rabie A. Ramadan. Al-Azhar University Lecture 1

Central Processing Unit. Steven R. Bagley

Computer Organization and Assembly Language (CS-506)

Chapter One. Introduction to Computer System

Microprocessors and Microcontrollers. Assignment 1:

Embedded Training MakeICT Workshop

Memory classification:- Topics covered:- types,organization and working

Choosing a Micro for an Embedded System Application

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

ELCT 912: Advanced Embedded Systems

Robotic Systems ECE 401RB Fall 2007

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

Digital Circuits Part 2 - Communication

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

System Unit. By: Khadeeja Farkash

EMBEDDED SYSTEM BASICS AND APPLICATION

RISC (Reduced Instruction Set Computer)

ECE 471 Embedded Systems Lecture 2

ELC4438: Embedded System Design Embedded Processor

Microprocessors, Lecture 1: Introduction to Microprocessors

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

Lecture 6: Embedded Systems and Microcontrollers

UNIT:4 MEMORY ORGANIZATION

MICROCONTROLLERS 8051

CSC 170 Introduction to Computers and Their Applications. Computers

8051 INTERFACING TO EXTERNAL MEMORY

Embedded Systems. Computer Organization. Wednesday 25 November 15

MODULE 12 APPLICATIONS OF MEMORY DEVICES:

Sistemas Digitais I LESI - 2º ano

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

Computers: Inside and Out

THE MICROCOMPUTER SYSTEM CHAPTER - 2

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

Electronic Control systems are also: Members of the Mechatronic Systems. Control System Implementation. Printed Circuit Boards (PCBs) - #1

COMP2121: Microprocessors and Interfacing. Instruction Set Architecture (ISA)

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

University of Alexandria Faculty of Engineering Division of Communications & Electronics

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

Chapter 5 Internal Memory

Fig 1. Block diagram of a microcomputer

Control System Implementation

Module 2: Introduction to AVR ATmega 32 Architecture

Sense Amplifiers 6 T Cell. M PC is the precharge transistor whose purpose is to force the latch to operate at the unstable point.

Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack

Microcontrollers. Microcontroller

Basic Computer Architecture

1 Introduction to Microcontrollers

Learning Module 9. Managing the Sensor: Embedded Computing. Paul Flikkema. Department of Electrical Engineering Northern Arizona University

Microprocessor (COM 9323)

Lecture (04) PIC 16F84A programming I

Computer Systems Organization

EMBEDDED SYSTEMS COURSE CURRICULUM

Semiconductor Memories: RAMs and ROMs

8051 MICROCONTROLLERS

Chapter 2 Logic Gates and Introduction to Computer Architecture

ME 515 Mechatronics. A microprocessor

Rad-Hard Microcontroller For Space Applications

Introduction to a Typical PC. Freedom High School

Q1. Describe C.P.U and its subunits with the help of diagram?

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

PDF created with pdffactory Pro trial version How Computer Memory Works by Jeff Tyson. Introduction to How Computer Memory Works

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

Transcription:

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee ١ Agenda What is microprocessor system? What is Microcontroller/embedded system? Definition of Embedded Systems Examples Computer Essentials Microprocessors and Microcontrollers PIC Microcontrollers PIC 12 series PIC 16 series 16f84 ٢

What is microprocessor system? Microprocessor (MP) is an electronic micro chip or integrated circuit, contains millions of transistor. MP is capable of carrying out tens of arithmetic and logic operations, in a very high speed (scale of Nano seconds). MP runs instructions coded using, Machine Language; such as, assembly (assembly is an easy low level language that human can understand and write). ٣ Pieces of assembly code, are combined together to build something called routine or macro that enable microprocessor to execute complex tasks, such as solving differentials equations, drawing graphs, moving mouse cursor, etc ٤

MP is just a brain. It can t work alone. It needs a lot of peripherals to support its operations, such as, RAM, ROM, Interfaces, Busses, and so on.. Address bus CPU ROM RAM I/O interface I/O devices Data bus Control bus ٥ MP can be considered as the main block of modern computers, mobile phones, tablets, or even a complex system (advanced and enormous) such as, medical instruments, and industrial machines ٦

A computer is a programmable machine that receives input, stores and manipulates data//information, and provides output in a useful format. ٧ What is Microcontroller/embedded system? Microcontroller is a simple version of microprocessor. MC can work alone, and you don t need to build an enormous board to bring MC into action. Just connect clock source then power up. MC Address bus CPU ROM RAM I/O interface I/O devices Data bus Control bus ٨

As we see, microprocessor need many other peripherals and components to work. So it s not reasonable to build such enormous board to execute minor and simple operation like displaying clock on LCD or control some appliance. ٩ So MC as a limited or light version of microprocessor, it has its own small ROM, RAM, interface bus, counters,. Etc It s expected that MC is slower than MP. ١٠

That means with using single IC and clock source, and suitable power supply, you can build a programmable device to control a few appliances or even build a simple controller to be embedded in the appliance itself. ١١ Definition of Embedded Systems 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. ١٢

Examples: Refrigerator ١٣ Examples: Car Door ١٤

Examples: Game : Electronic Pingpong ١٥ Examples: Derbot Autonomous Guided Vehicle ١٦

١٧ Example : DG starter card ١٨

١٩ DG starter card demo ٢٠

Example : movement/intruder detector ٢١ ٢٢

Modern open source embedded systems The Arduino microcontroller is an open source hardware controller which is designed to easily interface with a variety of sensors (to register user inputs), and to drive the responses and behaviors of external components such as LEDs, motors, and speakers (to respond to user inputs) ٢٣ PWR IN USB (to Computer) RESET SCL\SDA (I2C Bus) POWER 5V / 3.3V / GND Analog INPUTS Digital I\O PWM(3, 5, 6, 9, 10, 11) ٢٤

Arduino is a small mother board, that has it s clock generator, power source, USB interface, and of course boot loader. Arduino is expandable MC, you can buy extra upgrade board for WiFi, GSM, Ethernet, Motor driver, LCD, etc. Arduino is programmed using high level language (mixed between C and Java), there is no assembly any more. ٢٥ Example of Arduino Project : parking alarm ٢٦

Basics ٢٧ Instruction Sets CISC: Complex Instruction Set Computer RISC: Reduced Instruction Set Computer Memory Types Volatile: Random Access Memory (RAM) Non volatile: Read Only Memory (ROM) ٢٨

Von Neumann and Harvard Computers ٢٩ Review of Memory Technologies Read Only Memory (ROM) Random Access Memory (RAM): Read/Write Static RAM (SRAM): Each cell is a simple flip flop of six transistors, CMOS, volatile Programmable ROM (PROM): Each cell is one transistor, MOS, non volatile, plastic package. Erasable PROM (EPROM): Each cell is one transistor, MOS, non volatile, erasable with ultraviolet light, ceramic package with quartz window. ٣٠

Electrically EPROM (EEPROM): Each cell is one transistor with additional transistors for programming, MOS, non volatile, erasable electrically (takes time), suffers from wear. Flash Memory: Each cell is one transistor, MOS, non volatile, erasable electrically (takes time) in blocks, suffers from wear, popular. ٣١ Microprocessors and Microcontrollers The microprocessor is a processor on one silicon chip. The microcontrollers are used in embedded computing. The microcontroller is a microprocessor with added circuitry. ٣٢

Microcontrollers ٣٣ Microcontroller Packaging and Appearance From left to right: PIC 12F508, PIC 16F84A, PIC 16C72, Motorola 68HC05B16, PIC 16F877, Motorola 68000 ٣٤

Thanks,.. See you next week (ISA), ٣٥