Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.

Slides:



Advertisements
Similar presentations
Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
By Solid State Workshop. ● A microcontroller is an integrated circuit that is programmed to do a specific task. ● Microcontrollers are really just “mini-computers”.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
BA 471 Management Information Systems Hardware Basics.
ASPPRATECH.
Microcontroller based system design
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Fundamental of Microcontrollers
Camera Interfacing using ARM7
COMPONENTS OF THE SYSTEM UNIT
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
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.
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
©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
Embedded Systems. Today Introduction to Mechatronics Microcontroller –Input / Output Ports (I/O) –Memory –ADC –PWM.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Computer Architecture and Organization Introduction.
Typical Microcontroller Purposes
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
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.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Computer Architecture And Organization UNIT-II General System Architecture.
MICROOCESSORS AND MICROCONTROLLER:
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
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
Lecture 7: Overview Microprocessors / microcontrollers.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Components of a typical full-featured microcontroller.
15: Microprocessor and microcontroller
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.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
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.
Popular Microcontrollers and their Selection by Lachit Dutta
Scrolling LCD using Arduino.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Microcontrollers & GPIO
Computer Hardware – System Unit
‘SONAR’ using Arduino & ultrasonic distance sensor
Programming Microcontroller
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Introduction to Microprocessors and Microcontrollers
Lecture 3 - Instruction Set - Al
Presentation transcript:

Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems

A Washing Machine

A Mechatronics System

Embedded Systems (1) An embedded system is a computer based system which is specifically designed to perform one or several dedicated functions in real-time. An embedded system comprises of a combination of computer hardware and software, perhaps additional parts, either mechanical or electronic that are designed to perform a dedicated task. Characteristics of embedded systems – Comprises the least required resources – designed to execute a specific task – often interfaced with sensors in order to get feedback of process parameters – perform real time operations – designed to operate under harsh environments

Embedded Systems (2) The central processing unit (CPU) of the embedded system is the most important element of the system. The CPU is usually a processor. Components of a CPU – Arithmetic logic unit (ALU) - performs arithmetic and logical operations – Control unit (CU) – extracts instructions from memory and decodes and executes them, calling on the ALU when necessary.. Embedded systems are used in mobile phones, mp3 players, video game consoles, digital cameras, DVD players & GPS receivers use such embedded systems etc.

Microcontroller Components (1) CPU – Ranging from small and simple 4-bit processors to complex 32- or 64- bit processors. In-circuit programming and debugging support. Clock generator – often an oscillator for a quartz timing crystal, resonator or RC circuit. Random-access memory (RAM) – Type of volatile memory for data storage. Read-only memory (ROM), – Erasable programmable read only memory (EPROM) – Electrically Erasable Programmable Read-Only Memory (EEPROM) – Flash memory for program and operating parameter storage.

Microcontroller Components (2) Discrete input and output bits, allowing control or detection of the logic state of an individual package pin. Serial input/output such as serial ports (UARTs). – I²C, – Serial Peripheral Interface (SPI) – Controller Area Network (CAN) for system interconnect Peripherals such as timers, event counters. Pulse width modulation (PWM) generators. Analog-to-digital converters and digital-to-analog converters.

PIC18F4550 Microcontroller This is a general purpose 8-bit microcontroller Developed by Microchip Technology Inc. Uses an 8-bit data bus which makes it possible to access 8 bits of data in a single machine instruction cycle. This microcontroller has a speed of 12 MIPS. This microcontroller has 40 pins.

PIC18F4550 Microcontroller

Simplified Pin Diagram

PIC18F4550 Microcontroller (2) For the operation of the chip it requires, 1.Power at +5V using pins 11 & 32. Ground using pins 12 & A precise clock input provided by a crystal oscillator with an input frequency of 20 MHz connected to pins 13 (CLKI) and 14 (CLKO). This chip uses a Phase Lock Loop (PLL) frequency multiplier boost the operating frequency of the chip to 48 MHz.

Applications of the PIC18F4550 microcontroller Sending and receiving digital signals using the digital I/O ports Measuring analog voltages from +0V – +5V. Sending PWM signals for driving dc motors

Pins used for sending & receiving digital signals

Pins used for receiving digital signals

Measuring analog voltages using the PIC18F4550 microcontroller There are 5 analog input pins. Marked pins can measure analog voltages between +0 V & +5 V. Analog voltages are measured by using analog to digital converters (ADC). The ADC has a resolution of 10- bits. i.e.: analog +0 V -> digital 0 analog +5 V -> digital 1023

Generating PWM signals for driving DC motors The pin 16 (C1) could be used to send PWM signals for driving DC motors. It has a digital resolution of 10- bits ( in decimal). The frequency of the PWM signal is 2.44 kHz.

Microcontroller development tools: Hardware PORT B PORT DPORT C VCC GND PORT APORT E PIC 18F4550 USB POWER JACK LCD BLUE TOOTH PUSH BUTTONS

Microcontroller development tools: Software IDE (Integrated Development Environment): A software application that facilitates all aspects developing of embedded software. – Source code editor. – A compiler. – A debugger. Software interface for loading the compiled code into the microcontroller.