Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car,

Slides:



Advertisements
Similar presentations
Slides created by: Professor Ian G. Harris PIC Development Environment MPLAB IDE integrates all of the tools that we will use 1.Project Manager -Groups.
Advertisements

Sensor Network Platforms and Tools
Slides created by: Professor Ian G. Harris Inputs and Outputs PIC Vcc RA3 RA4 RA5  Make an LED toggle state when button is pressed  Need to read RA3,
By Solid State Workshop. ● A microcontroller is an integrated circuit that is programmed to do a specific task. ● Microcontrollers are really just “mini-computers”.
Computer Components.
Embedded Systems: Introduction. Course overview: Syllabus: text, references, grading, etc. Schedule: will be updated regularly; lectures, assignments.
Railway Foundation Electronic, Electrical and Processor Engineering.
Microcontrollers Lecture L12.2 Section Microcontrollers Microcontrollers vs. Microprocessors Two standard architectures PIC microcontroller 68HC12.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.
Railway Foundation Electronic, Electrical and Processor Engineering.
COMPUTER SYSTEM COMPONENTS ACTIVITY
ASPPRATECH.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Dalya Gaber. Definition:- Embedded system is any device that includes a computer but is not itself a general purpose computer. It has hardware & software.
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
PICS / Microcontrollers
Bonitron Air Demand Scheduler Design Review Vanderbilt Senior Design Alex Brown Ajmer Dwivedi Cory Haugh February 04, 2008.
The domestic refrigerator-An example A car door mechanism.
Camera Interfacing using ARM7
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
How to design Microcontroller Based System? Fall 2014 Sung Yeul Park, Ph.D. Dept. of Electrical and Computer Eng University of Connecticut.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
The Internal Components of a Personal Computer (PC)
L29:Lower Power Embedded Architecture Design 성균관대학교 조 준 동 교수,
Chapter 1 CSF 2009 Computer Abstractions and Technology.
Translate the following message:
1 ARM University Program Copyright © ARM Ltd 2013 Introduction to Embedded Systems Design.
Pinewood Derby Timing System Using a Line-Scan Camera Rob Ostrye Class of 2006 Prof. Rudko.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Microprocessors A practical approach Subjects Goals for this module Results Subjects of the module Plans Questions.
 The TenCup Entertainment Table is an interactive table that enhances the game-play experience of Beirut for both the player and the spectator.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Project Goals Our task was to take the proof of concept and make a production ready prototype with the following parameters Use low cost microprocessor.
SET 21 OPERATING SYSTEM USE OF ASSEMBLY LANGUAGE.
UNIT I. EMBEDDED SYSTEM It is an electrical/electro-mechanical system designed to perform a specific function. It is a combination of hardware and software.
COMPUTER Structure Int 2 Unit 1 – Computer Systems St Kentigern’s Academy.
Embedded System. What is an Embedded System? Computing systems embedded within electronic devices Hard to define – Nearly any computing system other than.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.
Slides created by: Professor Ian G. Harris Operating Systems  Allow the processor to perform several tasks at virtually the same time Ex. Web Controlled.
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
Components of a typical full-featured microcontroller.
Slides created by: Professor Ian G. Harris Embedded Systems  Computer-based systems which do not appear to be computers Complexity is hidden from the.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
IR OBSTACLE DETECTION TO
Embedded Systems. What is Embedded Systems?  Embedded reflects the facts that they are an integral.
Five Components of a Computer Input Device – keyboard, scanner, PDA/stylus, digital camera, mouse, MP3 player, fax machine, microphone Storage Device –
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
Arduino.
IoT Milos Hampl.
Bonitron Air Demand Scheduler Design Review
Microcontrollers & GPIO
THE PROCESS OF EMBEDDED SYSTEM DEVELOPMENT
Technology Literacy Hardware.
The Programmable Logic Controller
Parts of a Computer I plan to use this presentation for an introduction at the start of the year. Maybe even create a “word wall” with the cards.
AQA GCSE 7 Electronic systems processing Design and Technology 8552
Why microcontrollers in embedded systems?
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.
Embedded Systems Computer-based systems which do not appear to be computers Complexity is hidden from the user Embedded systems are much more common than.
Computer Science I CSC 135.
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Understand the interaction between computer hardware and software
Wireless Embedded Systems
Lecture 8: Arduino 20 March 2019.
Presentation transcript:

Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car, home, TV, etc.)  Interactions with embedded systems are different than with standard computers  Interact with users via simple interface: -Digital camera, TV, cellphone, …  Interact with another device, invisible to user: - Disk drive, memory stick, anti-lock braking system, …

Slides created by: Professor Ian G. Harris ES Characteristics  Interact directly with the physical environment - ABS applies brakes, disk drive controls motors  Hard timing constraints (unlike most computer software) - ABS fails if it is too slow - MP3 player sound bad if conversion is slow  Application-specific, not general-purpose -ABS only applies breaks, MP3 only plays music -Some systems violate this (cellphones w/ apps)

Slides created by: Professor Ian G. Harris Cost Constraints  Embedded design methodology: Be Efficient! Vast majority of embedded products are in cost critical markets  Very different from traditional software engineering Correct functionality is all that counts Performance, memory, power, not important Moore’s law will save you eventually  Embedded system designers should be control freaks Need to have explicit control over timing, memory Why trust a compiler/interpreter/OS?

Slides created by: Professor Ian G. Harris Embedded System Structure microcontroller sensors ADCDAC actuators ASICFPGA  Sensors receive data from the world Analog (light sensor, microphone, etc.) and digital (buttons)  Actuators cause events in the world Analog (motors, speakers) and digital (lights)  Application-Specific Integrated Circuit (ASIC)- special-purpose hardware  Field Programmable Gate Array (FPGA) - reconfigurable hardware

Slides created by: Professor Ian G. Harris Microcontrollers  Microcontrollers are the center of the system  Accept input data, process it, make decisions, cause output events  Hardware/Software Interface Write code, execute it on a microcontroller Microcontroller interacts with hardware components  Simple processors with special features to support interaction Barely enough functionality to perform its task Usually much slower than high-end (~20MHz) Includes timers, ADCs, configurable inputs/outputs, etc.

Slides created by: Professor Ian G. Harris Microchip PIC16F684  14 pins – power, ground, 12 I/O  Dual Inline Package (DIP), fits into breadboards  4MHz default clock rate, 20MHz max  Timers, ADC, Analog comparator Image taken from PIC16F684 Datasheet, Microchip Technology Inc.

Slides created by: Professor Ian G. Harris PICKIT 1 Flash Starter Kit Image taken from PICKIT 1 Flash Starter Kit User's Guide, Microchip Technology Inc.  Comes with a PIC16F684  Allows programming via USB cable  Includes 8 LEDs, pushbutton, trim pot, expansion header

Slides created by: Professor Ian G. Harris Why C for Embedded Systems?  Easier to use than Assembly language  Allows more control than higher-level languages (Java, Python, etc. C examplePython example int a, b, c;a = b + c a = b + c;  How much memory is used in each example?

Slides created by: Professor Ian G. Harris Assembly is Important Too  Assembly gives almost perfect timing control ~1 clock per instruction in assembly Performance of C depends on the compiler optimizations for (i=0; i<10; i++) { RA0 = 1; RA0 = 0; } RA0 is low for a long time RA0  Some functions cannot be accessed from C (sleep in PIC)