Embedded Systems. Today Introduction to Mechatronics Microcontroller –Input / Output Ports (I/O) –Memory –ADC –PWM.

Slides:



Advertisements
Similar presentations
Department of Computer Engineering
Advertisements

Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
Computers Are Your Future Twelfth Edition Chapter 2: Inside the System Unit Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.
Lesson 1 Computers and Computer Systems
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
Lesson 1 Computers and Computer Systems
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
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:
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Railway Foundation Electronic, Electrical and Processor Engineering.
Railway Foundation Electronic, Electrical and Processor Engineering.
ASPPRATECH.
Microcontroller based system design
Microcontroller: Introduction
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Microprocessor Block Diagram
EC4012PA PIC 18F Introduction 2  Processor  Input Devices  Output Devices  Memory Devices 3.
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.
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
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.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Chapter 3 Computer Hard ware
Introduction to Computing: Lecture 4
66 CHAPTER THE SYSTEM UNIT. 2 System Units in Microcomputers System Units (system cabinet):container that contain the electronic components of computer.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Computer architecture Microprocessor based computers.
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 13 Computer Systems Roger.
Discovering Computers 2012: Chapter 4
ECE Lecture 1 1 Introduction to Microcontrolllers Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
The Computer System  Components Hardware Software  Electronic device  Follows instructions Comparisons Addition Subtraction Storage.
The Computer Systems. Computer System CPU Is the brain of the PC. All program instructions are run through the CPU Control Unit This decodes and executes.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
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.
Microprocessor & Interfacing Techniques. HISTORY OF MICROPROCESSORS  Computers are accessible to ever-increasing sectors of the world's population. 
Microprocessor-based Systems
How computers work The CPU & Memory. The parts of a computer.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Information Technology Basic Computer Architecture Adnan Khalid.
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.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
The Computer System.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
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.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Chapter 2 content Basic organization of computer What is motherboard
COMP2121: Microprocessors and Interfacing
Introduction to Microcontroller Technology
AVR ATMEGA 8 MICRO-CONTROLLER
Computer Hardware – System Unit
Discovering Computers 2011: Living in a Digital World Chapter 4
Chapter 7.2 Computer Architecture
Electronics Technology
The Basic Organization of Computers T.Jeya M.Sc., M.Phil Assistant Professor, Department of CS, SAC Women’s College. Cumbum. Tamilnadu.
Introduction to Microprocessors and Microcontrollers
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: Hardware for Educators
Presentation transcript:

Embedded Systems

Today Introduction to Mechatronics Microcontroller –Input / Output Ports (I/O) –Memory –ADC –PWM

Introduction to Mechatronics

Embedded Systems Special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints. Usually controls a device Often meant for harsh environments Designed to be optimized, reducing the size and cost of the product, or increasing the reliability and performance. The Mun’der board is a embedded system

Microcontroller A microcontroller or embedded microprocessor is essentially a computer-on-a-chip. They are used in everyday electronic devices, such as cellular telephones, household appliances, automobiles, etc. In contrast to general-purpose microprocessors (the kind used in a PC) they are self-sufficient and cost-effective. Anywhere you want to give a design a small amount of ‘intelligence’, or the ability to generate different outputs based on the given inputs. Allows the system to be highly flexible

Microcontrollers PIC18F4550 Microcontroller

Microcontroller

Microprocessor The ‘brains’ of the microcontroller Carries out programs instructions Performs arithmetic and logic operations

Memory ROM - Read only Memory –Non-Volatile - Data retains in memory even when its power supply is removed. RAM - Random Access Memory –Volatile - Data is lost when the power supply is removed. Flash RAM – Random Access Memory EEPROM - Electrically Erasable Programmable ROM Used for instruction set, programs, variables.

Microcontrollers - I/O There are 5 input/output (I/O) ports on the PIC18F4550 microcontroller –Labeled A through E –The ports are Bi-directional, can accept input signal or send out a output signal –TRISB = 0x00; 0 – Output 1 – Input Note: Don’t use A6 as I/O

And Operation (Side Note) Denoted by a ‘&’ Used to single out bits of a port

Microcontrollers - I/O Input char var = PORTB & 0x01 Output LATBbits.LATB0 = 1; LATB = 0x00;

Microcontrollers - ADC ADC - Analog to Digital Convertor Class Notes 10-bit ADCs on the PIC18F4550 microcontroller, on 13 channels Code - Right Turn