What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.

Slides:



Advertisements
Similar presentations
Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Processor System Architecture
Chapter 1 The 8051 Microcontroller
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
 CPU: Central Processing Unit  I/O: Input /Output  Bus: Address bus & Data bus  Memory: RAM & ROM  Timer  Interrupt  Serial Port  Parallel Port.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
GCSE Computing - The CPU
The 8051 Microcontroller Architecture
Microcontroller based system design
Computer Organization and Assembly language
Microcontroller: Introduction
Khaled A. Al-Utaibi  Microprocessors  Microcontrollers  Embedded Systems.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Introduction to Microcontrollers Dr. Konstantinos Tatas
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
EC4012PA PIC 18F Introduction 2  Processor  Input Devices  Output Devices  Memory Devices 3.
L29:Lower Power Embedded Architecture Design 성균관대학교 조 준 동 교수,
Embedded Systems Design 1. 2 Embedded Systems Overview Computing systems are everywhere Most of us think of “desktop” computers –PC’s –Laptops –Mainframes.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
Lesson 3 — How a Computer Processes Data
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Microcontroller System Design Introduction- 1  Seattle Pacific University Take a microprocessor/ microcontroller chip How to Succeed in Life – The micro.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Introduction to Microprocessors Manijeh Keshtgary Fall 2006 Shiraz University of Technology.
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
MICROOCESSORS AND MICROCONTROLLER:
Academic PowerPoint Computer System – Architecture.
This course is designed by Dr. Khaled A. Al-Utaibi.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
بسم الله الرحمن الرحيم MEMORY AND I/O.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
HOME AUTOMATION USING PC DONE BY RAJESHKUMAR S SRI HARSHA D.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Hardware – System Unit
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
UNIT – Microcontroller.
Chapter 2 – Computer hardware
INTRODUCTION TO MICROPROCESSORS
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Introduction to Microprocessors
INTRODUCTION TO MICROPROCESSORS
CS703 - Advanced Operating Systems
Microcomputer Architecture
INTRODUCTION TO MICROPROCESSORS
Computer Architecture
Why microcontrollers in embedded systems?
Chapter 1: The 8051 Microcontrollers
8051 Supplement.
INTRODUCTION TO COMPUTERS
CHAPTER 1 THE 8051 MICROCONTROLLERS
MCU – Microcontroller Unit – 2
Presentation transcript:

What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some interfaces to the outside world in the form of busses What is missing? –Memory and the peripherals

What is a Microcontroller ? A microcontroller is a single chip microprocessor system which contains: –A processor core. –Data and Program Memory. –Serial and Parallel I/O. –Timers. –External and Internal Interrupt Handling Mechanism. All integrated into a single chip

Microprocessor and Microcontroller System

How do we Define Expensive? Money –The system requires parts that cost too much money. Size –All of the additional functionality requires space. Chip area or board space. Power –We will need power to run all of these chips and devices. Heat –Power = heat. –Operating “inside” another system may not afford us good heat dissipation. Efficiency –Are we really utilizing all of these features and functionalities?

Block Diagram of a Microcontroller It is the specialized circuitry compared to the microprocessor that makes the microcontroller such a unique device. The microcontroller operates on data that is fed in through its serial or parallel input ports controlled by the software stored in the on-chip memory.

Special Features of the Microcontroller All of the additional functions built into the microcontroller would normally require additional circuitry external to the microprocessor. –I/O Ports. –Memory. Some of these functions would normally be implemented in software. –Counters, timers. We can include them in the microcontroller chip after removing some of the un-necessary functions. –Floating point functions. –Specialized multimedia instructions.

Memory Considerations When a PC executes an application, pieces of the application are read from disk and stored into an allocated section of the memory. –As more of the program is needed, additional pieces of the software are loaded into the memory. In a microcontroller there is no disk to read from. On-chip ROM space is the maximum size of the application that can be executed.

Additional Programming Considerations In a standard computer, there is a complicated operating system that handles all low-level operations. –Things like reading from interfacing to the different devices, and allocating memory. For an embedded system, the application stored in the ROM of the microcontroller is the only software that will execute. –Therefore, all low-level code and device interfaces necessary to execute the application have to be included.

Microcontroller vs. Microprocessor Microprocessor (  P): –Designed to perform as a CPU in a microcomputer system. –The instruction set is arranged to allow code and large amounts of data to be moved between the  P and the external memory and registers. –Operations on not less than four bits. Microcontroller (  C): –Designed to operate with minimum of external circuitry. –Simple instruction set (255 instructions). –Operations possible on single bits !

Where are microcontrollers used ? Microcontrollers are “typically” used where processing power is not critical. It is estimated that on average a middle-class household has a minimum of 35 microcontrollers in it. About 34 % of microcontroller applications are in office automation such as laser printers, fax machines, intelligent telephones and so forth. Another 33 % of microcontrollers are used in consumer electronic goods such as CD players and hi-fi equipment. The remaining 33 % are used in the communications and automotive market.

Evolution of Microcontrollers Microcontroller evolved from a board-level design to a single chip in the mid-1970's. As the process of miniaturization continued, all of the components needed for a controller were built right onto one chip. In the mid-1980’s embedded systems migrated from the single chip to microcontrollers embedded into a larger ASIC (Application Specific Integrated Circuit) design.

Advantages of using Microcontrollers Fast and effective –The architecture correlates closely with the problem being solved (control systems). Low cost/Low power –High level of system integration within one component. –Only a handful of components needed to create a working system. Compatibility –Op-codes and binaries are the SAME for all 80x51 variants. Multi-sourced –Over 12 manufacturers, hundreds of varieties. Constant improvements –Improvements in silicon/design increase speed and power annually.

Why Not Use a Microprocessor? Processors vary in their customization for the problem at hand. General-purpose processor Single-purpose processor Application-specific processor