CMPE 118 MECHATRONICS CMPE 118/L Introduction to Mechatronics Tu-Th 4:00-5:45pm, Jack Baskin Engineering 372 Lab: Jack Baskin Engineering 150, 24/7 Instructor:

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
PCEL4303 MICROPROCESSOR & MICRO CONTROLLERS MODULE - I (10 hours) Microprocessor Architecture: Microprocessor and Microcomputer Architecture, Pins & Signals,
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Microcontroller – 3 PIC.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
© 2010 Kettering University, All rights reserved..
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.
Microcontroller – PIC – 4 PIC types PIC architecture
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
STUDY OF THE ARIZONA MICROCHIP MICRO CONTROLLERS MOSTEFA GHASSOUL DAMMAM TECHNICAL COLLEGE
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.
Railway Foundation Electronic, Electrical and Processor Engineering.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Railway Foundation Electronic, Electrical and Processor Engineering.
Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.
Microcontroller based system design
Microcontroller Architecture PIC18F Family
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.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
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.
Microprocessors & microcontrollers Mehdi Dehghani.
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.
ECE Lecture 1 1 Introduction to Microcontrolllers Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
Embedded Systems. Today Introduction to Mechatronics Microcontroller –Input / Output Ports (I/O) –Memory –ADC –PWM.
November SSI Small Scale Integration Up to 12 equivalent gate circuits on a single chip Includes basic gates and flip-flops.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Internal Input/Output Devices (I/O Subsystems)
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Microprocessor-based Systems
MICROPROCESSOR AND MICRO CONTROLLER
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
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.
MICROOCESSORS AND MICROCONTROLLER:
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
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.
ECE 371 Microprocessor Interfacing
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
Page 1 Computer Architecture and Organization 55:035 Final Exam Review Spring 2011.
Components of a typical full-featured microcontroller.
Vadodara Institute of Engineering Subject: Microcontroller interfacing Prepared by: Bipin Malani ( ) Vishwa Pandit ( ) Branch : Electronics.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Introduction to Microcontroller Technology
Embedded Microcontroller Systems
Popular Microcontrollers and their Selection by Lachit Dutta
Embedded Microcontroller Systems
UNIT – Microcontroller.
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Programming Microcontroller
Microcontroller Intel 8051
Introduction to Microprocessors and Microcontrollers
8051 Single Board Computer (SBC) Version 1.0
Chapter 4 Introduction to Computer Organization
Microcontroller – 2 PIC.
Presentation transcript:

CMPE 118 MECHATRONICS CMPE 118/L Introduction to Mechatronics Tu-Th 4:00-5:45pm, Jack Baskin Engineering 372 Lab: Jack Baskin Engineering 150, 24/7 Instructor: Prof. Gabriel Hugh Elkaim TAs: Rob Kelbley, Eric Decker

CMPE 118 MECHATRONICS Why “Smart Products?” Focuses on Microcomputers as Components, not Controllers Encompasses Mechatronics, & Embedded Systems Design

CMPE 118 MECHATRONICS What Makes Mechatronics Different? Intelligent Decision Making The Ability to Adapt Cost Effectiveness

CMPE 118 MECHATRONICS What Makes the Decisions? Computers

CMPE 118 MECHATRONICS Where have you encountered Smart Products ?

CMPE 118 MECHATRONICS Number Representations Binary: Hexadecimal:$AA Converting: 1010 $A A

CMPE 118 MECHATRONICS Number Terminology 1010 Byte Integer Word MSB LSB Upper Nibble Lower Nibble

CMPE 118 MECHATRONICS Modulo Arithmetic

CMPE 118 MECHATRONICS Modulo Arithmetic Watch out for intermediate results too: How do you fix it? Cast variables up to next higher size Cast result back down

CMPE 118 MECHATRONICS Bit Manipulation How do you Set, Clear or Test individual bits?

CMPE 118 MECHATRONICS Bit Manipulation How do you Set, Clear or Test individual bits? The Bitwise Operators Bitwise AND = & Bitwise OR = | Result is 0 or not Result same except for bit position Result same except for bit position To Test a bit To Clear a bit To Set a bit AND mask, tests a single bit (VAR & IMASK) OR mask, sets a single bit (VAR | SMASK) AND mask, clears a single bit (VAR & CMASK)

CMPE 118 MECHATRONICS What is a: Microprocessor? Micro-computer? Microcontroller?

CMPE 118 MECHATRONICS Micro-Computer Components CPU Program Memory Scratchpad Memory Input/Output (I/O)

CMPE 118 MECHATRONICS CPU MemoryI/O Address Bus Data Bus

CMPE 118 MECHATRONICS Address Space

CMPE 118 MECHATRONICS What’s in the Address Space? InstructionsInstructions to the Microprocessor. Often referred to as “Machine Language” DataGenerally we put this there during the operation of our programs ControlThese occupy space like memory, but are actually Registersspecial locations that interact directly with the hardware of the microprocessor. PortsA subset of the control registers. Ports generally offer direct control of the pins on the microprocessor.

CMPE 118 MECHATRONICS Memory Map

CMPE 118 MECHATRONICS Program Memory Options MROM PROM EPROM Erasable OTP EEPROM (E 2 PROM) FLASH EPROM

CMPE 118 MECHATRONICS Scratchpad Memory Options Static RAM Battery-Backed Dynamic RAM Cache RAM

CMPE 118 MECHATRONICS What Features Will You Find? Parallel I/O Programmable Fixed Direction

CMPE 118 MECHATRONICS What Features Will You Find? Counters Timers Simple Complex Outrageously Complex

CMPE 118 MECHATRONICS What Features Will You Find? A/D Converters 8-bit 10-bit Multi-channel

CMPE 118 MECHATRONICS What Features Will You Find? D/A Converters PWM True DACs

CMPE 118 MECHATRONICS What Differentiates Micro- Controllers? Feature Sets Architecture Physical Size Cost

CMPE 118 MECHATRONICS The Freescale 68HC12 (was Motorola) Hi-Performance 16-bit Controller 16-bit Data Bus Supports Hi-Level Languages Comes in over 45 “Flavors”

CMPE 118 MECHATRONICS

68HC12 Memory 16-bit Address Bus 64K (65536) Byte Address Space 16-bit Data Bus 2K (2048) Bytes RAM 32K Bytes FLASH ROM

CMPE 118 MECHATRONICS 68HC12 Parallel I/O 24 Bi-Directional Lines 8 are multiplexed analog input

CMPE 118 MECHATRONICS 68HC12 Timer System 16-bit Free-Running Counter Input Captures (8) Output Compares (8)

CMPE 118 MECHATRONICS 68HC12 A/D Converter 10-bit (1:1024) Resolution 8 Channels –2 banks of 4 inputs

CMPE 118 MECHATRONICS 68HC12 Pulse Accumulator 8/16 Bits Interrupt on Overflow

CMPE 118 MECHATRONICS 68HC12 Serial I/O SPI (synchronous) SCI (asynchronous)

CMPE 118 MECHATRONICS The Development Process foo 68HC12 Serial Cable (RS232) PC NanoCoreDX

CMPE 118 MECHATRONICS Questions?