MICROCONTROLLERS. What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random.

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

Applications of PICs Advantages/disadvantages Digital and analogue control Loops, sub-routines, scanning, counting and feedback Interrupts Problems with.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
MC68HC11 System Overview. System block diagram (A8 version)
Microcontroller – 3 PIC.
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
Microprocessor 8085/8086 Lecturer M A Rahim Khan Computer Engineering and Networks Deptt.
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.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
EEE237 Introduction to Microprocessors
 CPU: Central Processing Unit  I/O: Input /Output  Bus: Address bus & Data bus  Memory: RAM & ROM  Timer  Interrupt  Serial Port  Parallel Port.
Microcontroller – PIC – 4 PIC types PIC architecture
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Microprocessor or Microcontroller Not just a case of “you say tomarto and I say tomayto” M. Smith, ECE University of Calgary, Canada.
Microcontrollers Lecture L12.2 Section Microcontrollers Microcontrollers vs. Microprocessors Two standard architectures PIC microcontroller 68HC12.
Micro-controller or embedded controller
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Fall 2013 Lecture 26: PIC microcontroller intro.
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The domestic refrigerator-An example A car door mechanism.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Lecture - 1 Introduction. Outline Course assessment criteria PIC microcontrollers Basic computer architecture – CPU – Memory – I/O – Buses.
Microcontroller Intel 8051 [Architecture]. The Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Objectives How Microcontroller works
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
1 The /27/ Today over fifty companies produce variations of the Several of these companies have over fifty versions of the 8051.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
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.
Architecture and instruction set. Microcontroller Core Features:  Operating speed: DC - 20 MHz clock input DC ns instruction cycle Up to 8K x.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
Presented by Sadhish Prabhu
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Architecture of the 8051 Microcontroller
Components of a typical full-featured microcontroller.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
15: Microprocessor and microcontroller
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Popular Microcontrollers and their Selection by Lachit Dutta
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
MCU – Microcontroller Unit – 2
Microcontroller Intel 8051
Chapter 1: The 8051 Microcontrollers
Introduction to Microprocessors and Microcontrollers
EE Embedded Systems Fall 2015
8051 Supplement.
MICROPROCESSOR MEMORY ORGANIZATION
Microcontroller – 2 PIC.
CHAPTER 1 THE 8051 MICROCONTROLLERS
Presentation transcript:

MICROCONTROLLERS

What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random Access Memory), I/O (Input Output functions), and various other specialized circuits all in one package.

Zilog Z-80

What is the Z-80 family of components ? significant advancement in the state-of-the-art of microcomputers. It can be configured with any type of standard semiconductor memory to generate computer systems with an extremely wide range of capabilities. With additional memory and I/O devices a computer can be constructed with capabilities that only a minicomputer could previously deliver. Advantages… fully software compatible with the popular 8080A CPU superior in both software and hardware capabilities (less cost and more features) offers the user significant speed advantages (up to 16 MHz clock rate) including full software support

Z-80 CPU Z80 microprocessor is an 8 bit CPU with a 16 bit address bus capable of direct access of 64k of memory space. It has a language of 252 root instructions and with the reserved 4 bytes as prefixes, accesses an additional 308 instructions. The Z80 was modeled after the 8080 and contains the opcodes as a subset to it's language.

Programming features include an accumulator and six eight bit registers that can be paired as bit registers. In addition to the general registers, a stack-pointer, program-counter, and two index (memory pointers) registers are provided. While not in the same league as the or series, the Z80 is extremely useful for low cost control applications. One of the more useful features of the Z80 is the built-in refresh circuitry for ease of design with DRAMs.

It comes in a 40 pin DIP package. And recently also in a 44 pin SMD and QFP. It has been manufactured in A, B, and C models, differing only in maximum clock speed. It also has been manufactured as a stand-alone microcontroller with various configurations of on-chip RAM and EPROM.

Peripheral Interface Controller (PIC)

What is a PIC? PIC stands for Peripheral Interface Controller, which is Microchip, Inc.'s trademark for their line of 8-16 bit microcontrollers. Actually, Microchip's official name for the lineup is PICMicro..

More about PICs… Various models are available with different peripherals built in such as; multiple timers, A/D conversion, serial interfacing, LCD control, etc. They are also available in SMT packaging or standard DIP packaging with as many as 68 pins or as few as 8 pins. Some of the latest versions (and many future versions) have flash memory, making for simple erasures and reuse. Most of the current versions employ EPROM which requires erasure with a special UV lamp.

If you want to develop firmware for a PIC, you will need an erasable version. The erasable types available are of the EPROM, EEPROM, and flash memory varieties. EEPROM and flash memory devices are great because they don't need that UV eraser and are less expensive. Unfortunately the flash and EEPROM (EEPROM is being phased out in favor of flash) versions are not available in all configurations, but it seems Microchip is expanding their horizons. One of the most popular versions of the PIC for beginners is the PIC16F84. It uses flash memory (hence the F in its part number), and has 18 pins. Thirteen of these pins can be used for input or output purposes.

What can one use a PIC for? PICs are very versatile and can be used in practical projects such as burglar alarms, caller ID boxes, remote controls, clocks, and just about anything you can think of that could use a single chip self contained computer.

Why choose PICs? Because getting into them wasn't a big investment They have a lot of bang for the buck. There are only about 35 simple RISC-type (Reduced Instruction Set Computer) commands to learn. There is a lot of help available for beginners.

Developing the PIC… First choose the PIC. Learn a language. Choose the programmer. Wire the circuit on the target board. Write the code. Program.

Sample Program: Blinking Lights list p=16f84 porta equ 0x05 portb equ 0x06 org 0x000 start movlw 0x00 tris porta movlw 0x00 tris portb clrf porta clrf portb hi bsf porta, 0 bcf porta, 0 goto hi end