Presented by:IQBAL HUSSAIN ELECTRONICS&COMMUNICATI0N Final year.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
The 8051 Microcontroller and Embedded Systems
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
Systems Software.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
Topic 1: Introduction to Computers and Programming
Railway Foundation Electronic, Electrical and Processor Engineering.
ASPPRATECH.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Introduction to Robotics Principles of Robotics. What is a robot? The word robot comes from the Czech word for forced labor, or serf. It was introduced.
Computer Organization & Assembly Language
INTRODUCTION TO MICROPROCESSORS
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
CPS120: Introduction to Computer Science Introduction to Computers.
Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
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.
 Introduction to Micro processor Introduction to Micro processor  Microprocessor instruction and opcodes Microprocessor instruction and opcodes  Mnemonics.
Introduction to Microprocessors
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
MICROPROCESSOR FUNCTION Technician Series Created Mar 2015 gmail.com.
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
Stepper motor. Stepper Motor Interfacing Stepper motor is a widely used device that translates electrical pulses into mechanical movement. Stepper motor.
Presented by Sadhish Prabhu
Department of Electronic & Electrical Engineering Introduction to microcontrollers A microcontroller is a small computer on a single integrated circuit.
8086/8088 Instruction Set, Machine Codes and Addressing Modes.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 EKT 225 MICROCONTROLLER I CHAPTER ASSEMBLY LANGUAGE PROGRAMMING.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 1 An Overview of Computers and Programming Languages.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
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.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
Unit Microprocessor.
OPERATING SYSTEM CONCEPT AND PRACTISE
Embedded Microcontroller Systems
The 8051 Microcontroller architecture
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
Chapter 1: An Overview of Computers and Programming Languages
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
PC Mouse operated Electrical Load Control Using VB Application
UNIT – Microcontroller.
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
The 8051 Microcontroller and Embedded Systems
INTRODUCTION TO MICROPROCESSORS
INTRODUCTION TO MICROPROCESSORS
CS703 - Advanced Operating Systems
INTRODUCTION TO MICROPROCESSORS
Introduction to Microprocessors and Microcontrollers
Number Representations and Basic Processor Architecture
Computers: Hardware and Software
Operating Systems Chapter 5: Input/Output Management
Introducing the PIC Mid-Range Family and the 16F84A
Unit – Microcontroller Tutorial Class - 2 ANITS College
Overview of Computer Architecture and Organization
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Presentation transcript:

Presented by:IQBAL HUSSAIN ELECTRONICS&COMMUNICATI0N Final year

 WHAT IS AN EMBEDDED SYSTEM?  Block Diagram of an Embedded System.  WHAT’S A MICROCONTROLLER?  INTERRUPTS  ADDRESSING MODES.  INTRODUCTION 8051 ASSEMBLY PROGRAMMING  INTERFACING OF STEPPER MOTOR BY USING 8051  APPLICATI0N OF EMBEDDED SYSTEM

“ An embedded system can be defined as those control systems which are designed either by microprocessor or microcontroller for a specific tasks. ” OR “ An embedded system is some combination of computer hardware & software, either fixed in capability or programmable, that is specifically designed for a particular kind of application device. ”

 A microcontroller is a computer-on-a-chip, or, a single-chip computer. Micro suggests That the device is small, and controller tells that the device might be used to control objects, processes, or events. Another term to describe a microcontroller is embedded controller, because the microcontroller and its support circuits are often built into, or embedded in, the devices they control.

The 8051 is the first microcontroller of the MCS-51 family introduced by Intel Corporation at the end of the 1970’s. The 8051 architecture contains the following: o 4K Bytes ROM o 128 Bytes RAM o two timer/counters (16 bit) o A serial port o 32 input/output port o Interrupt controller o 16 bit program counter(PC) and data pointer(DPTR) o 2 external and 3 internal interrupt sources Oscillator and clock circuits o 8 bit program status word(PSW) o 8 bit CPU with registers A and B etc.

 Definition of ‘Interrupt :-“Event that disrupts the normal execution of a program and causes the execution of special instructions”. types of interrupt hardware software (RST0,….RST7) (TRAP,RST7.5,6.5,5.5,INTR) VECTORED NONVECTORED

An "addressing mode" refers to how you are addressing a given memory location. In summary, the addressing modes are as follows....  Immediate Addressing  Register Addressing  Direct Addressing  Indirect Addressing

It was time that hardware-oriented to the core made compromise if they wanted to stay “in the game”. Namely, unlike other circuits which only need to be connected to other components and powered in order to be of any use, microcontrollers require to be programmed as well. Fortunately, they still didn't progress so far in their evolution, so that all microcontroller families “understand” only one language - machine language. That's a good thing. The bad one is that, even primitive, this language of zeros and ones can only be understood by microcontrollers and some of the experts working on its development. In order to bridge this gap between machine and humans, the first high-level programming language called Assembly language was created. The main problem of remembering codes recognized as instructions by electronics was solved therefore, but another one, equally complicated to both us and “them”(microcontrollers) arose. This problem was also easily solved by means of the program for a PC called assembler and a simple device called programmer. This program enables the PC to receive commands in the form of abbreviations and convert them unerringly into so called “executable file”. The moment of compiling a program into machine language is crucial as this file, called HEX file, represents a series of binary numbers understandable to microcontrollers only. The program written in assembly language cannot be executed practically unless this file is loaded into the microcontroller memory. This is the moment when the last link in the chain - the programmer - appears on the scene. It is a small device connected to a PC via some of the ports and has a socket for placing chip in.

A EDITOR PROGRAM ASSEMBLER PROGRAM LINKER PROGRAM OH PROGRAM Myfile.asm Myfile.obj Other obj file Myfile.lst Myfile.hex ABSOLUTE FILE MS-DOS,NOTEPAD

{Label :} INSTRUCTION {; comments} MNEMONICS OPERANDS DESTINATION SOURCE

 A stepper motor is a widely used device that translates electrical pulses into mechanical movement  The stepper motor is used for position control in applications such as disk drivers, dot matrix printers, and robotics, etc.  Every stepper motor has a permanent magnet rotor (also called the shaft) surrounded by a stator.  The most common stepper motors have four stator windings that are paired with a center-tapped common.  This type of stepper motor is commonly referred to as a four-phase stepper motor  The center tap allows a change of current direction in each of two coils when a winding is grounded, thereby resulting in a polarity change of the stator.  The stepper motor discussed here has a total of 6 leads, 4 leads representing the four stator windings,2 commons for the center tapped leads.  As the sequence of power is applied to each stator winding, the rotor will rotate.

PRODUCT: RIO 800 MP3 PLAYER. 1.AUTOMATIC CONTROLLING OF CARS 3.Product: NASA'sMars SojournerRover.4.Product: Sony AiboERS-110 Robotic Dog.

.

.