Microprocessors/Microcontrollers

Similar documents
Microcomputer Architecture and Programming

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer

THE MICROCOMPUTER SYSTEM CHAPTER - 2

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Introduction to Microcontrollers


Microprocessor Architecture. mywbut.com 1

EE 3170 Microcontroller Applications

Description of the Simulator

Architecture of 8085 microprocessor

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

MICROCONTROLLERS 8051

MICROPROCESSOR B.Tech. th ECE

Microcontrollers. Microcontroller

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

Computer Organization and Assembly Language (CS-506)

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

EMBEDDED SYSTEM BASICS AND APPLICATION

Fig 1. Block diagram of a microcomputer

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

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

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

b. List different system buses of 8085 microprocessor and give function of each bus. (8) Answer:

1. Internal Architecture of 8085 Microprocessor

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

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Overview of Microcontroller and Embedded Systems

Computer Architecture 2/26/01 Lecture #

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

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

EE 308: Microcontrollers

BASIC INTERFACING CONCEPTS

Chapter 1: Basics of Microprocessor [08 M]

8051 Microcontroller

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Basics of Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

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

ENE 334 Microprocessors

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

MICROCONTROLLER UNIT 1

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Introduction to Computers - Chapter 4

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

8051 microcontrollers

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

History and Basic Processor Architecture

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Microprocessor Architecture

AVR Microcontrollers Architecture

Computer Systems Organization

INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 ELEC : Computer Architecture and Design

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

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

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

MICROPROCESSOR MCQs. 1) What does the microprocessor comprise of? a. Register section b. One or more ALU c. Control unit d.

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

Introduction to Microprocessor

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

Chapter Two. Hardware Basics: Inside the Box

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Fundamentals of Digital Computers The mechanical computer age began with the advent of the abacus in 500 B.C by Babylonians. The abacus, which was

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

CPU ARCHITECTURE. QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system.

The Central Processing Unit

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

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T


Computer Organization

Question Bank Microprocessor and Microcontroller

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

MECE336 Microprocessors I

Chapter 7 Central Processor Unit (S08CPUV2)

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

Chapter 2 Logic Gates and Introduction to Computer Architecture

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

COSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1

Programmable Control. Name Class Teacher. Ellon Academy Technical Faculty

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

Microprocessor (COM 9323)

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

Allmost all systems contain two main types of memory :

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

Introduction to 8051 microcontrollers

ECED3204: Microprocessor Part I--Introduction

Transcription:

Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing data

Introductory Example: Traffic Control Consider a simple control system: sequencing of the red, yellow, and green lights at a traffic crossing. Is it possible to solve by an electronic control system involving combinational and sequential logic integrated circuits? With a more complex situation, there might be many more variables to control in a more complex control sequence. The question here is how to simplify the system based on hardwired connection of combinational and sequential logic integrated circuits by using a microprocessor and using software to make the connections.

Microprocessor System The microprocessor we are concerned in mechatronics is for use as a control system and is termed embedded microprocessor. Such microprocessor is dedicated to controlling a specific function and is self-starting requiring no human intervention and completely selfcontained with its own operating program. Examples include the system in a washing machine. The operator has to select the type of wash required by pressing the appropriate button or rotating a switch. A microprocessor system has three main parts: Central processing unit (CPU) Input and output interfaces Memory to hold the program instructions and data.

Address bus Address Decoder output Clock Micro processor ROM RAM Input output input Data bus Control bus

Buses Digital signals move from one section to another along paths called busses. A bus in the physical sense, is just a number of conductors along which electrical signals can be carried. It may be tracks on a printed circuit or wires in a ribbon cable. There are three types of buses in a microprocessor: Data bus: Carry the data associated with the processing function of the CPU. Address bus: Carries signal which indicate whether data is to be found and so the selection of certain memory locations at input or output ports. Control bus: Carries signals relating to control actions. For example the microprocessor informs the memory whether to read data from an input or write data to an output device.

The Microprocessor The microprocessor is generally referred to as the central processing unit. It is that part of the processor system which processes the data, fetching instructions from memory, decoding them and executing them. The following are the main parts of the processor: Arithmetic and logic unit (ALU) for data manipulation. Registers for memory. There are many types of registers including: Accumulator register where data for an input to the ALU is temporarily stored in order for the CPU to be able to read. Status registers that contains information concerning the result of the latest process carried out by the ALU. Program counter register that allows the CPU to keep track of its position in a program. Memory address register containing the address of data. Instruction register to store the instructions. General purpose register that acts as temporary storage for data. Stock pointer register that form an address which defines the top of the stack in RAM. Control unit for timing and sequences of operation.

Address bus Data bus Flag Register Stack Pointer General Register Accumulator Program Counter Instruction dcoder ALU Control Unit Control bus External control signals

Memory The memory unit in a microprocessor system stores binary data and takes the form of one or more integrated circuits. There are a number of forms of memory unit. ROM for data to be stored permanently (read-only-memory). ROMs are programmed with the required contents during the manufacture of the integrated circuit. PROM or programmable ROM is used for ROM chips that can be programmed by the user. EPROM or erasable and programmable ROM that can be programmed and their content altered. EEPROM or electrically erasable PROM RAM or random-access memory. This memory can be read or written to.

Input/Output Input/output is defined as the transfer of data between the microprocessor and the external world. The term peripheral devices is used for pieces of equipment that exchange data with a microprocessor system. Because of speed and characteristics of peripheral devices can differ from those of the microprocessor, they are connected via interface chips in order to synchronize data transfer between the peripheral devices and the microprocessor. In input operations the input device places the data in the data register of the interface chip; this holds the data until it is read by the microprocessor. In output operations the microprocessor places the data in the register until it is read by the peripheral. Students should give an example of microprocessor system.

Microcontrollers For a microprocessor to give a system which can be used for control, additional chips are necessary such as memory devices for program and data storage and input/output ports to allow it to communicate with the external world and receive signals from it. The microcontrollers is the integration of a microprocessor with memory and input/output interfaces, and other peripherals such as timers, on a single chip. A controller has pins for external connections of input and output, power, clock and control signals. The pins for the inputs/outputs are grouped into units called input/output ports. Usually ports have eight lines in order to be able to transfer an 8-bit word of data.

Examples of Microcontrollers Motorola M68HC11 family: widely used for control systems. There are number of versions in the family with differences in the RAM, ROM, EPROM, EEPROM. For example, the version 68HC11A8 has 8 K ROM, 512 bytes EPROM, 256 bytes RAM, 16-bit timer system, 8-channel 8-bit ADC and 5 ports (A, B, C, D, E). Intel 8051 with four parallel input/output ports. The 8051AH version has 4 K ROM bytes, 128 bytes RAM, two timers and interrupt control for five interrupt sources. Microchip microcontrollers:

Applications Temperature Measurement System Output port B 68HC11 Digital Display Temperature Sensor Port C Input port E with its ADC BCD data Timing pulses From microcontroller Flip-Flop BCD data

Washing Machine Temp Sensor Speed set input ADC Timer Port B Display Interrupt CPU Water level switch Hot water ROM Cold water Water control Door lock Buzzer Motor direction Port A EEPROM Port C Keyboard Heat Control Microcontroller