INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.

Slides:



Advertisements
Similar presentations
Chapter 2 HARDWARE SUMMARY
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Microprocessor 8085/8086 Lecturer M A Rahim Khan Computer Engineering and Networks Deptt.
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.
Engr. M.K.Debnath1 Microcontroller and PLC Eng. ISRAFIL KHAN. DIPLOMA IN ELECTRONIC.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
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.
Micro-controller or embedded controller
The 8051 Microcontroller Architecture
Computer Organization and Assembly language
Microcontroller: Introduction
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
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.
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
created by :Gaurav Shrivastava
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
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 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.
CIM101 : Introduction to computer Lecture 3 Memory.
1 The /27/ Today over fifty companies produce variations of the Several of these companies have over fifty versions of the 8051.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
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.
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
MICROOCESSORS AND MICROCONTROLLER:
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
Academic PowerPoint Computer System – Architecture.
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Presented by Sadhish Prabhu
Chapter 2 Turning Data into Something You Can Use
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Chapter Microcontroller
8051 Micro Controller. Microcontroller versus general-purpose microprocessor.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
1 بسم الله الرحمن الرحيم MEMORY AND I/O. Introduction to 8086 Microprocessor 8086 Pin Configuration Pin Configuration 8086 Architecture & Modes 2.
Introduction to Microcontroller Technology
EMBEDDED SYSTEM An embedded system is a special-purpose computer system and a combination of software and hardware designed to perform specific task. It.
Unit Microprocessor.
Embedded Microcontroller Systems
The 8051 Microcontroller architecture
Popular Microcontrollers and their Selection by Lachit Dutta
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
Microcontrollers & GPIO
UNIT – Microcontroller.
Microcontroller Based Digital Code Lock
Hardware Source: ttp:// under
INTRODUCTION TO MICROPROCESSORS
Microcomputer Architecture
Why microcontrollers in embedded systems?
Chapter 1: The 8051 Microcontrollers
Introduction to Microprocessors and Microcontrollers
Microprocessor & Assembly Language
8051 Supplement.
Wireless Embedded Systems
By Prof .A. ARPUTHARAJ Department of Electronics St. Josephs college
MCU – Microcontroller Unit – 2
Presentation transcript:

INTRODUCTION TO MICROCONTROLLER

What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited amount of ROM or EPROM, RAM & I/O ports all built on a single integrated circuit. Microcontroller can be used to perform control functions so it is comparable with a microcomputer. It must include full or nearly full implementation of a standard microprocessor, ROM or EPROM, RAM, parallel I/O ports, serial ports, timer, clock. More complex than a microprocessor.

Advantages of Microcontroller over Microprocessor Cost of microcontroller is less than microprocessor based system Microcontroller has more I/O components than microprocessor based system. Unlike microprocessors Microcontrollers can be used in wide variety of intelligent products like personal computers keyboards or can be used in devices with artificial intelligence. Many low cost products like toys, washing machines, microwave ovens, electric drills etc are based on microcontrollers & not on microprocessor based system

Features of Microcontroller microcontroller has an 8-bit ALU. 4 KB (4K x 8 bit) ROM EPROM 128 byte (128 x 8 bit) RAM Dual 16-bit timer, event counter. 32 I/O lines for four 8- bit I/O ports. Full featured serial port. It can address 64 KB of program memory It can address 64 KB of data memory Powerful instruction set with 111 instructions. Two external interrupt. Clock upto 12-MHz frequency.

Memory mapping of Microcontroller 8051

Program MemoryData Memory Read-Only Memory (ROM) spaceRandom Access Memory (RAM) space Used for storing programs & variable data Used for general read/write data storage Instruction fetches are taken from program memory space. It is a read/write memory space Processor can read instruction from this space, but cannot write the data into this memory. It reads instructions to be executed from this memory space. Processor can read data from this memory space & can write data to this memory space. It cannot execute instructions from this memory space. It has internal ROM(EPROM)It has internal RAM 128 bytes. 4 Kbytes program memory can be expanded by additional 60Kbytes, making it 64KB program memory. & 22 special function registers.memory can be expanded by additional 60Kbytes, making it 64Kbytes data memory.

Microcontroller 8051 family 8048, 8049, was Intel’s 1 st microcontroller. All 8048, 8049, 8050 have same architecture except memory size. The memory size doubles in each case.8048 supports 1Kbytes of internal memory (ROM) supports 2Kbytes of internal ROM & 8050 supports 4Kbytes of internal ROM has 64 bytes internal RAM, including 32 bytes of register memory & 8050 have a total of 128 & 256 bytes of RAM respectively. 27 I/O lines. 8-bit timer event counter. Low cost & hence very popular is a simple expansion of Kbytes of onboard ROM & 256 Kbytes onboard RAM. Allows programmer to write larger programs that can use more data. Cost of 8052 is more than Has one extra 16-bit counter-timer which gives more flexibility.

Microcontroller 8051 family 8031, is alternative version of 8051 & 8032 is alternative version of They do not have onboard ROM. They may use external ROM for program memory. Excellent devices for prototyping & low volume products AH-BASIC 8052 AH-BASIC is another form of Programmer can use BASIC for writing instructions rather than using assembly language.

Compare between 8051 & Kbytes of onboard ROM or EPROM 8Kbytes of onboard ROM or EPROM 128 bytes of onboard RAM256 bytes of onboard RAM Has a dual 16-bit timer event counterHas an extra 16-bit timer event counter Cost is lessCost is more Used in high volume applications & allows to write large programs Used in high volume applications & allows to write large programs, larger than in 8051

Applications of Microcontroller Microcontroller is a single chip microcomputer. They are used as independent controllers in machines or as slaves in distributed processing. They are used as machine tools, chemical processors, medical instrumentation & sophisticated guidance control. Many low cost products such as toys, microwave oven etc are based on microcontroller. The personal computer keyboards are implemented with microcontroller. It replaces scanning, debounce, matrix decoding & serial transmission circuits.