The domestic refrigerator-An example A car door mechanism.

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

Microprocessors A Beginning.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Microcontroller – 3 PIC.
Processor System Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
EEE237 Introduction to Microprocessors
Microcontroller – PIC – 4 PIC types PIC architecture
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
Introducing Embedded Systems and the Microcontrollers
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
The 8051 Microcontroller Architecture
Microprocessor and Microcontroller Based Systems
Computer Organization and Assembly language
Microcontroller Architecture PIC18F Family
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
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.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
ECE/CS-352: Embedded Microcontroller Systems Embedded Microcontroller Systems.
MICROCONTROLLERS. What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random.
Micro processor and Micro Controllers
EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Microcontrollers Class : 4th Semister E&C and EEE Subject Code: 06ES42
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.
Presented by Sadhish Prabhu
Lecture 7: Overview Microprocessors / microcontrollers.
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.
Chapter Microcontroller
8051 Micro Controller. Microcontroller versus general-purpose microprocessor.
Kustanto,S.T.,M.EngECE/CS-352: Embedded Microcontroller Systems Embedded Systems By: Kustanto,S.T.,M.Eng.
Components of a typical full-featured microcontroller.
AVR Architecture Prepared By: Avdhesh Soni ( ) Sarthak Patel ( ) Akshay Parekh ( ) Fenil Sachla ( ) Guided.
INTRODUCTION TO PIC MICROCONTROLLERS INTRODUCTION TO PIC MICROCONTROLLERS Dr.Y.Narasimha Murthy Ph.D SRI SAIBABA NATIONAL COLLEGE(AUTONOMOUS)
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
Introducing Embedded Systems and the Microcontrollers Chapter One.
Embedded Microcontroller Systems
Popular Microcontrollers and their Selection by Lachit Dutta
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
Introducing Embedded Systems
Embedded Microcontroller Systems
Microprocessor Systems Design I
UNIT – Microcontroller.
MCU – Microcontroller Unit – 2
Microprocessor Systems Design I
Introduction Definition of Embedded Systems Examples
Microprocessor Systems Design I
Introducing Embedded Systems and the Microcontrollers
Microprocessor Systems Design I
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
Tiny Computers, Hidden Control
Getting the Most Out of Low Power MCUs
Introducing the PIC Mid-Range Family and the 16F84A
EECE.3170 Microprocessor Systems Design I
Microcontroller – 2 PIC.
Presentation transcript:

The domestic refrigerator-An example

A car door mechanism

 There are some sensors, some human interaction and a set of actuators that must respond to the requirements of the system.  One set of sensors relates to the door lock and another to the window. There are two actuators, the window motor and the lock actuator.  Central locking can be introduced or an alarm sounded if the door is not locked when the driver tries to pull away.  There is therefore considerable advantage in having a network which links the humble actions of the door control to other functions of the car.

Microchip and the PIC microcontroller  Background: The PIC was originally a design of the company General Instruments. The PIC was originally a design of the company General Instruments. It was intended for simple control applications, hence the name – Peripheral Interface Controller. It was intended for simple control applications, hence the name – Peripheral Interface Controller. The simple CPU was a RISC structure, with a single Working register and just 30 instructions. The simple CPU was a RISC structure, with a single Working register and just 30 instructions. General Instruments sold off its semiconductor division to a group of venture capitalists. MICROCHIP. General Instruments sold off its semiconductor division to a group of venture capitalists. MICROCHIP. Microchip made their development tools simple and low cost or free. Microchip made their development tools simple and low cost or free. Microchip stayed firmly entrenched in the 8-bit world. Microchip stayed firmly entrenched in the 8-bit world.

Choosing a PIC Microcontroller  The microcontrollers in the PIC10 through PIC14 families are considered low-end microcontrollers.  PIC microcontrollers in the PIC16 and PIC18 families are considered mid-level microcontrollers  16-bit PICs are considered high-end microcontrollers.

Choosing a PIC Microcontroller  Each PIC has unique features and subtle differences. The correct choice for your project depends on: Does the project require analog input or output? Does the project require analog input or output? Does the project require digital input or output? Does the project require digital input or output? How many I/O pins are required? How many I/O pins are required? Does the project require precise timing? Does the project require precise timing? How much memory does the project require? How much memory does the project require? Is serial I/O required? Is serial I/O required?

Harvard Architecture  A 14-bit wide program memory access bus fetches a 14- bit instruction in a single cycle.  This means that all locations are valid instructions.

Instruction Pipeline  The instruction pipeline is a two-stage pipeline which overlaps the fetch and execution of instructions.  The fetch of the instruction takes one T CY, while the execution takes another T CY.  However, due to the overlap of the fetch of current instruction and execution of previous instruction, an instruction is fetched and another instruction is executed every single T CY.

Instruction Pipeline

Orthogonal (Symmetric) Instructions  Orthogonal instructions make it possible to carry out any operation on any register using any addressing mode.  This symmetrical nature and lack of “special instructions” make programming simple yet efficient.  The mid-range instruction set uses only two non-register oriented instructions, which are used for two of the cores features. One is the SLEEP instruction which places the device into the lowest power use mode. One is the SLEEP instruction which places the device into the lowest power use mode. The other is the CLRWDT instruction which verifies the chip is operating properly by preventing the on-chip Watchdog Timer (WDT) from overflowing and resetting the device. The other is the CLRWDT instruction which verifies the chip is operating properly by preventing the on-chip Watchdog Timer (WDT) from overflowing and resetting the device.

Clocking Scheme/Instruction Cycle  The clock input (from OSC1) is internally divided by four to generate four non-overlapping quadrature clocks, namely Q1, Q2, Q3, and Q4.  Internally, the program counter (PC) is incremented every Q1, and the instruction is fetched from the program memory and latched into the instruction register in Q4.  The instruction is decoded and executed during the following Q1

Program Memory Organization  The PIC16F87X devices have a 13-bit program counter capable of addressing an 8K x 14 program memory space.  The PIC16F877/876 devices have 8K x 14 words of FLASH program memory.  Accessing a location above the physically implemented address will cause a wraparound.  The RESET vector is at 0000h and the interrupt vector is at 0004h.